diff --git a/CHANGELOG.md b/CHANGELOG.md index a45c649..019e7ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +## [4.6.3](https://github.com/wangeditor-team/wangEditor/compare/v4.6.2...v4.6.3) (2021-01-14) + + +### Bug Fixes + +* 标题按钮设置异常,错别字修复 ([37addbc](https://github.com/wangeditor-team/wangEditor/commit/37addbc081a7989bebe996c839ed78eb577758fc)) +* 撤销和恢复按钮的tooltip描述不正确 ([af6fddc](https://github.com/wangeditor-team/wangEditor/commit/af6fddc374629fb1922cff106839aa0ddb2bbeee)) +* 内容为空时append多出空行&createPanelConf 修改支持异步返回 ([bde84fd](https://github.com/wangeditor-team/wangEditor/commit/bde84fd6976fb77ee6174dd28d79b78970d7c1b9)) +* 去掉在线图片和视频插入的校验限制 ([9e2f14a](https://github.com/wangeditor-team/wangEditor/commit/9e2f14ab1cc39bea43ea393ae4f5bfa75f57abbb)) +* 失去焦点tooltip不消失 ([3c48acf](https://github.com/wangeditor-team/wangEditor/commit/3c48acfe41acb74bdce63f70d34358a953681dd0)) +* 完善对齐 ([1b22c2a](https://github.com/wangeditor-team/wangEditor/commit/1b22c2a782ecef455db35ae172f2e6f95e248d5f)) +* 修复撤销功能在某些极端情况下报错 ([578c3ce](https://github.com/wangeditor-team/wangEditor/commit/578c3ced5bda396b2d8c8a76dc95042b18cddbef)) +* 修复初始化编辑器调用 API 插入内容,快捷键撤销报错的问题 ([3e2c375](https://github.com/wangeditor-team/wangEditor/commit/3e2c375275465e97544593e69dcc6e5982a382fb)) +* 修复了列表对齐的问题 ([a4e43fd](https://github.com/wangeditor-team/wangEditor/commit/a4e43fd1f3111b1869c6c47895d221cc64dc7a9a)) +* 修复eidtor.txt.append和editor.txt.html光标移动不正确问题 ([045782b](https://github.com/wangeditor-team/wangEditor/commit/045782be1138e197ee638a9b9b168d714b923de4)) + + +### Features + +* 新增上传视频功能 ([c9e5446](https://github.com/wangeditor-team/wangEditor/commit/c9e5446f08acf80487ba36adebe679a4c45adda6)) + ## [4.6.2](https://github.com/wangeditor-team/wangEditor/compare/v4.6.1...v4.6.2) (2021-01-07) diff --git a/package.json b/package.json index 4b99357..291e1a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wangeditor", - "version": "4.6.2", + "version": "4.6.3", "description": "wangEditor - 轻量级 web 富文本编辑器,配置方便,使用简单,开源免费", "homepage": "http://www.wangeditor.com/", "keywords": [ diff --git a/src/menus/justify/index.ts b/src/menus/justify/index.ts index d939e7d..5f9a61b 100644 --- a/src/menus/justify/index.ts +++ b/src/menus/justify/index.ts @@ -148,7 +148,7 @@ class Justify extends DropListMenu implements MenuActive { * 默认左对齐,若选择其他对其方式对active进行高亮否则unActive * ?考虑优化的话 是否可以对具体选中的进行高亮 */ - public tryChangeActive(): void { } + public tryChangeActive(): void {} } export default Justify diff --git a/src/menus/list/ListHandle/WrapListHandle.ts b/src/menus/list/ListHandle/WrapListHandle.ts index 4efc25b..ee27bdc 100644 --- a/src/menus/list/ListHandle/WrapListHandle.ts +++ b/src/menus/list/ListHandle/WrapListHandle.ts @@ -40,7 +40,7 @@ export default class WrapListHandle extends ListHandle implements Exec { (!$start?.prev().length && !$end?.next().length) ) { // 获取当前序列下的所有 li 标签 - ; ($selectionElem?.children() as DomElement).forEach(($node: HTMLElement) => { + ;($selectionElem?.children() as DomElement).forEach(($node: HTMLElement) => { $nodes.push($($node)) }) diff --git a/src/menus/list/index.ts b/src/menus/list/index.ts index c150601..0c881b1 100644 --- a/src/menus/list/index.ts +++ b/src/menus/list/index.ts @@ -191,7 +191,7 @@ class List extends DropListMenu implements MenuActive { return false } - public tryChangeActive(): void { } + public tryChangeActive(): void {} } export default List