From 902aadd4243faa2c56ffae332070b536a8cce41c Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 19 Sep 2023 14:07:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=AF=8C=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8=E7=9A=84=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 4 ++-- src/editor/index.js | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index e91ee77..8c32336 100644 --- a/Readme.md +++ b/Readme.md @@ -16,7 +16,7 @@ - wkit 针对`web components`的核心封装库, 以数据驱动, 可以更方便的开发 wc 组件 -### 开发进度 && 计划 (40/55) +### 开发进度 && 计划 (41/55) - [x] `wc-card` 卡片组件 - [x] `wc-space` 间隔组件 @@ -45,7 +45,7 @@ - [x] `wc-layer` 弹层组件 - [x] `wc-markd` markdown 组件 - [ ] `wc-meditor` md 文本编辑器 -- [ ] `wc-neditor` 富文本编辑器 +- [x] `wc-editor` 富文本编辑器 - [x] `wc-pager` 分页组件 - [x] `wc-color` 颜色选择器 - [ ] `wc-datepicker` 日期选择器 diff --git a/src/editor/index.js b/src/editor/index.js index 9d72021..6fa826e 100644 --- a/src/editor/index.js +++ b/src/editor/index.js @@ -118,7 +118,6 @@ class Editor extends Component { :host { display: flex; min-width: 200px; - min-height: 100px; max-height: 720px; border-radius: 3px; transition: box-shadow 0.15s linear; @@ -791,7 +790,6 @@ class Editor extends Component { unmounted() { this._scrollFn?.disconnect() this._inputFn?.disconnect() - clearOutsideClick(this._clickoutsideFn) }