From 9cc77cf796a9de4f8d7841b095385b7114e1f6b5 Mon Sep 17 00:00:00 2001 From: yinjiacheng Date: Tue, 5 Sep 2023 17:26:35 +0800 Subject: [PATCH] update rich-text.md --- docs/uni-app-x/component/rich-text.md | 35 ++++++++++++++------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/docs/uni-app-x/component/rich-text.md b/docs/uni-app-x/component/rich-text.md index bb39061dc..355e338bb 100644 --- a/docs/uni-app-x/component/rich-text.md +++ b/docs/uni-app-x/component/rich-text.md @@ -3,22 +3,22 @@ ### 支持的HTML标签和属性 -|HTML |属性 | -|-------|-------| -|br | -|p |text-align color background-color text-decoration -|ul | -|li |text-align color background-color text-decoration -|span |color background-color text-decoration -|strong | -|i | -|big | -|small | -|a |href -|u | -|del | -|h1-h6 | -|img |src +|HTML |属性 |样式 +|-------|-------|-------| +|br | | +|p | |text-align color background-color text-decoration +|ul | | +|li | |text-align color background-color text-decoration +|span | |color background-color text-decoration +|strong | | +|i | | +|big | | +|small | | +|a |href | +|u | | +|del | | +|h1-h6 | | +|img |src | > text-decoration仅支持line-through @@ -30,4 +30,5 @@ ## bug&tips -- HTMLString支持常用但不是全部web样式。 \ No newline at end of file +- HTML String支持常用但不是全部web样式。 +- HTML String类型的``不支持自定义宽高,默认以rich-text组件宽度为基准等比缩放;节点列表类型的`/`支持自定义宽高。 \ No newline at end of file -- GitLab