1
0
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:
Liy
2022-07-28 20:06:42 +08:00
committed by GitHub
parent b440fc7577
commit f273647984

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: 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 },
{ {