I tryed installing tinyMCE and got NO errors installing it.
I selected TinyMCE in config.
Tryed editing a page but no edito, only plane code...
no errors nothing just plane code in a textfield
in the page source i searched for this content field to see what the code was.:
<!-- Content -->
<div class="sectionHeader"><img src='media/images/misc/dot.gif' alt="." /> Document content</div><div class="sectionBody">
<div style="width:100%"><textarea id="ta" name="ta" style="width:100%; height: 400px;" onChange="documentDirty=true;"></textarea> </div>
</div>
then I opent a older version of Mod-X running htmlarea and TinyMCE and looked again at the same part:
<!-- Content -->
<div class="sectionHeader"><img src='media/images/misc/dot.gif' alt="." /> Document content</div><div class="sectionBody">
<!-- tinyMCE -->
<textarea id="ta" name="ta" style="width:100%; height: 400px;" onChange="documentDirty=true;"><p /></textarea>
<script language="javascript" type="text/javascript" src="media/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
theme : "advanced",
mode : "exact",
elements : "ta",
debug : false
});
</script>
<!-- /tinyMCE -->
</div>
See the difference?
What part of the plugin puts the missing part in the page?
at the bottom of the first example (Tiny NOT working I fount this:
<script language="javascript" type="text/javascript" src="//assets/plugins/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
theme : 'default',
plugins : "table,advhr,advimage,advlink",
theme_advanced_buttons1_add_before : "save,separator",
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor",
theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
theme_advanced_buttons3_add_before: "tablecontrols,separator",
theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
plugin_insertdate_dateFormat : "%Y-%m-%d",
plugin_insertdate_timeFormat : "%H:%M:%S",
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
mode : "exact",
elements : 'ta',
onchange_callback : "tvOnTinyMCEChangeCallBack"
});
function tvOnTinyMCEChangeCallBack(i){
i.oldTargetElement.onchange();
}
</script>
Should that part not be placed around the content field like example 2 (WORKING)
Greets Dimmy