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';

Getting Started

-

Two-way value binding is defined with v-model.

+

A model can be bound using the standard v-model directive.

<Editor v-model="value" editorStyle="height: 320px"/> @@ -31,44 +31,44 @@ import Editor from 'primevue/editor';
- - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefaultDescription
NameTypeDefaultDescription
valuestringnullValue of the content.
placeholderstringnullPlaceholder text to show when editor is empty.
readonlybooleanfalseWhether to instantiate the editor to read-only mode.
formatsstring[]nullWhitelist of formats to display, see here for available options.
editorStyleanynullInline style of the container.
valuestringnullValue of the content.
placeholderstringnullPlaceholder text to show when editor is empty.
readonlybooleanfalseWhether to instantiate the editor to readonly mode.
formatsstring[]nullWhitelist of formats to display, see here for available options.
editorStyleanynullInline style of the container.
@@ -77,26 +77,26 @@ import Editor from 'primevue/editor';
- - - - - + + + + + - - - - - - - - - - + + + + + + + + + +
NameParametersDescription
NameParametersDescription
text-changeevent.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.
inputevent: Current value as html.Callback to invoke on input event of input field.
text-changeevent.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.
inputevent: Current value as html.Callback to invoke when text of editor changes.
@@ -108,24 +108,24 @@ import Editor from 'primevue/editor';
- - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + +
NameElement
NameElement
p-editor-containerContainer element
p-editor-toolbarToolbar of the editor
p-editor-contentEditable area
p-editor-containerContainer element
p-editor-toolbarToolbar of the editor
p-editor-contentEditable area