Skip to main content

Editor.helpers

Components

Portal()

Portal(props, context?): ReactNode

Parameters

ParameterType
propsIPortal
context?any

Returns

ReactNode

Source

libs/design-system-components/src/components/Editor/helpers.ts:208

Variables

CustomEditor

const CustomEditor: object

Type declaration

MemberTypeDescription
clearEditorvoid-
deleteImagevoid-
insertLinkvoid-
insertMentionvoid-
insertTagvoid-
insertTextvoid-
isBlockActiveboolean-
isMarkActiveboolean-
resetNodesvoidresetNodes resets the value of the editor. It should be noted that passing the at parameter may cause a "Cannot resolve a DOM point from Slate point" error.
toggleBlockvoid-
toggleMarkvoid-

Source

libs/design-system-components/src/components/Editor/helpers.ts:16


LIST_TYPES

const LIST_TYPES: string[]

Source

libs/design-system-components/src/components/Editor/helpers.ts:13


TEXT_ALIGN_TYPES

const TEXT_ALIGN_TYPES: string[]

Source

libs/design-system-components/src/components/Editor/helpers.ts:14