1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-04-21 13:51:59 +02:00

Fix wrong 'Transforms' name. (#5065)

This commit is contained in:
Liy 2022-07-28 20:06:42 +08:00 committed by GitHub
parent b440fc7577
commit f273647984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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:
```js
Transform.setNodes(
Transforms.setNodes(
editor,
{ bold: true },
{