Open ecuanaso opened 8 years ago
I started a PR with the update to version 2:
Hey, macrozone. I was able to upgrade to v2, there's still some bugs I have to iron out though. Right now, I'm working on integrating my server to to show images from the images I upload to the filesystem show on the image-manager. The image-manager right now shows images from the froala server -> http://s25.postimg.org/enn1ncnpb/Screen_Shot_2015_10_05_at_8_56_18_AM.png
So I'm in the process of migrating orionjs:froala to Froala V2. I've made some progress but I'm stuck in some parts. Inside the froala.js file https://github.com/orionjs/orion/blob/master/packages/froala/froala.js
I changed the initialization of the editor from editable to froalaEditor. https://gist.github.com/ecuanaso/f809adbe0c6a1a63903f
This change helped me show the Froala v2 in my orion backend panel-> http://postimg.org/image/qo1yob18h/
However when I try to write content and or upload images inside the froala editor, I receive an error 'Editor should be initialized before calling the html.get method.'
http://s25.postimg.org/enn1ncnpb/Screen_Shot_2015_10_05_at_8_56_18_AM.png
and here's the link to the tutorial on how to server side integration, however it's in php. https://www.froala.com/wysiwyg-editor/v2.0/docs/server-integrations/php-image-manager
I'm trying to find the material way to connect the image manager with meteor.