Skip to main content

Interface: EditorProps

Editor.EditorProps

Properties

className

Optional className: string

Overrides or extends the styles applied to the component.

Default

null

Defined in

packages/react-ui/src/components/Editor/Editor.tsx:91


defaultValue

Optional defaultValue: string

Default value for the editor

Default

null

Defined in

packages/react-ui/src/components/Editor/Editor.tsx:97


editable

Optional editable: boolean

Is the content of the editor read only

Default

true

Defined in

packages/react-ui/src/components/Editor/Editor.tsx:103


id

Optional id: string

Id of the feed object

Default

'poll'

Defined in

packages/react-ui/src/components/Editor/Editor.tsx:85


onBlur

Optional onBlur: (event: FocusEvent) => void

Type declaration

▸ (event): void

Handler for blur event of the editor

Parameters
NameType
eventFocusEvent
Returns

void

Default

null

Defined in

packages/react-ui/src/components/Editor/Editor.tsx:127


onChange

Optional onChange: (value: string) => void

Type declaration

▸ (value): void

Handler for change event of the editor

Parameters
NameType
valuestring
Returns

void

Default

null

Defined in

packages/react-ui/src/components/Editor/Editor.tsx:121


onFocus

Optional onFocus: (event: FocusEvent) => void

Type declaration

▸ (event): void

Handler for focus event of the editor

Parameters
NameType
eventFocusEvent
Returns

void

Default

null

Defined in

packages/react-ui/src/components/Editor/Editor.tsx:133


toolbar

Optional toolbar: boolean

Show the toolbar on top of the editor, elsewhere show buttons at the bottom of the editor

Default

false

Defined in

packages/react-ui/src/components/Editor/Editor.tsx:109


uploadImage

Optional uploadImage: boolean

This editor can upload images and insert into the html dom

Default

false

Defined in

packages/react-ui/src/components/Editor/Editor.tsx:115