Looks like maybe you're firing up the editor from PHP and it's not doing some substitution work for '$contenido'.
The assignment you have for oFCKeditormod.Value below the editor Create() call should work - if you add some quotes around the text - but it must be placed before the Create() if you want it to work. If you're using the PHP creation methods, someone else might be able to help you put everything in the right place - I use straight JavaScript to create the editor for my own use...
If you cannot assign the text until after the editor is created, then you must use the FCKeditor_OnComplete() method described in the API documentation in order to load your text, or create some kind of toolbar plugin load button that calls oFCKeditormod.SetHTML().
Hey guys, I have problem to loading text to fckeditor when i want to edit saved script that created with fckeditor. Of course i used it in asp page.if you know how can i load text in it please help me too. thanks.
Re: Error loading contents
The assignment you have for oFCKeditormod.Value below the editor Create() call should work - if you add some quotes around the text - but it must be placed before the Create() if you want it to work. If you're using the PHP creation methods, someone else might be able to help you put everything in the right place - I use straight JavaScript to create the editor for my own use...
If you cannot assign the text until after the editor is created, then you must use the FCKeditor_OnComplete() method described in the API documentation in order to load your text, or create some kind of toolbar plugin load button that calls oFCKeditormod.SetHTML().
Re: Error loading contents
I tried it but it didn't work. It says the same error. I tried using insertHTML but it didn't work too.
Re: Error loading contents
I have problem to loading text to fckeditor when i want to edit saved script that created with fckeditor.
Of course i used it in asp page.if you know how can i load text in it please help me too.
thanks.
Re: Error loading contents