mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-14 03:03:58 +02:00
Fix wrong 'Transforms' name. (#5065)
This commit is contained in:
@@ -215,7 +215,7 @@ Using `match` can make representing complex logic a lot simpler.
|
|||||||
For example, consider wanting to add a bold mark to any text nodes that aren't already italic:
|
For example, consider wanting to add a bold mark to any text nodes that aren't already italic:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
Transform.setNodes(
|
Transforms.setNodes(
|
||||||
editor,
|
editor,
|
||||||
{ bold: true },
|
{ bold: true },
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user