mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-14 03:03:58 +02:00
@@ -24,7 +24,7 @@ Scrubber.setScrubber((key, value) => {
|
|||||||
```
|
```
|
||||||
|
|
||||||
By setting the scrubber in this way, the error example given above will be
|
By setting the scrubber in this way, the error example given above will be
|
||||||
printed as
|
printed as:
|
||||||
|
|
||||||
```
|
```
|
||||||
Cannot get the child of a text node: {"text": "... scrubbed ..."}
|
Cannot get the child of a text node: {"text": "... scrubbed ..."}
|
||||||
@@ -62,7 +62,7 @@ const generateRandomCharacter = (): string => {
|
|||||||
Scrubber.setScrubber(Scrubber.textRandomizer(['text', 'src']))
|
Scrubber.setScrubber(Scrubber.textRandomizer(['text', 'src']))
|
||||||
```
|
```
|
||||||
|
|
||||||
In this example, a Node that looked like
|
In this example, a Node that looked like:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{ "text": "My test input string", "count": 5 }
|
{ "text": "My test input string", "count": 5 }
|
||||||
|
Reference in New Issue
Block a user