i can only use CKEDITOR.instances.editor1.setData(value) to change the whole editor value.
But i want use document.getElementById to change some id's value in the editor, it fails. Than, how can i do this. Thanks.
But i want use document.getElementById to change some id's value in the editor, it fails. Than, how can i do this. Thanks.
Re: how can i change some value in a editor
For example, the content in the editor is <p id='temp'> </p>;
then i want to use the document.getElementById('temp').innerHTML to set the value,but it fails, how can i do this.