Hi all,
I'd like to insert some code snippet while users are in source view mode. I wrote a simple plugin to do this (using FCK.InsertHtml) but it works only in WYSIWYG mode... Is there a special way to insert a piece of html in source view mode?
Thanks in advance,
Joe
I'd like to insert some code snippet while users are in source view mode. I wrote a simple plugin to do this (using FCK.InsertHtml) but it works only in WYSIWYG mode... Is there a special way to insert a piece of html in source view mode?
Thanks in advance,
Joe
Re: Inser custom code in source view mode
Re: Inser custom code in source view mode
I've also try FCK.EditingArea.Document.selection.createRange().text (using Firefox) without success, it returns always an empty string.
Joe