![ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond](https://cdn.sanity.io/images/cgdhsj6q/production/ffe9b5b611f8f69c94d39083e217fbc83e3687c2-1024x1024.webp?w=400&fit=max&auto=format)
Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@ckeditor/ckeditor5-font
Advanced tools
@ckeditor/ckeditor5-font is a plugin for CKEditor 5 that provides font styling features. It allows users to change the font family, font size, and font color in the editor.
Font Family
This feature allows users to change the font family of the text. The code sample shows how to include the Font plugin and add the 'fontFamily' option to the toolbar.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [ Font, ... ], toolbar: [ 'fontFamily', ... ] });
Font Size
This feature allows users to change the font size of the text. The code sample shows how to include the Font plugin and add the 'fontSize' option to the toolbar.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [ Font, ... ], toolbar: [ 'fontSize', ... ] });
Font Color
This feature allows users to change the font color of the text. The code sample shows how to include the Font plugin and add the 'fontColor' option to the toolbar.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [ Font, ... ], toolbar: [ 'fontColor', ... ] });
Font Background Color
This feature allows users to change the background color of the text. The code sample shows how to include the Font plugin and add the 'fontBackgroundColor' option to the toolbar.
ClassicEditor.create(document.querySelector('#editor'), { plugins: [ Font, ... ], toolbar: [ 'fontBackgroundColor', ... ] });
Quill is a modern WYSIWYG editor built for compatibility and extensibility. It offers similar font styling features such as font family, size, and color. However, Quill is a standalone editor and not a plugin for CKEditor.
TinyMCE is a popular rich text editor that provides extensive font styling options similar to @ckeditor/ckeditor5-font. It includes features for changing font family, size, and color. TinyMCE is also a standalone editor and not a plugin for CKEditor.
Froala Editor is a lightweight WYSIWYG editor with a rich feature set, including font styling options like font family, size, and color. It is comparable to @ckeditor/ckeditor5-font but is a standalone editor rather than a CKEditor plugin.
This package implements support for the following CKEditor 5 features:
Check out the demo in the font feature guide.
See the @ckeditor/ckeditor5-font
package page 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
Font feature for CKEditor 5.
The npm package @ckeditor/ckeditor5-font receives a total of 269,741 weekly downloads. As such, @ckeditor/ckeditor5-font popularity was classified as popular.
We found that @ckeditor/ckeditor5-font demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.