Skip to content

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

@ecuanaso

Description

@ecuanaso

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions