Hello all,
Ive managed to create an instance of ckeditor on my local file system i.e file:///C:/Users/Fergal/Desktop/Project/index.html
The problem is though, once i create my code i want to save it and see what the rendered html output will look like ..i.e some kind of a save or submit button.. Can anyone explain how i go about doing this? Do i need to write a special script for this?
Thanks in advance
Ive managed to create an instance of ckeditor on my local file system i.e file:///C:/Users/Fergal/Desktop/Project/index.html
The problem is though, once i create my code i want to save it and see what the rendered html output will look like ..i.e some kind of a save or submit button.. Can anyone explain how i go about doing this? Do i need to write a special script for this?
Thanks in advance
Re: Run ckeditor locally
If you want to see the html that ckeditor produces, you can just put the data in a different textarea..
make a button that call's a js method.
<textarea id=editor>Your ckeditor</textarea>
<input type=button onclick=output() />
<textarea id=html></textarea>
<script>
function output() {
var output = CKEditor.instances.editor.getData();
document.getelementbyid('html').value = output;
}
</script>
If that was what you meant?