Skip to main content

editor

Example

 <editorid="editor"placeholder="write something..."bindready="onEditorReady"bindstatuschange="bindstatuschange"bindinput="bindinput"bindfocus="bindfocus"bindblur="bindblur"bindselectionupdate="bindselectionupdate"></editor>
  • remark - sdk >= 4.7.0

Props#

NameTypeDescriptionDefault
idstring
read-onlybooleanThe editor is readOnly or notfalse
placeholderstringThe editor placeholder 

Events#

NameDescription
bindreadyTriggered when editor initialization is complete
bindinputTriggered when editor content changes ,
bindblurTriggered when editor blur
bindfocusTriggered when editor focus
bindstatuschangeadopt Context Method to change a style in the editor, returning a style already set for the selection
bindselectionupdatewhen the editor selection update