Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-autoformat

Package Overview
Dependencies
Maintainers
0
Versions
617
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-autoformat

Autoformatting feature for CKEditor 5.


Version published
Weekly downloads
446K
increased by6.1%
Maintainers
0
Weekly downloads
 
Created

What is @ckeditor/ckeditor5-autoformat?

@ckeditor/ckeditor5-autoformat is a plugin for CKEditor 5 that allows for automatic formatting of text as you type. It provides a user-friendly way to apply formatting like bold, italic, and headings without needing to use toolbar buttons or keyboard shortcuts.

What are @ckeditor/ckeditor5-autoformat's main functionalities?

Bold Formatting

Automatically formats text to bold when surrounded by double asterisks (**bold**).

ClassicEditor.create(document.querySelector('#editor'), { plugins: [ Autoformat, Bold, Essentials, Paragraph ], toolbar: [ 'bold' ] });

Italic Formatting

Automatically formats text to italic when surrounded by single asterisks (*italic*).

ClassicEditor.create(document.querySelector('#editor'), { plugins: [ Autoformat, Italic, Essentials, Paragraph ], toolbar: [ 'italic' ] });

Heading Formatting

Automatically formats text to headings when prefixed with hash symbols (## Heading).

ClassicEditor.create(document.querySelector('#editor'), { plugins: [ Autoformat, Heading, Essentials, Paragraph ], toolbar: [ 'heading' ] });

Other packages similar to @ckeditor/ckeditor5-autoformat

Keywords

FAQs

Package last updated on 03 Sep 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc