mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 06:01:24 +02:00
Fix typo (#4598)
This commit is contained in:
@@ -402,7 +402,7 @@ Called when there is a change in the editor.
|
|||||||
|
|
||||||
#### `addMark(key: string, value: any) => void`
|
#### `addMark(key: string, value: any) => void`
|
||||||
|
|
||||||
Add a custom property to the leaf text nodes in the currentk selection. If the selection is currently collapsed, the marks will be added to the `editor.marks` property instead, and applied when text is inserted next.
|
Add a custom property to the leaf text nodes in the current selection. If the selection is currently collapsed, the marks will be added to the `editor.marks` property instead, and applied when text is inserted next.
|
||||||
|
|
||||||
#### `removeMark(key: string) => void`
|
#### `removeMark(key: string) => void`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user