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

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -