Example
Code
- remark - sdk >= 4.7.0
Props
| Name | Type | Description | Default |
|---|---|---|---|
id | string | ||
read-only | boolean | The editor is readOnly or not | false |
placeholder | string | The editor placeholder | |
plugins | Array<{ name: string, config: Record<string, Any> }> | the plugin setting | Â |
Events
| Name | Description |
|---|---|
bindready | Triggered when editor initialization is complete |
bindinput | Triggered when editor content changes , |
bindblur | Triggered when editor blur |
bindfocus | Triggered when editor focus |
bindstatuschange | adopt Context Method to change a style in the editor, returning a style already set for the selection |
bindselectionupdate | when the editor selection update |
bindpaste | when paste content from clipboard |
Was this page helpful?
Last modified on