I am loading in content to the editor but it seems to be removing all of the line breaks. For a while I had it going by adding
but it was still tossing a javascript error. I have two editors on this one page and I use the following code to call them:
Now, I had added the linebreakchars code just above the skin line and it didn't like that. Am hoping someone can point me in the right direction to make this work.
writer.lineBreakChars = '\n';
but it was still tossing a javascript error. I have two editors on this one page and I use the following code to call them:
<script type="text/javascript"> CKEDITOR.replace( 'emailBody', { extraPlugins : 'uicolor', skin : 'office2003', toolbar : [ ['Source','-','Bold','Italic','Underline','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','Link','Unlink','-','Table','Rule','Smiley','SpecialChar' ], '/', ['FontName','FontSize','TextColor','BGColor'] ] }); </script>
Now, I had added the linebreakchars code just above the skin line and it didn't like that. Am hoping someone can point me in the right direction to make this work.