Skip to content

Rich text editor

Used to content editor based Tiptap.js

Import

js
import { MpRichTextEditor, MpRTEStyleProvider } from '@mekari/pixel3'

Playground

API

MpRichTextEditor

Props
Events
NameTypeDefault
id
Id of rich text editor.
string -
value
Value of rich text editor.
string -
placeholder
Placeholder of rich text editor.
string -
options
Options of rich text editor.
heading | bold | italic | underline | strike | blockquote | bulletList | orderedList | align | undo | redo | clear -
is-disabled
If true, rich text editor will be disabled.
booleanfalse
is-invalid
If true, rich text editor is marked as invalid.
booleanfalse
has-border
If true, rich text editor border will be displayed.
booleanfalse

MpRTEStyleProvider

Props
NameTypeDefault
id
Id of RTE style provider.
string -