for some reason in 0.9.5 beta 5 (1745) when this plugin is enabled, any changes I make to modules are not saved. The syntax highlighting is very nice!
also, I changed line 25 from
ta.parentNode.innerHTML+= '<iframe onload="setCode();" style="border:none; margin:0; padding:0; width:100%; height:400px;" id="codepress" [b]src="/assets/plugins/codepress/codepress.html"[/b]></iframe><br />';
to
ta.parentNode.innerHTML+= '<iframe onload="setCode();" style="border:none; margin:0; padding:0; width:100%; height:400px;" id="codepress" [b]src="../assets/plugins/codepress/codepress.html"[/b]></iframe><br />';
to make the relative path work in the manager.
I also had to remove the <?php and ?> tags. I still can’t figure out the problem with saving. I will have to try to set some debugging output.
thanks for bringing this to MODx
-sD-
Dr. Scotty Delicious, Scientist.