@phudak/ckeditor5-build-inline-basic
v35.0.1
Published
Basic Inline CKEditor 5 build with Font style, Links, Emoji and Special Characters plugins.
Downloads
131
Maintainers
Readme
CKEditor 5 Basic Inline Build
Basic CKEditor5 inline build.
This build contains:
- My custom Emoji plugin
- Special Characters plugin
- Bold
- Italic
- Underline
- Strike
- Link
- Autolink
- Font color
- Remove Format
- Undo / Redo
- Emoji and Special Characters autoformat
Basic Editor build is useful for creating descriptions or article perex without media in one font type.
Setup
To install it, run:
npm i --save @phudak/ckeditor5-build-inline-basic
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-basic/build/ckeditor.js"></script>
Call the editor
<script>
BasicInlineEditor.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.