Editor.helpers
Components
Portal()
Portal(
props
,context
?):ReactNode
Parameters
Parameter | Type |
---|---|
props | IPortal |
context ? | any |
Returns
ReactNode
Source
libs/design-system-components/src/components/Editor/helpers.ts:208
Variables
CustomEditor
const
CustomEditor:object
Type declaration
Member | Type | Description |
---|---|---|
clearEditor | void | - |
deleteImage | void | - |
insertLink | void | - |
insertMention | void | - |
insertTag | void | - |
insertText | void | - |
isBlockActive | boolean | - |
isMarkActive | boolean | - |
resetNodes | void | resetNodes 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. |
toggleBlock | void | - |
toggleMark | void | - |
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