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

Can not disable WYSIWYG-editor of new areas #23

Open
gfobe opened this issue Mar 15, 2016 · 3 comments
Open

Can not disable WYSIWYG-editor of new areas #23

gfobe opened this issue Mar 15, 2016 · 3 comments

Comments

@gfobe
Copy link
Contributor

gfobe commented Mar 15, 2016

When I'm in the EasyTemplate content of a CMS page and add a new template having the WYSIWYG editor, I'm not able to disable the editor with Show/Hide editor. It activates again automatically. If I try this on a saved area, all works fine.

Magento 1.9.2.4 @ Firefox 44 Win7/64 & PHP5.6.11

@timmeyy23
Copy link

I could confirm this bug.

@gfobe
Copy link
Contributor Author

gfobe commented Jul 6, 2017

I investigated this issue, but with no solution.

When I press the toggle button, tinyMCE loads adds some JavaScripts to the header (You can see it, in Chrome Dev tools if you add a DOM breakpoint to changes of ). Here he will load some file /js/tiny_mce/plugins/magentowidget/editor_plugin.js because tinyMCEs baseURL is /js/tiny_mce .But the correct location for this plugin is /js/mage/adminhtml/wysiwyg/tiny_mce/plugins/magentowidget/editor_plugin.js as you can see it cms page edit. Something is not working correctly with the AddOnManager of tinyMCE or with the tinyMCE-configuration. But in the configuration out of Easytemplate PHP the paths are correct.

@gfobe
Copy link
Contributor Author

gfobe commented Jul 18, 2017

Little workaround: copy /js/mage/adminhtml/wysiwyg/tiny_mce/plugins/magentowidget/editor_plugin.js to js/tiny_mce/plugins/magentowidget/editor_plugin.js

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