start ckeditor in source mode so it doesn't format text -


is there simple way initialize ckeditor in source mode won't format content?

when saving code save in source mode , works great, keep editing code need track if saved in source mode , load in source mode make easier edit information.

i found answer. simple thankfully.

<script type="text/javascript">   ckeditor.replace( 'editor1' ).config.startupmode = 'source'; </script> 

Comments