mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-13 02:34:05 +02:00
update docs
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user