@likhaeditor/plugins
v0.0.2
Published
Official plugins for Likha editor
Downloads
4
Maintainers
Readme
@likhaeditor/plugins
Official plugins for Likha editor.
Installation
npm install @likhaeditor/plugins @likhaeditor/coreUsage
import { Editor } from '@likhaeditor/core';
import { BulletListPlugin, OrderedListPlugin } from '@likhaeditor/plugins';
const editor = new Editor({
element: document.getElementById('editor'),
plugins: [
new BulletListPlugin(),
new OrderedListPlugin()
]
});Available Plugins
- Lists: BulletListPlugin, OrderedListPlugin
- Text Formatting: StrikethroughPlugin, SubscriptPlugin, SuperscriptPlugin
- Blocks: BlockquotePlugin, CodeBlockPlugin
- Links: LinkPlugin
- Media: ImagePlugin, TablePlugin
- Colors: TextColorPlugin, HighlightPlugin
- Alignment: TextAlignmentPlugin
- Utilities: ClearFormattingPlugin, PlaceholderPlugin, CharacterCountPlugin
Documentation
Full documentation: https://likhaeditor.netlify.app/
API Reference: https://likhaeditor.netlify.app/api/plugins
License
MIT © Shiv Singh
