It's a step up from TinyMCE, but there's a problem with CKEditor that I'm having: it destroys certain formatting. I'm not talking about adding paragraph-tags left and right, Take
this becomes:
The problem here is that it removes line breaks, which are important in textarea elements. Is there a way to stop it from doing this?
I tried
However, this hides textareas from being displayed, which is undesirable.
edit: Here's the thing: CKEdit supports <pre>, so adding <textarea> support should be a triviality. Is there a bugtracker somewhere? I'd be willing to submit my own patch.
<textarea> Hey peter, what's happening? Yeah... </textarea>
this becomes:
<p> <textarea>Hey peter, what's happening? Yeah...</textarea></p>
The problem here is that it removes line breaks, which are important in textarea elements. Is there a way to stop it from doing this?
I tried
config.protectedSource.push( /<textarea>[\s\S]*?<\/textarea>/g ); // textareas
However, this hides textareas from being displayed, which is undesirable.
edit: Here's the thing: CKEdit supports <pre>, so adding <textarea> support should be a triviality. Is there a bugtracker somewhere? I'd be willing to submit my own patch.

Re: textareas in CKEditor
Re: textareas in CKEditor