Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I upgrade orionjs:froala to froala v2? #349

Open
ecuanaso opened this issue Nov 9, 2015 · 2 comments
Open

How can I upgrade orionjs:froala to froala v2? #349

ecuanaso opened this issue Nov 9, 2015 · 2 comments

Comments

@ecuanaso
Copy link

ecuanaso commented Nov 9, 2015

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.'

  1. So my question, what else inside the orion:froala package do I have to change to make it work with froala v2?
  2. When I get this up and running how do I configure the image_manager to receive images from my server? If you're not sure what the image_manager is here's a screenshot.

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.

@macrozone
Copy link

I started a PR with the update to version 2:

#355

@ecuanaso
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants