Update testing.md

This commit is contained in:
Lucas.Xu 2022-08-17 20:54:22 +08:00
commit 28c9c944b1

View file

@ -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;
``` ```