1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 13:41:19 +02:00
This commit is contained in:
Jim Fisher
2021-10-13 23:46:53 +01:00
committed by GitHub
parent f40e515dc7
commit 08f67d9cbc

View File

@@ -402,7 +402,7 @@ Called when there is a change in the editor.
#### `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`