Currently, I am exploring methods to incorporate an external script into tinymce. The specific script in question is p7EHCscript which is designed to ensure two divs have equal heights based on the larger div's height.
I aim to integrate the p7EHC script within the tinymce editor so that it mirrors the appearance of the final page being developed.
The current configuration with tinymce includes:
tinyMCE.init({
// General options
mode : "textareas",
editor_selector : "mceEditor",
editor_deselector : "mceNoEditor",
remove_script_host : false,
convert_urls : false,
content_css : 'http://localhost/tmtphotography/css/mce.css',
width: "1030",
height : "480",
theme : "advanced",
plugins : "safari, 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,preview",
file_browser_callback : "filebrowser",
// Theme options
theme_advanced_buttons1 : "save,preview,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_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,spellchecker,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,blockquote,pagebreak,|,insertfile,insertimage,imgae,media,link",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
theme_advanced_font_sizes : "10px,12px,13px,14px,16px,24px",
font_size_style_values : "xx-small,x-small,12pt,medium,large,x-large,xx-large",
// Skin options
skin : "o2k7",
// Example content CSS (should be your site CSS)
});
`
Your assistance in guiding me through this process would be greatly valued.