TinyMCE in BE 3.0 does not function

Topics: Controls
Aug 27, 2014 at 10:50 PM
The TinyMCE editor in BE 3.0 is not functioning properly. I edited the appSetting line in the web.config to the following:
<add key="BlogEngine.DefaultEditor" value="~/editors/tiny_mce_3_5_8/editor.cshtml" />
Upon launching the site and logging in, navigating to Content/Posts/Write new post gets you:
  • The title for the post
  • The "Attach a file", "Insert Video", and "File picker" buttons
  • The "Settings" button
  • The "Categories" box
  • The "Tags" box
  • The "Cancel", "Save", "Publish" buttons
There no place to enter the post content.

Likewise, when you navigate to Content/Pages/Add new page, you only get:
  • The title for the page
  • The "Attach a file", "Insert Video", and "File Picker" buttons
  • The "Settings" button
  • The "Cancel" and "Save" buttons
Using the default (summernote) editor does not have this issue.
Coordinator
Aug 28, 2014 at 3:39 AM
Looks like something in TinyMCE does not handled properly by optimization/minification process. If you set debug to "true", which disables optimization, editor will work.
<compilation debug="true" targetFramework="4.5">
But with optimization on (debug="false"), TinyMCE plugins do not load and editor won't show up. I'll check out latest TinyMCE version, if it does not have issues we can upgrade.
Aug 28, 2014 at 1:52 PM
Thanks, rtur! That worked. I'm off and running.
Oct 1, 2014 at 12:51 PM
Hope this helps.
I know i had my config set to use the TinyMCE (<add key="BlogEngine.DefaultEditor" value="~/editors/tiny_mce_3_5_8/editor.cshtml" />)
after the update 3.1 I got the same/similar error. and what i found was the actual editor was not there.
  • Folder ~/editors/tiny_mce_3_5_8/ was removed
  • Folder ~/editors/tinymce/ was added
Changed my Config Setting for editor to (<add key="BlogEngine.DefaultEditor" value="~/editors/tinymce/editor.cshtml")
Now my blog is back in working order.

NOTE
The tinyMCE version looks to be 4.x now and not the 3.5.8 version