Files
bbq/src/app/shared/components/editor/index.en-US.md
2021-11-26 16:34:35 +08:00

2.2 KiB

order, title, type
order title type
60 editor Component

Based on quill WYSIWYG editor, DEMO.

Feature

API

Property Description Type Default
[(ngModel)] Value of quill string -
[mode] Mode of quill full,simple full
[theme] Theme of quill string snow
[readOnly] Whether to readonly boolean false
[required] Whether to required boolean -
[maxLength] The maximum number of quill characters number -
[minLength] The minimum number of quill characters number -
[placeholder] Placeholder of quill string -
[style] Styles of quill any { height: '250px' }
(editorCreated) Quill rendered event EventEmitter<any> -
(contentChanged) Quill content change event EventEmitter<any> -
(selectionChanged) selection-change event EventEmitter<any> -

sf widget

Widget name: editor.

ui

Property Description Type Default
(contentChanged) Quill content change event (value: string) => void -