This is a test

9:28 pm in Uncategorized by siteadmin

yes, the idea is the same but the declaration is different :

 


A ) to use editor_selector option :

on your header :

tinyMCE.init({
    mode : “textareas”,
        editor_selector : “mceEditor”,
   theme : “advanced”,
    theme_advanced_toolbar_location : “top”,
        theme_advanced_statusbar_location : “bottom”,
        theme_advanced_resizing : true
});

and on the page body :

<textarea id=”mytextarea1″ class=”mceEditor”></textarea>   <–this will be an editor
<textarea id=”mytextarea2″></textarea>                                        <– this will NOT be an editor
<textarea id=”sometextarea” class=”mceEditor”></textarea>  <– this will be an editor

B ) conversely, you may use the option editor_deselector like this :

tinyMCE.init({
    mode : “textareas”,
    editor_deselector : “NOTanEditor”,
theme : “advanced”,
    theme_advanced_toolbar_location : “top”,
    theme_advanced_statusbar_location : “bottom”,
    theme_advanced_resizing : true
});

and on the page bod