174 lines
13 KiB
Markdown
174 lines
13 KiB
Markdown
# 更新日志
|
||
- **2.9.0** (20.4.20)
|
||
- 将xss组建设置为prop
|
||
- 去除 markdown-it-sanitizer
|
||
- **2.8.3** (20.4.5)
|
||
- 调整整体默认字号为14px
|
||
- **2.8.2** (20.4.5)
|
||
- 语言切换bug
|
||
- **2.8.1** (20.4.5)
|
||
- xss 过滤规则改进
|
||
- **2.8.0** (20.4.1)
|
||
- 合并PR(感谢帮助维护mavon的朋友)
|
||
- 更新部分依赖
|
||
- 部署演示网页
|
||
- **2.7.7** (19.10.23)
|
||
- 修复图片预览覆盖不生效问题
|
||
- **2.7.6** (19.9.12)
|
||
- [pr #478](https://github.com/hinesboy/mavonEditor/pull/478)
|
||
- **2.7.5** (19.6.12)
|
||
- [pr #421](https://github.com/hinesboy/mavonEditor/pull/421)
|
||
- [pr #428](https://github.com/hinesboy/mavonEditor/pull/428)
|
||
- [pr #430](https://github.com/hinesboy/mavonEditor/pull/430)
|
||
- **2.7.4** (19.4.30)
|
||
- [pr #415](https://github.com/hinesboy/mavonEditor/pull/415)
|
||
- [pr #417](https://github.com/hinesboy/mavonEditor/pull/417)
|
||
- **2.7.3** (19.3.28)
|
||
- 添加shortCut控制快捷键的开关
|
||
- 修复自定义图片上传bug
|
||
- 修复多次触发change事件bug
|
||
- **2.7.2** 合并Pull Request(19.3.19)
|
||
- [pr #404](https://github.com/hinesboy/mavonEditor/pull/404)
|
||
- **2.7.0** 合并Pull Request(19.3.12)
|
||
- [pr #400](https://github.com/hinesboy/mavonEditor/pull/400)
|
||
- **2.7.0** 合并Pull Request(19.3.5)
|
||
- [pr #394](https://github.com/hinesboy/mavonEditor/pull/394)
|
||
- [pr #377](https://github.com/hinesboy/mavonEditor/pull/377)
|
||
- [pr #395](https://github.com/hinesboy/mavonEditor/pull/395)
|
||
- [pr #342](https://github.com/hinesboy/mavonEditor/pull/342)
|
||
- [pr #369](https://github.com/hinesboy/mavonEditor/pull/369)
|
||
- [pr #339](https://github.com/hinesboy/mavonEditor/pull/339)
|
||
- [pr #332](https://github.com/hinesboy/mavonEditor/pull/339)
|
||
- [pr #331](https://github.com/hinesboy/mavonEditor/pull/331)
|
||
- **2.6.16** 合并Pull Request(18.8.18)
|
||
- [pr #303](https://github.com/hinesboy/mavonEditor/pull/303)
|
||
- [pr #302](https://github.com/hinesboy/mavonEditor/pull/302)
|
||
- **2.6.12** 修复issues(18.7.3)
|
||
- [issue #276](https://github.com/hinesboy/mavonEditor/pull/276)
|
||
- [issue #275](https://github.com/hinesboy/mavonEditor/pull/275)
|
||
- **2.6.11** [pr #274](https://github.com/hinesboy/mavonEditor/pull/274)(18.7.1)
|
||
- **2.6.9** 增加toc插件(18.6.15)
|
||
- **2.6.7** 处理粗体+斜体不生效问题(18.6.15)
|
||
- [issue #264](https://github.com/hinesboy/mavonEditor/pull/264)
|
||
- **2.6.6** PR合并(18.6.15)
|
||
- [pr #266](https://github.com/hinesboy/mavonEditor/pull/266)
|
||
- [pr #265](https://github.com/hinesboy/mavonEditor/pull/265)
|
||
- **2.6.5** 修复issues(18.6.6)
|
||
- [issue #257](https://github.com/hinesboy/mavonEditor/pull/257)
|
||
- [issue #256](https://github.com/hinesboy/mavonEditor/pull/256)
|
||
- [issue #255](https://github.com/hinesboy/mavonEditor/pull/255)
|
||
- [issue #253](https://github.com/hinesboy/mavonEditor/pull/253)
|
||
- [issue #246](https://github.com/hinesboy/mavonEditor/pull/246)
|
||
- **2.6.4** [issue #248](https://github.com/hinesboy/mavonEditor/pull/48)(18.6.1)
|
||
- **2.6.3** [issue #231](https://github.com/hinesboy/mavonEditor/pull/231)(18.5.10)
|
||
- **2.6.2** (18.5.9)
|
||
- 修改添加链接与添加图片的弹出框文字描述
|
||
- 添加todo list语法插件
|
||
- 默认图片预览的关闭修改为点击即关闭
|
||
- 略微调整获取markdownIt对象的方式
|
||
- readme添加语法拓展的板块
|
||
- **2.6.0** 优化图片上传 (18.5.7)
|
||
- **2.5.10** 添加props: boxShadow控制样式 (18.5.1)
|
||
- **2.5.9** 添加删除行快捷键 [Ctrl + D](18.4.24)
|
||
- **2.5.8** 有序、无序列表优化(18.4.24)
|
||
- 添加【Enter】、【Tab】、【Shift+Tab】键对列表的操作,简化编写过程
|
||
- 允许选中多行文本添加列表样式
|
||
- TAB修改为插入制表符(原为4个空格)
|
||
- **2.5.6** 工具栏按钮修改(18.4.22)
|
||
- 将【标题按钮】修改为【标题下拉选择】,可以选择1~6级标题
|
||
- 将`click`触发下拉框,修改为`hover`触发
|
||
- 标题语法去除闭合#
|
||
- **2.5.5** PR合并(18.4.19)
|
||
- [#213](https://github.com/hinesboy/mavonEditor/pull/213)
|
||
- **2.5.4** 问题修复 / PR合并(18.4.18)
|
||
- [issue #210](https://github.com/hinesboy/mavonEditor/pull/210)
|
||
- [issue #208](https://github.com/hinesboy/mavonEditor/pull/208)
|
||
- [pr #211](https://github.com/hinesboy/mavonEditor/pull/211)
|
||
- [pr #206](https://github.com/hinesboy/mavonEditor/pull/206)
|
||
- **2.5.3** 问题修复(18.4.11)
|
||
- [#203](https://github.com/hinesboy/mavonEditor/pull/203)
|
||
- [#202](https://github.com/hinesboy/mavonEditor/pull/202)
|
||
- 个别类选择器名称更换
|
||
- 图标样式垂直居中
|
||
- **2.5.2** 合并PR(18.3.14)
|
||
- [#160](https://github.com/hinesboy/mavonEditor/pull/160)
|
||
- [#161](https://github.com/hinesboy/mavonEditor/pull/161)
|
||
- **2.5.1** 问题修复(18.3.5)
|
||
- 点击图片自定义事件
|
||
- 添加Prop navigation 默认展示目录
|
||
- 修改Prop 以及 Event 的命名规范(老版本不兼容)
|
||
- **2.4.15** 解决图片下拉菜单在火狐浏览器兼容性问题(17.12.22)
|
||
- **2.4.14** 细节性调整(17.12.20)
|
||
- 在mavon最外层添加样式`text-align: left`,防止受到外部样式影响
|
||
- 单双栏切换逻辑调整,单双栏切换更加合理
|
||
- 去除自动切换单双栏逻辑(在 `width < 768px`变单栏)
|
||
- 添加链接、图片链接弹出页面优化,支持TAB键、回车键操作
|
||
- 上传图片限制文件格式为`gif,jpeg,jpg,png,svg`
|
||
- fix [#157](https://github.com/hinesboy/mavonEditor/issues/157)(17.12.19 [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- fix [#156](https://github.com/hinesboy/mavonEditor/issues/156)(17.12.19 [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.4.13** 修复bug[#79](https://github.com/hinesboy/mavonEditor/issues/79), 修改`markdown-it`实例获取方式,引入插件`markdown-it-highlightjs-external`(17.12.12 [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.4.11** 修复bug[#147](https://github.com/hinesboy/mavonEditor/issues/147)(17.12.7 [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.4.10** 添加图片名正则过滤(17.12.6)
|
||
- **2.4.9** 删除上传图片时同时删除其文本(17.12.2)
|
||
- **2.4.8** 将链接打开方式调整为新界面打开, 整改图片上传样式, 增加直接添加链接方式(17.12.2)
|
||
- **2.4.7** 修改外链使用方式,将`katex`提取出来作为外链(17.11.27 [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.4.6** 修复导出markdownIt不正确的错误(17.11.25 [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.4.5** 修改webpack配置,修复编译导出时的`const`问题(17.11.25 [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.4.3** 添加图片点击预览原图、开放markdown-it对象(17.11.24)
|
||
- **2.4.2** 修复`github-markdown-css`与`hljs-css`的冲突,提供一种自定义按需加载`hljs`以及`markdown`相关文件的方式(17.11.24 [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.4.0** 抛弃集成`hljs`,改为使用`cdnjs`外链,代码高亮方案也改为使用`cdnjs`外链(17.11.22 [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.3.1** 修复帮助文档链接无法跳转问题 [#125](https://github.com/hinesboy/mavonEditor/issues/125)(17.11.14 )
|
||
- **2.3.0** 解决const关键字报错问题 (17.10.27 / [lwdgit](https://github.com/lwdgit))
|
||
- **2.2.10** 更新babel-preset-env配置 (17.10.17)
|
||
- **2.2.8** 添加TAB缩进[#75](https://github.com/hinesboy/mavonEditor/issues/75) (17.9.29)
|
||
- **2.2.7** 修复[#88](https://github.com/hinesboy/mavonEditor/issues/88) (17.9.26)
|
||
- **2.2.6** 修复[#57](https://github.com/hinesboy/mavonEditor/issues/57) (17.9.11)
|
||
- **2.2.5** 合并贡献[65](https://github.com/hinesboy/mavonEditor/pull/65), 修复[#66](https://github.com/hinesboy/mavonEditor/issues/66), [#61](https://github.com/hinesboy/mavonEditor/issues/61)(17.9.10 / [cyy0418](https://github.com/cyy0418), [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.2.4** 合并贡献[52](https://github.com/hinesboy/mavonEditor/pull/52), 给 <style> 标签添加了 scoped 属性 , 防止其样式影响页面上的其他元素(17.8.11 / [wzdxy](https://github.com/wzdxy))
|
||
- **2.2.3** 修复语言选择的问题[#50](https://github.com/hinesboy/mavonEditor/issues/50)(17.8.10 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.2.2** 修复快捷键监听错乱(17.8.5)
|
||
- **2.2.1** 修复[#48](https://github.com/hinesboy/mavonEditor/issues/48) [#45](https://github.com/hinesboy/mavonEditor/issues/45)的bug , 新增功能键【单双栏切换】(17.8.5)
|
||
- **2.1.13** 修复[#46](https://github.com/hinesboy/mavonEditor/issues/46)的bug(17.8.4 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.1.12** 修复**2.1.11**的编辑区没有占满的bug,拖动滚动条导致input没有移动的bug(17.7.28 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.1.11** 添加`$imgAddByUrl`, `$img2Url`, `$imglst2Url`操作[#31](https://github.com/hinesboy/mavonEditor/issues/31),修复编辑区没有占满显示区的bug[#31](https://github.com/hinesboy/mavonEditor/issues/31),更新帮助文档(17.7.28 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.1.10** 操作失误,发布2.1.9的Release(17.7.24 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.1.9** 修复显示问题,更新帮助文档(17.7.24 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.1.8** 添加居中、居左、居右快捷键(17.7.18 / [AdrienCasta](https://github.com/AdrienCasta))
|
||
- **2.1.7** 修正`$imgUpdateByFilename`触发`imgAdd`事件时返回filename错误的bug[#25](https://github.com/hinesboy/mavonEditor/issues/25)(17.7.14 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.1.6** 添加`$imgAddByFilename`, `$imgDelByFilename`, `$imgUpdateByUrl`方法用以直接操作图片[#25](https://github.com/hinesboy/mavonEditor/issues/25)(17.7.14 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.1.5** 添加`$imgUpdateByUrl`方法,用来替换相对路径为绝对路径[#25](https://github.com/hinesboy/mavonEditor/issues/25#issuecomment-314947131)(17.7.13 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.1.4** 修复`imgAdd`事件于`change`前响应的bug,导致`imgAdd`响应时无法获取改变后的value[#25](https://github.com/hinesboy/mavonEditor/issues/25#issuecomment-314947131)(17.7.13 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.1.3** ishljs默认设置为false(17.7.8)
|
||
- **2.1.2** 将help文档添加至document.body的末尾,修复flex嵌套样式错误(17.7.7 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.1.1** 添加法语语言包(17.6.30 / [dimalusa](https://github.com/dimalusa))
|
||
- **2.0.9** 添加subfiled , default_open 的watch事件(17.6.26)
|
||
- 修复预览模式不设置高度情况下,高度过大问题
|
||
- **2.0.6** 添加选项是否高亮代码,详见 props: ishljs(17.6.25 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **2.0.2** 调整编辑模式,详见 props: subfield、default_open(17.6.24)
|
||
- 新增props: placeholder 输入框为空时默认提示文本
|
||
- 整理代码状态机
|
||
- **2.0.0** highlight.js语言高亮文件异步调用渲染(17.6.20 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **1.7.3** 更改事件监听方式,修正粗体样式(17.6.15 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **1.7.0** 取消单栏编辑模式实时渲染(17.6.14 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- 添加图片预览(粘贴板图片复制粘贴本地预览、图片拖拽本地预览、手动选择图片本地预览)
|
||
- 添加图片文件添加删除事件
|
||
- 删除to-markdown部分
|
||
- **1.6.3** 新增Markdown样式选择 props:code_style(17.6.9 / [yyyybzzzz PR](https://github.com/yyyybzzzz))
|
||
- **1.6.1** 新增props:enabled编辑开关、toolbarsFlag工具栏是否显示(17.5.26)
|
||
- 修复subfield = true初始化时候不显示内容
|
||
- **1.5.6** 支持语言切换 , 新增英文文档(17.5.11)
|
||
- **1.5.3** 拓展markdown渲染规则——KaTeX$公式 , 修改help文档(17.5.6 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **1.5.2** 优化项目结构(17.5.6 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- 将toolbar抽离为两个单独vue文件,事件提取为toolbar_left.js和toolbar_right.js
|
||
- 抽离stylus样式为mavon-editor.styl
|
||
- 调整md.css位置至lib/css
|
||
- **1.5.1** 添加postcss插件,压缩插件体积,分离markdown样式(样式需单独引入,参考上述用法)(17.5.6 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **1.4.8** 优化项目结构,添加webpack-dev-server的开发测试(17.5.4 / [CHENXCHEN](https://github.com/CHENXCHEN))
|
||
- **1.4.7** 图标局部引入,减少文件体积(17.4.26)
|
||
- **1.4.2** 支持开启标题导航 ,快捷键监听对象更改为document(17.4.25)
|
||
- **1.4.0** 重构代码(17.4.24)
|
||
- **1.3.5** 增加撤销键、清空键、保存按钮 , 修复底部展示不完整BUG
|
||
- **1.3.4** 多个编辑器快捷键/组合键监听覆盖 , props.toolbars 传递规则纠正(传入值整体覆盖默认值)
|
||
- **1.3.3** 多个编辑器z-index冲突
|
||
- **1.3.2** props 传递方法 更改为 v-on 绑定方法
|