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

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -