From 4f68ea5678d240b60d4c2843848e52c481a6d89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E6=B3=A2?= Date: Wed, 14 Jul 2021 08:31:15 +0000 Subject: [PATCH] update docs/component/editor.md. --- docs/component/editor.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/component/editor.md b/docs/component/editor.md index f01616f59..57408eb53 100644 --- a/docs/component/editor.md +++ b/docs/component/editor.md @@ -35,7 +35,7 @@ editor组件目前只有H5、App的vue页面、微信小程序、百度小程序 | @input | eventhandle | | 否 | 编辑器内容改变时触发,detail = {html, text, delta} | | @statuschange | eventhandle | | 否 | 通过 Context 方法改变编辑器内样式时触发,返回选区已设置的样式 | -编辑器内支持部分 HTML 标签和内连样式,不支持**class**和**id** +编辑器内支持部分 HTML 标签和内联样式,不支持**class**和**id** #### 支持的标签 @@ -46,7 +46,7 @@ editor组件目前只有H5、App的vue页面、微信小程序、百度小程序 | 行内元素 | ` ` | | 块级元素 | `


    • ` | -#### 支持的内连样式 +#### 支持的内联样式 内联样式仅能设置在行内元素或块级元素上,不能同时设置。例如 font-size` 归类为行内元素属性,在 p 标签上设置是无效的。 -- GitLab