Hi,
I'm writing tutorials in CKEditor and switch between WYSIWYG and source code view a lot. As many users point out, source code (java) tend to get messy and broken when switching back from source view to regular view.
I'm just wondering: Since I'm pasting my java code inside the <pre></pre> tag, is there any SIMPLE(!) way to tell the CKEditor to stop applying any auto formatting inside this tag? Maybe some sort of regex to put into the config.js file?
Any help is highly appreciated!
Thx
I'm writing tutorials in CKEditor and switch between WYSIWYG and source code view a lot. As many users point out, source code (java) tend to get messy and broken when switching back from source view to regular view.
I'm just wondering: Since I'm pasting my java code inside the <pre></pre> tag, is there any SIMPLE(!) way to tell the CKEditor to stop applying any auto formatting inside this tag? Maybe some sort of regex to put into the config.js file?
Any help is highly appreciated!
Thx