What is @ckeditor/ckeditor5-special-characters?
@ckeditor/ckeditor5-special-characters is a plugin for CKEditor 5 that allows users to insert special characters into their content. This can be particularly useful for adding symbols, mathematical characters, and other non-standard text elements that are not easily accessible from a standard keyboard.
What are @ckeditor/ckeditor5-special-characters's main functionalities?
Inserting Special Characters
This feature allows users to insert special characters into their content. The code sample demonstrates how to add the SpecialCharacters plugin to a CKEditor 5 instance and include it in the toolbar.
ClassicEditor.create(document.querySelector('#editor'), { extraPlugins: [SpecialCharacters], toolbar: ['specialCharacters'] })
Customizing Special Characters
This feature allows users to customize the special characters available in the editor. The code sample shows how to define a custom category of special characters (in this case, arrows) and include it in the editor configuration.
ClassicEditor.create(document.querySelector('#editor'), { extraPlugins: [SpecialCharacters], toolbar: ['specialCharacters'], specialCharacters: { categories: [ { name: 'Arrows', characters: [ '→', '←', '↑', '↓' ] } ] } })
Other packages similar to @ckeditor/ckeditor5-special-characters
quill
Quill is a modern WYSIWYG editor built for compatibility and extensibility. It offers a rich API for customizing the editor, including the ability to add special characters. Compared to @ckeditor/ckeditor5-special-characters, Quill provides a more general-purpose editor with a broader range of customization options.
tinymce
TinyMCE is a popular rich text editor that provides a wide range of features, including the ability to insert special characters. It offers a plugin system similar to CKEditor, allowing users to extend its functionality. TinyMCE is comparable to @ckeditor/ckeditor5-special-characters in terms of its ability to handle special characters, but it also includes many other advanced editing features.
draft-js
Draft.js is a JavaScript rich text editor framework, built for React. It allows for extensive customization and control over the editor's content and behavior. While it does not have a built-in special characters plugin, developers can create custom solutions to handle special characters. Draft.js offers more flexibility and control compared to @ckeditor/ckeditor5-special-characters, but requires more effort to implement similar functionality.
CKEditor 5 special characters feature

This package implements the special characters feature for CKEditor 5.
Installation
This plugin is part of the ckeditor5
package. Install the whole package to use it.
npm install ckeditor5
Create free account
If you want to check full CKEditor 5 capabilities, sign up for a free non-commitment 14-day trial.
Demo
Check out the demo in the special character feature guide.
Documentation
See the @ckeditor/ckeditor5-special-characters
package page as well as the special characters feature guide in CKEditor 5 documentation.
License
Licensed under a dual-license model, this software is available under:
For more information, see: https://ckeditor.com/legal/ckeditor-licensing-options.