-
Notifications
You must be signed in to change notification settings - Fork 165
Built in plugins
Go back to Home
In RoosterJs 6.19.0, there are 6 built-in plugins. 3 of them are by default loaded by createEditor() API. They are:
Hyperlink plugin provides 3 functionalities:
- When type or paste a string looks like a hyperlink, it will automatically change this text in to hyperlink (
auto link
). - Since click on a hyperlink in editor will not bring user to that linked page, this plugin can help show a tooltip on hyperlink with specified text format.
- When Ctrl+Click on a hyperlink, open the link in target window
This plugin handles paste event, retrieve pasted content and insert it into content. It supports pasting both HTML content and inline image.
This plugin will handle common edit operation which is not provided by web-browser. For example, when press Tab key in a list, with this plugin editor will indent current list item, while the default browser behavior is to focus to next element outside editor.
And the plugins below are not loaded by createEditor() by default. If you want to include them in your project, you can load them menually by either createEditor() API or the constructor of Editor class:
A plugin to support watermark text (a placeholder) when editor is empty.
A plugin to support the functionality of resizing an inline image inside editor.
A plugin to support the functionality of resizing a table inside editor.
To explore more plugins such as format bar (aka Ribbon), emoji, ..., please check out roosterjs-react project and it provides some UI plugins based on react.