Skip to content

Commit 4f699a7

Browse files
committed
Update docs
1 parent d7edf8c commit 4f699a7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/upgrade-2-0-to-3-0.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ It is no longer necessary to bind a custom Tiptap Editor class in order to use a
3434

3535
### New node/mark creation (High Impact)
3636

37-
If you're creating new nodes or marks in data plugins you should use the new `node` and `mark` helpers provided by the Data support class. eg. Instead of:
37+
If you're creating new nodes or marks in data plugins you should use the new `node` and `mark` helpers provided by the Data support class.
3838

3939
```php
4040
$node = (object) [
@@ -44,9 +44,6 @@ $node = (object) [
4444
],
4545
];
4646
```
47-
48-
You should now do:
49-
5047
```php
5148
use JackSleight\StatamicBardMutator\Support\Data;
5249

0 commit comments

Comments
 (0)