Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

@ckeditor/ckeditor5-special-characters

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-special-characters

Special characters feature for CKEditor 5.


Version published
Maintainers
1
Created

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

FAQs

Package last updated on 10 Dec 2024

Did you know?

Socket

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.

Install

Related posts