1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-13 02:34:05 +02:00

update docs

This commit is contained in:
Ian Storm Taylor
2021-04-07 18:16:24 -04:00
parent 4b3dc18f73
commit 41aa2754ee

View File

@@ -175,7 +175,7 @@ For example, consider wanting to add a bold mark to any text nodes that aren't a
```js ```js
Transform.setNodes(editor, { Transform.setNodes(editor, {
// This path references the editor, and is expanded to a range that range // This path references the editor, and is expanded to a range that
// will encompass all the content of the editor. // will encompass all the content of the editor.
at: [], at: [],
// This only matches text nodes that are not already italic. // This only matches text nodes that are not already italic.