I'm running SS2.4rc1 and DOM rev 394, but for some reason all my WYSIWYG buttons disappear in the SimpleTinyMCEField text box. I did some trouble shooting and found that if I change from this Director::set_environment_type('live'); in mysite/_config to Director::set_environment_type('dev'); they reappear. This doesn't make any sense to me, and I certainly don't want to leave my site in dev mode. Has anyone else had this issue? Any suggestions?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
DataObjectManager Module /
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba
Disappearing WYSIWYG buttons
Thanks for the link, it's nice to know that I'm not the only one having this issue. Unfortunately I haven't seen a fix yet. Let me know if anyone finds something. I'll post what I find, if I can fix it.
I just checked in a possible fix. Can you guys do some testing?
woot! That worked, thanks UC.
Met the same issue with Andrew about the SimpleTinyMCEField.
The new released DOM fixed the bug.
Great work. :D
Cheers unclecheese.
I too have met the same issue.
I'm using SS2.4.0 and DOM 403.
Is there a later version than DOM 403? What was the version number that worked?
I did some digging and discovered that this seems to be caused when javascript files are combined. This happens in live mode but not in dev mode hence the behaviour others have observed that setting Director::set_environment_type('dev') in _config.php resolves the problem.
Adding
Requirements::set_combined_files_enabled(false);
also 'cures' this and allows you to have the site in 'live' mode.
It would be nice to discover what it is about the combination of the javascript files that kills it but I'm out of time on this for now.
(SS 2.4.0 and DOM 403)