New to Telerik UI for Blazor? Download Free 30-day trial
Editor - ProseMirror Plugins
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
The example uses the following input rules:
- Converts "- " or "+ " to a bullet list.
- Converts "1. " or another number to an ordered list.
- Converts "# ", "## ", "### ", "#### ", "##### ", "###### " into heading 1, 2, 3, 4, 5, and 6, according to the "#" characters count.
- Converts double dashes to an emdash ("—").
- Converts three dots to an ellipsis ("...")character.
- Prosemirror-plugins.razor
Loading the demo source code...please wait.
Description
The Telerik Blazor Editor internally uses the ProseMirror engine. ProseMirror supports a wide variety of features presented as plugins.
You can modify the ProseMirror plugins as needed and create custom plugins for your desired functionalities.The current demo shows how you can use and configure the InputRules plugin to specify a set of rules that will transform the typed text into specific HTML elements.
This Blazor Editor ProseMirror Plugins example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.