diff --git a/src/views/editor/EditorDoc.vue b/src/views/editor/EditorDoc.vue index d74a1c9c0..cc32ffcad 100644 --- a/src/views/editor/EditorDoc.vue +++ b/src/views/editor/EditorDoc.vue @@ -8,7 +8,7 @@ import Editor from 'primevue/editor';
Two-way value binding is defined with v-model.
+A model can be bound using the standard v-model directive.
Name | -Type | -Default | -Description | -
---|---|---|---|
Name | +Type | +Default | +Description | +
value | -string | -null | -Value of the content. | -
placeholder | -string | -null | -Placeholder text to show when editor is empty. | -
readonly | -boolean | -false | -Whether to instantiate the editor to read-only mode. | -
formats | -string[] | -null | -Whitelist of formats to display, see here for available options. | -
editorStyle | -any | -null | -Inline style of the container. | -
value | +string | +null | +Value of the content. | +
placeholder | +string | +null | +Placeholder text to show when editor is empty. | +
readonly | +boolean | +false | +Whether to instantiate the editor to readonly mode. | +
formats | +string[] | +null | +Whitelist of formats to display, see here for available options. | +
editorStyle | +any | +null | +Inline style of the container. | +
Name | -Parameters | -Description | -
---|---|---|
Name | +Parameters | +Description | +
text-change | -event.delta: Representation of the change. - event.source: Source of change. Will be either "user" or "api". - event.htmlValue: Current value as html. - event.textValue: Current value as text. |
- Callback to invoke when text of editor changes. | -
input | -event: Current value as html. | -Callback to invoke on input event of input field. | -
text-change | +event.delta: Representation of the change. + event.source: Source of change. Will be either "user" or "api". + event.htmlValue: Current value as html. + event.textValue: Current value as text. |
+ Callback to invoke when text of editor changes. | +
input | +event: Current value as html. | +Callback to invoke when text of editor changes. | +
Name | -Element | -
---|---|
Name | +Element | +
p-editor-container | -Container element | -
p-editor-toolbar | -Toolbar of the editor | -
p-editor-content | -Editable area | -
p-editor-container | +Container element | +
p-editor-toolbar | +Toolbar of the editor | +
p-editor-content | +Editable area | +