Skip to content
Cédric Belin edited this page Sep 26, 2018 · 11 revisions

This package supplies a single class, RichTextEditor, which is a custom build of the CKEditor's classic editor. It extends from the ClassicEditor class provided by this project, so its usage is basically the same.

<textarea id="editor" title="Rich text editor"></textarea>

<script>
  RichTextEditor
    .create(document.querySelector('#editor'))
    .catch(error => console.error(error));
</script>

This code snippet will turn the <textarea id="editor"> into a rich text editor.

Clone this wiki locally