Forums/Enterprise TinyMCE/Enterprise TinyMCE Knowledge Base

TinyMCE is configured but doesn't Load

Brett Henderson
posted this on May 18, 2011 10:54 PM

You've installed the TinyMCE package on your server, configured the editor but the it still doesn't appear. What's Wrong?

The most common cause of the editor not appearing (other than specifying the incorrect location of the tinyMCE.js) is the inclusion of a plugin that either doesn't exist, or has an error.

Many people start with the following configuration from the TinyMCE demo site

tinyMCE.init({
        // General options
        mode : "textareas",
        theme : "advanced",
        plugins : "safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager,filemanager",

         // Theme options
         theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect",
        theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
        theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resizing : true
});

The problem with this that two of the plugins included (imagemanager and filemanager) are not part of the TinyMCE installation as they are both commercial plugins. Removing them from the plugins list will see TinyMCE load successfully

 

Comments

User photo
Kashyap Uppuluri

Hey Brett,

I did use all those Plugins Tinymce has provided. However, insertdatetime, iespell and print plugins are not working. They dont come up in the editor. Do you have any idea on this?

July 26, 2012 12:24 PM