
BillG
User
Oct 15, 2009, 9:51 AM
Post #3 of 11
(6844 views)
Shortcut
|
|
Re: [Dave] ASP Code Block in Body Copy?
[In reply to]
|
Can't Post
|
|
See attached zip. Rename tiny_mce_bg.js to tiny_mce.js and substitute for the existing file in the AM /wysiwyg server directory I've changed how you initially configured tinyMCE (see the setting changes in the line that begins with t.settings). The changes are focused on creating the shortest and most efficient HTML, which includes attempting to disable the useCSS option of execCommand. I am more concerened with backwards compatibility and efficient HTML than W3C compliance. Actually, I am OBSESSED with efficient HTML... This is my reference for most of the configuration changes: http://wiki.moxiecode.com/index.php/TinyMCE:Configuration It's important to know that I'm not strong on JavaScript. I did the best I could, but it appears that due to something I don't understand, the text color button as displayed on the editor is a little skewed in IE8. According to AM2 documentation, I have AM2 properly configured to allow for code blocks in settings.dat.cgi (see my OP), but AM isn't reading the configuration file correctly (but I'm not strong on Perl, either... HTML and ASP are my strengths). After a long and tedious search, I found that the AM codeblock removal routine is in the AM file ReadForm.pm I can insert ASP code blocks from the tinyMCE HTML view. It will save the code block, but AM is ignoring the setting in settings.dat.cgi. Thanks for your support!
(This post was edited by BillG on Oct 15, 2009, 9:52 AM)
|