I added my TinyMCE insert locations to the Wiki. Thanks for the question .
I’m guessing that the JS doesn’t see the textarea because the textarea is drawn first. If you put the JS calls in the Editor.php file as mentioned above, it will work.
Here’s what my Editor.php file looks like:
... public function getElementHtml() { if( $this->getWysiwyg() === true ) { $element = ($this->getState() == 'html') ? '' : $this->getHtmlId();
the method you describe works just as well as when I put the code in the footer.phtml. The textarea is replaced (hidden) in the source, and the content is there, but is not being picked up by Tiny :(
I’ve implemented TinyMCE in the past on my own, and it’s usually always just worked by pointing it at the right element. This is le strange behavior indeed.
Page 2 of the thread here, at the bottom, I posted a screen shot of the CMS Page page, which shows a text area with the TinyMCE wrapper.
it is not rendering, inside itself, the contents of the textarea it is targetting.
I can’t for some reason get my Firebug screen to ‘PrtScn’, so I’ll have to drum up some screen grabber utility to snap what I’m seeing, but essentially the page draws, and FireBug tells me there’s an error:
this.getDoc() has no properties tiny_mce.js (line 1)
and this is what firebug tells me when I right-click / Inspect Elemnt
(i cut away some of the superfluous tr’s and td’s
Yeah I still have the problem too.
I’m wondering if there are some paths within tiny_mce that need updating. We have to jigger the ‘src’ of the tiny_mce.js call, so maybe it breaks paths inside...? i haven’t taken the time to look, and really it shouldn’t require such a change since other people seem to not have the problem…
i hope this can be resolved. Maybe I’m missing one simple step… meanwhile, I feel like this guy:
EDIT: Ok I installed FCKeditor instead and I’m happy.
PLUS I can upload files through it wonderfully after setting up the fckeditor config file
Hi Sean,
I tried to follow your directions provided. Im pretty sure i did all 4 steps however i still get the same html box that showed up previously. By any chance did you also do this?