Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@ckeditor/ckeditor5-special-characters
Advanced tools
Special characters feature for CKEditor 5.
@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.
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: [ '→', '←', '↑', '↓' ] } ] } })
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 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 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.
This package implements the special characters feature for CKEditor 5.
Check out the demo in the special character feature guide.
See the @ckeditor/ckeditor5-special-characters
package page as well as the special characters feature guide in CKEditor 5 documentation.
npm install ckeditor5
Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md
file or https://ckeditor.com/legal/ckeditor-oss-license.
FAQs
Special characters feature for CKEditor 5.
The npm package @ckeditor/ckeditor5-special-characters receives a total of 197,319 weekly downloads. As such, @ckeditor/ckeditor5-special-characters popularity was classified as popular.
We found that @ckeditor/ckeditor5-special-characters demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.