CKEDITOR 5 Simple Inline Build
Simple CKEditor5 inline simple build.
This build contains:
- My custom Emoji plugin
- Special Characters plugin
- Undo / Redo
- Emoji and Special Characters autoformat
- Autolink is disabled!
Simple Editor build is useful for creating titles, subtitles and simple descriptions without images and links in one font type.
Setup
To install it, run:
npm i --save @phudak/ckeditor5-build-inline-simple
Creating an editor using a CKEditor 5 build is very simple and can be described in two steps:
- Load the desired editor via the
<script>
tag. - Call the static
create()
method to create the editor.
In your HTML page add an element that CKEditor should replace:
<div id="editor"></div>
Load the editor build
<script src="... ckeditor5-build-inline-simple/build/ckeditor.js"></script>
Call the editor
<script>
SimpleInlineEditor.create( document.querySelector( '#editor' ) )
.then( editor => {
window.editor = editor;
} )
.catch( error => {
console.error( 'There was a problem initializing the editor.', error );
} );
</script>
CKEditor 5 Framework
CKEditor 5 Builds allow you to quickly and easily initialize one of the many types of editors in your application. At the same time, CKEditor 5 is also a framework for creating custom-made rich text editing solutions.
To find out how to start building your own editor from scratch go to CKEditor 5 Framework overview section of CKEditor 5 documentation.