Skip to content

Commit

Permalink
docs(text): fix invalid example path (#1557)
Browse files Browse the repository at this point in the history
* docs(text): fix invalid example path

* docs(text): fix invalid example path
  • Loading branch information
lijinke666 authored Oct 26, 2023
1 parent 1d44607 commit 4e4e8ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/docs/api/basic/text.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ interface Rectangle {
}
```

In [example](/en/examples/shape#text), we draw the bounding box for each line of the multi-line text, and we can implement advanced text features such as underline and strikethrough based on the bounding box information:
In [example](/en/examples/shape/text#text), we draw the bounding box for each line of the multi-line text, and we can implement advanced text features such as underline and strikethrough based on the bounding box information:

![getLineBoundingRects](https://gw.alipayobjects.com/mdn/rms_6ae20b/afts/img/A*4bL1QaVJ40MAAAAAAAAAAAAAARQnAQ)

Expand Down
2 changes: 1 addition & 1 deletion site/docs/api/basic/text.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ interface Rectangle {
}
```

[示例](/zh/examples/shape#text)中,我们绘制出了多行文本中每一行的包围盒,可以根据包围盒信息实现例如下划线、删除线等高级文本特性:
[示例](/zh/examples/shape/text#text)中,我们绘制出了多行文本中每一行的包围盒,可以根据包围盒信息实现例如下划线、删除线等高级文本特性:

![getLineBoundingRects](https://gw.alipayobjects.com/mdn/rms_6ae20b/afts/img/A*4bL1QaVJ40MAAAAAAAAAAAAAARQnAQ)

Expand Down

0 comments on commit 4e4e8ef

Please sign in to comment.