BlockSuite API Documentation / @blocksuite/blocks / clearMarksOnDiscontinuousInput
Function: clearMarksOnDiscontinuousInput()
clearMarksOnDiscontinuousInput(
inlineEditor
):void
Parameters
inlineEditor
InlineEditor
<{ bold
: null
| true
; code
: null
| true
; italic
: null
| true
; link
: null
| string
; strike
: null
| true
; underline
: null
| true
; }>
Returns
void
Defined in
packages/affine/components/dist/rich-text/format/utils.d.ts:7