- Powered by Domino 8.5.2 Domino Accelerator Pack
- Just serve your web pages faster
Lotus Triple Search DominoExperts + Blogs + R8 forum -> Script vault -> JavaScript


hakusekiPost date: 2007-10-08 11:54

I've also found tinyMCE a valuable RTF and I'm trying to understand the underlying architecture but its not that easy...

Imagine you have a CMS and want to give the author a picture of what they are typing, instantly by making a capture of the text in tinyMCE and present it in a div-tag somwhere on the page?

My efforts last night wasn't as good as I'd hoped for :-) so I'm kinda stuck right now.
I can't get the text from the editor. None of the functions provided by tinyMCE is useful, as I see it. I use tinyMCE.getContent() and I get the text but it is not correct. The last rows are not formatted, only plain...

Also I was having issues with prototypejs, MSIE 7 and tinyMCE last night. Everything worked as designed in FF but when running in IE, NOTHING worked Usually its the other way around...

Any experiences on that?

One thing I haven't tested is to do my design in clean database, from scratch. This one is example database...


Tomas NielsenPost date: 2007-10-08 22:01

Were you not looking into the FCKeditor? 

Anyway could it be that you are using an old tinyMCE version if it is interfering with prototype?

Most JavaScript editors do support the common JavaScript frameworks nowadays.

I did some searching and got a different example than the getContent you tried:

var html = tinyMCE.getInstanceById('myTextareaId').getDoc().body.innerHTML
Could that work?

hakusekiPost date: 2007-10-09 00:20

Typically, it was an old, OLD version of tinyMCE so instead of upgrading I reverted to the old way not using prototype and scriptac.


my bad

RSS feed
Subscribe to Forum

Share this page

Top posters
Tomas Nielsen212
Joacim Boive27
Fredrik Stöckel27
Niklas Waller13
Kenneth Haggman11
Bryan Kuhn10
Daniel Lehtihet9
Jonas Israelsson8