Update testing.md
This commit is contained in:
parent
d7a4074b58
commit
28c9c944b1
1 changed files with 0 additions and 1 deletions
|
|
@ -43,7 +43,6 @@ print(length);
|
||||||
|
|
||||||
**Get the node of the specified path**
|
**Get the node of the specified path**
|
||||||
```dart
|
```dart
|
||||||
// 获取上述文档结构中的第一个文本节点
|
|
||||||
final firstTextNode = editor.nodeAtPath([0]) as TextNode;
|
final firstTextNode = editor.nodeAtPath([0]) as TextNode;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue