froala / wordpress-froala-wysiwyg

Wordpress plugin for Froala WYSIWYG HTML Editor.
https://www.froala.com/wysiwyg-editor
GNU General Public License v3.0
42 stars 26 forks source link

Causes problems on front-end #4

Open KTS915 opened 7 years ago

KTS915 commented 7 years ago

When activated, this plugin conflicts with other javascript on the site's front-end.

The browser console reports several problems, including TypeError: jQuery(...).froalaEditor is not a function, while the useful debugging WordPress plugin, Query Monitor, reports: Broken Dependencies | froala_editor | editor-init (missing) jquery

This is all on the front-end. There are no such problems on the admin (editing) pages.

gfirem commented 5 years ago

I face the same issue and solve it:

I'm not sure why the file edit-init.js is not in place.

@KTS915 take a look here to see when they was included. Look like the frontend script need and update. https://github.com/froala/wordpress-froala-wysiwyg/commit/9da4368f20477b14da4f316758d90cdb3a6a3647

@raduiacovete Would be possible you take a look and help us to see if my solutions is correct, please.

iradustefan commented 5 years ago

@gfirem Please contact support@froala.com, I am not anymore with the Froala team.