CKEditor Sample — Replace Textarea Elements Using JavaScript Code

This editor is created on an empty textarea.

This editor is created on a textarea that has some text content.