froala / wysiwyg-editor

The next generation Javascript WYSIWYG HTML Editor.
https://www.froala.com/wysiwyg-editor
Other
5.3k stars 675 forks source link

Issue with grouped toolbar buttons in Froala 4.0.1 #4269

Open rodricksryan opened 3 years ago

rodricksryan commented 3 years ago
Expected behavior.

Grouped toolbar buttons should work as seen in previous versions

Actual behavior.

Grouped toolbar buttons not working as seen in previous versions

Steps to reproduce the problem.

I was upgrading my Froala version to 4.0.1 to address some issues related to indentation. However, I come across some errors when my toolbar buttons are grouped. Froala editor doesn't work correctly too. I thought I made a mistake and looked at the examples on the website and found the error there too: Link: https://froala.com/wysiwyg-editor/examples/toolbar-buttons-2/

I get the same errors as on your website: Uncaught TypeError: Cannot read property 'refreshForToolbar' of undefined at C.Bootstrap.refresh (align.js?version=1.0.1:144) at Object._ [as refresh] (froala_editor.pkgd.min.js:7) at froalaeditor.pkgd.min.js:7 Uncaught TypeError: Cannot read property 'refresh' of undefined at C.Bootstrap.refresh (fullscreen.js?version=1.0.1:208) at Object. [as refresh] (froala_editor.pkgd.min.js:7) at froala_editor.pkgd.min.js:7

Can you please let me know what I need to do to address this issue?

Editor version.

4.0.1

OS.

NA

Browser.

Chrome/Edge/IE/FireFox

yellow1912 commented 3 years ago

I think it's related to this: https://github.com/froala/wysiwyg-editor/issues/4262

You may need to wait, I had to revert back to 3.x. No reply from them when they will fix this or update their documents.

MeghashreeAP commented 2 years ago

Thanks for your feedback. This issue is not reproducible or have been found to be fixed on the latest Froala release v4.0.8. Can you please upgrade and check?