EDS4 logo
@eds/rich-text-editor
v4.0.3

RichTextEditor

The rich-text editor (aka. WYSIWYG) allows user to format text using an editing area. This component uses CKEditor under the hood.
Prop
Required
Description
Type
defaultValue

The default value of the rich text editor

string
minHeight

The minimum height of the rich text editor

string
maxHeight

The maximum height of the rich text editor. Content will start inline scrolling when reached.

string
showWordCount

Shows a word counter at the bottom

boolean
onChange

Handler for when the value changes

((data: string) => void) & ChangeEventHandler<HTMLTextAreaElement>
proofreaderConfig

The configurations of the proofreader svc.

{ lang: string; serviceProtocol: string; serviceHost: string; servicePort: string; servicePath: string; srcUrl: string; }