Skip to content

Latest commit

 

History

History
1050 lines (612 loc) · 88.3 KB

CHANGELOG.md

File metadata and controls

1050 lines (612 loc) · 88.3 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.8.46 (2024-08-12)

Features

Bug Fixes

  • #858 修复漏洞 (122e27a)
  • #866 修复draw.io在预览区无脑打开编辑框的问题 (1c907da)
  • 修复代码块展开收起引入的bug,并优化展开收起的交互体验 (4a3c195)

Css or Code Change

0.8.45 (2024-07-25)

Features

  • #522 增加vim编辑模式的配置 (40ba66f)
  • #755 增加隐藏工具栏机制 (71b8c03)
  • #794 脚本支持pr预览 (c1bed21)
  • #794 脚本支持pr预览 (#816) (d26a3be)
  • #814 丰富联想代码语言 (a249820)
  • #823 丰富api文档,增加字体颜色、字体背景色、信息面板、对齐方式等api (ba0f71e)
  • #836 PR合并后自动清除PR在线预览相关资源 (0da9aba)
  • #838 代码块语法忽略大小写 (c82ab40)
  • #847 插入菜单添加“内联代码”按钮 (#849) (3476f21)
  • 调整pr-viewer脚本 (adc310b)
  • 设置actions权限,支持pr构建 (f728487)
  • 优化有大量base64数据时的渲染性能 (a03c999)
  • add react demo for cherry-markdown #797 (28c0e81)
  • pr-test脚本eslint只检查js文件 (8faef0a)
  • ShortcutKey: 增加快捷键配置能力 Closes #571 (837bf15)

Bug Fixes

  • #835 处理eslint报错 (0cd79ca)
  • #835 代码提示自动补全国际化问题 (d94b357)
  • 修复字数统计工具报错的问题 (e61ec5f)
  • 修复menu.setName失效的问题 (d398c6a)
  • github actions build排除掉push (9214bd4)

0.8.44 (2024-06-25)

Bug Fixes

0.8.43 (2024-06-24)

Features

  • #696 构建产物里额外提供预览区样式的文件 (#783) (e33c0d6)
  • #767 代码块、行内代码相关提示交互优化 (#787) (4e05ac6)
  • #769 代码块主题缓存 (#781) (912c25e)
  • #774 增加选区改变事件 selectionChange (1859e20)
  • #790 锚点/toc滚动兼容滚动条在window的情况 (42be1bc)
  • 独立一个markdown样式文件(含主题) (467d870)
  • 优化高亮区的显示逻辑,改成每次高亮只亮3秒,不再常驻高亮 (6365f27)
  • 增加表格和加粗斜体语法对流式输出场景的适配 (b1a07a7)
  • 增加流式会话的例子 (0de1a93)
  • 增加一些小api (e7bc008)

Bug Fixes

  • #778 修复国际化漏掉的地方 (5bb2b26)
  • #782 补上英文 (d5e4d47)
  • 修复afterInit失效的问题 (8c03f95)
  • 修复vscode插件自动打开预览的问题 (036f070)
  • 右侧编辑列表过程中, 输入回车后, 再次编辑此列表, 数据会异常 #751 (#772) (38ee8dc)
  • 自定义icon兼容自定义菜单 & 完善propTypes校验 (#791) (335b9bd), closes #589
  • vscodePlugin: activation timing for VSCode extension (#773) (15e019f)
  • vscodePlugin: first open markdown will not activate the extension (#784) (a1c24d2)

0.8.42 (2024-05-27)

Features

  • 默认不展示右侧侧边栏 (b68b1b4)
  • 优化事件机制,增加cherry.on动态绑定事件机制 (a24bcd9)
  • 增加表格和加粗斜体语法对流式输出场景的适配 (ebc8338)
  • 增加流式会话的例子 (88873c2)
  • add configuration and right-click menu processing preview (#760) (6372859)
  • vscodePlugin: add webview icon (#754) (b38ceea)

Bug Fixes

  • 当预览区只有一行内容时,导出文档api报错 (f4b6201)
  • 联想配置模板失效 (#757) (f93e2af)
  • 修复列表有多行时选区只选择第一行的问题 (082a032)
  • 右侧编辑列表过程中, 输入回车后, 再次编辑此列表, 数据会异常 #751 (#772) (3e1e9fd)

0.8.41 (2024-05-06)

Features

  • #714 增加粘贴的回调 (e9154f6)
  • #728 把根据表格生成图表的功能放出来 (e1df984)
  • #743 增加联想、全角符号提示的配置能力 (5f43a52)
  • #746 增加自定义视频播放器容器的配置能力 (3c9952f)
  • support config mathjax installed by npm (872ec1e)

Bug Fixes

  • #750 修复预览区点击回调事件失效的问题; feat: #750 增加点击toc页面目录不更新location hash的特性 (0cff250)
  • image loading failed in vscode plugin (#748) (b2c6a0e), closes #744

0.8.40 (2024-03-06)

Features

Bug Fixes

  • #719 增加对工具栏显隐的控制,并增加switchModel的第二个参数 (6294fa9)
  • #721 修复纯预览模式下工具栏配置失效的问题 (e69dd3c)
  • #725 拖放文件时,尽可能的走文件上传逻辑 (6e8a0fd)
  • setValue后处理img-base64格式防止显示长字符串 (#727) (e3f2d3f)

0.8.39 (2024-02-29)

Features

  • #707 提供滚动到对应锚点的api (3d96efc)
  • client: add file right-click menu to *.md and directly read file content (#717) (18b650a)

Bug Fixes

  • #461 修复全屏时编辑区和预览区中间分割线拖拽位置错位的问题 (539f77f)
  • #681 修复粘贴图片会出现两张图片的情况 (83b47ea)
  • #681 修复粘贴图片会出现两张图片的情况 (634ccd3)
  • #710 修复粘贴多个文件时只能上传一个文件的问题 (6830671)

0.8.38 (2024-01-29)

Features

  • #702 提供销毁函数 (bb3c856)
  • #703 增加动态重置工具栏的API (4011335)
  • 优化联想的选中逻辑,默认不选中任意选项,不影响回车键 (5ef6505)

Bug Fixes

  • 修复自定义keyword覆盖问题 (#705) (aa099ea)
  • 联想功能支持多实例 (9d50c88)

0.8.37 (2024-01-25)

Bug Fixes

  • #683 themeNamespace 没有应用到cherry的外层容器 (56e0ee7)
  • 去掉冒号的联想 (a03b749)
  • 引入mathjax safe组件,防止通过mathjax引入xss注入 (5e3e74c)

0.8.36 (2024-01-22)

Features

Bug Fixes

  • #683 修复最小高度引入的样式问题 (03f7a99)
  • #698 修复手风琴语法无法显示图片的问题 (e232a99)
  • autolink: fix unexpected %5c in uris with underscore (#695) (3ac4b60)
  • Toc: use div replace obsolete HTML elements dir (#693) (30bef8d)

0.8.35 (2024-01-12)

Features

  • kbd: add styles to <kbd> tag & update examples (#679) (ac3650d)

Bug Fixes

  • add dom purifier to math result for security (f79dc95)
  • client: redeclare the 'toc' state (#678) (9216837), closes #675 #676 #677
  • xss: fix potential xss in raw html (596805c)
  • 修改示例中emoji表情的配置 (66c3ecc)

Code Refactoring

  • client: use cherry-markdown's TOC component (#677) (b8899af)

0.8.33 (2023-12-25)

0.8.34 (2023-12-26)

Bug Fixes

  • #657 closed 修复复制按钮点击报错问题 (de3f368)
  • #673 closed 修复粘贴excel只有图片的问题 (9f46d5e)
  • 额外兼容node场景 (0d04a68)
  • 修复pointer event导致的误触,兼容浏览器不支持pointer event的情况 (08965e5)
  • 重构表格逆解析时,处理空格的逻辑 (49e4907)

0.8.31 (2023-12-07)

0.8.33 (2023-12-25)

Bug Fixes

  • 额外兼容node场景 (0d04a68)
  • 修复pointer event导致的误触,兼容浏览器不支持pointer event的情况 (08965e5)

0.8.31 (2023-12-07)

0.8.32 (2023-12-18)

Features

  • #658 增加悬浮目录及相关配置、记忆、回显、跳转等功能 (308b15b)
  • 目录滚动效果不再依赖scrollIntoView (6b9fdef)

Bug Fixes

  • #667 closed 修复视频封面无法展示的问题 (b38dc15)
  • #668 #662 closed 修复表格所见即所得编辑定位的问题,解决方案:先屏蔽拖拽行列的功能 (ad8e9e4)
  • 修改@关键字及默认keyword顺序 (#664) (d35f790)

0.8.31 (2023-12-07)

0.8.30--skip.tag (2023-12-07)

Features

  • #642 close 增加配置,是否在初始化时保持页面的滚动位置 (b58de6d)
  • #642 修改配置的默认值为false(与旧版本效果保持一致) (c7a800d)
  • #642 在调用setMarkdown/setValue时保持页面的滚动位置 (5106859)
  • #653 增加新的配置开关,打开后cherry完成初始化后会根据hash进行 滚动定位 (50bc19d)
  • #653 增加新的配置开关,打开后cherry完成初始化后会根据hash进行 滚动定位 在demo里默认打开 (029f3d2)
  • 优化处理base64数据的时机和正则,确保base64数据能够及时被替换成占位符 (5bbb803)
  • 增加字数统计功能 (#659) (e313d0c)

Bug Fixes

  • #650 switchModel()API切换预览模式时隐藏工具栏 (b573fd3)
  • #650 修复切换主题时原始class被改错的问题 (30be078)
  • 修复formatFullWidthMark函数 (#655) (8d34763)

Code Refactoring

0.8.29 (2023-11-20)

0.8.28 (2023-11-20)

Bug Fixes

  • #621 closed 修复纯预览模式切换成编辑模式时工具栏不显示的问题 (8d31d89)
  • #623 重构代码块预览区编辑功能,同时修复预览区工具栏滚动时超出界面的问题,增加是否允许切换代码块语言的功能 (1fed833)

0.8.27 (2023-11-07)

Features

Bug Fixes

  • List 预览编辑会导致格式失效 (#593) (04c0341), closes #579 #579
  • types of external api, Engine and toolbarHandlers APIs, (#580) (8b05654)
  • CherryEngine type declaration (#630) (9d93b32), closes #628
  • 类型构建的路径替换脚本遇到错误需抛出 (f9b86a9)
  • 修复对齐方式没有翻译的问题 #603 (0b7c3e1)
  • 修复默认为editOnly时status错误的问题 (#608) (8af042a)
  • 修复生成类型中的path错误导致 (5523433)
  • 修复无法导出图片的问题,修复导出图片时没有传文件名时没有给出默认文件名的问题 (8cadbea)
  • 修复粘贴图片时fileUpload的callback需要params参数的问题 (7609a0d)
  • enable list and graph to support the use of method names (#581) (7276f6a)
  • graph无法翻译的问题 (5ea2d4d)
  • issue#583 (#591) (7e866c7)
  • issue#595 全角替换半角存在定位问题 (#596) (624c748)

Performance Improvements

  • split: fixed toolbar split line height (#611) (58883b5)

0.8.26 (2023-09-14)

Bug Fixes

  • emphasis: fix poor performance when matching across lines (6246d87)

0.8.25 (2023-09-05)

Features

Bug Fixes

  • #560 toolbar合并hooks时,重名的处理方式改为保留toolbar原有hook (#568) (d69c0ad)
  • #567 toolbar子类重写init导致未执行部分初始化 (#569) (b8244f6)
  • DrawIo: 支持 cherry-dialog 拖拽 (#442) (#559) (491cb0e)

Code Refactoring

  • suggester初始化机制;refactor: 最简版demo;fix: 超链接规则过严导致带感叹号的url被转义 (c40d25d)

0.8.24 (2023-08-28)

Features

  • 当没有配置图片上传回调接口时,粘贴、拖拽上传的图片以base64格式展示 close #545 (ec88880)

0.8.23-1.0 (2023-08-25)

0.8.23-lastest (2023-08-25)

Bug Fixes

  • #546 在node环境下,输入联想会引发报错 (e24f1e1)

0.8.23 (2023-08-24)

⚠ BREAKING CHANGES

  • @tencent/cherry-markdown no longer supports node < 14

  • chore(*): track dist files with lfs

  • chore(*): fix styles output path & update docs

Features

  • #437 优化插入公式选择模板的功能,并增加预览区域公式导出、复制操作 (#537) (0e40577)
  • 434 vscode插件支持配置图床 (#534) (4fdbb93)
  • 增加配置快捷键的功能 close #406 (55e582f)

Bug Fixes

  • #387 CherryEngine TypeError (#535) (56165bf)
  • 复制html内容时有报错 #536;更新vscode插件 (402a05d)
  • 修复右侧顶部工具栏不支持自定义菜单的问题,修复cherry.toolbar.toolbarHandlers收集按钮不全的问题 (ca2347f)
  • 修复右侧顶部工具栏不支持自定义菜单的问题,修复cherry.toolbar.toolbarHandlers收集按钮不全的问题 (#531) (7e4a125)
  • 支持空链接 #530 (0fc0399)
  • close #532 (a1df190)
  • syntax type err & formula config (#539) (5484c4a), closes #437
  • types: fix type check & security issues (#538) (0f036e9)

chore

0.8.22 (2023-08-01)

Features

  • 点击chatgpt的时候增加loading (ede7e45)
  • 增加超链接新页面打开配置能力,同时顺手关掉联想里的续写和总结功能 (be1800a)
  • 增加chatgpt输入联想功能 (6714211)
  • custom export file name close(#506) (#517) (4b60dd7)

Bug Fixes

  • 纯预览模式下不提供表格所见即所得编辑能力 close #513 (edbd0fe)
  • 导出时处理懒加载的图片 close #504 (8a26cda)
  • 导出PDF不支持背景 closed #456 ;fix: 表格里不支持转义符 (7a4d5d2)
  • 二级菜单定位错误 close #514 (a437562)
  • 修复导出PDF的bug close #512 (8fdaf6a)

0.8.21 (2023-07-14)

Features

  • 丰富表格所见即所得功能 (#479) (aa574a7)
  • 优化输入联想的交互体验 (2dcb231)
  • 预览区支持hover相关逻辑、表格支持hover添加行列 (#502) (57ba97b)
  • 支持专注模式、打字机模式 (#503) (8c22aea)
  • add mermaid error, issue #488 (5fcdbbe)
  • docs: add configuration option (#468) (73be84c)
  • Editor: 增加对罗马数字与汉字列表的换行自动补全 (#493) (085b5ea)
  • Suggester: Suggester扩展 #430 (#473) (d315708)
  • support switching language when previewing code (#464) (21d5b98)

Bug Fixes

  • #466 去掉时序图强制显示序号的逻辑 (2bcefc7)
  • 避免出现 theme__null class 以及修复了常用操作的一些i18n国际化问题 (#463) (b2c0805)
  • close #470 点击float 插入 menu位置错位 (1b0844d)
  • close #472 修复点击draw.io图片出现无法回显编辑内容的情况 (047d48e)
  • close #476 处理粘贴代码时出现多余换行的情况,同时顺便修复复制粘贴代码块出现select标签的情况 (08c351b)
  • Engine: 修复 blockquote 里,代码块被渲染为行内代码的 bug (#481) (22940ae)
  • preview: 修复html2canvas导致的含MathJax的截图导出重影问题 (#484) (855b633)
  • Unittest: 修复了单元测试代码中的诸多小问题 (#482) (58092e4)

0.8.20 (2023-05-31)

Features

  • 增加mermaid配置功能,可指定mermaid生成的是svg还是图片 (2bcded7)
  • client: add cherry markdown to use (#451) (7054200)
  • preview: (#432) support checkbox what-you-see-is-what-you-get feature (#457) (baf592f)

Bug Fixes

  • #444 初始化 float 和 bubble 时传入 customMenu (#446) (1fc0972)
  • 同一行多个img所见即所得编辑时无法选中正确的图片 (f64430d)
  • 限制表格预览区域编辑的判定范围 (ee28d26)
  • 优化图片懒加载的配置判断逻辑 (61974b9)
  • fullScreen: icon switch (close #445) (#447) (bd310c1)
  • Previewer: 调整暗黑模式下高亮行颜色 (69ad07d)

0.8.19 (2023-04-24)

Features

Bug Fixes

  • #439 修复sidebar设置为false失效的问题 (4474e47)
  • #440 修复顶格插入表格时,预览区域表格无法进行编辑 (3e5b3b8)
  • 处理右对齐工具栏的默认值问题 (dc9186d)
  • 修复侧边栏二级菜单定位不准确的问题 (8bc6c3b)
  • 优化判断图片是否在视区内的判断逻辑 (83efd75)
  • use up-to-date script for client to avoid drawIo not found error (8ed9400)

0.8.18 (2023-04-10)

Features

  • 对正在编辑的区域进行高亮 (#413) (bac8173)
  • 图片语法增加花括号扩展能力 (44d8063)
  • 增加插入draw.io功能;增加编辑draw.io机制;\n fix: 修复编辑图片尺寸时有可能受代码块语法影响的问题 (e326b86)
  • 增加设置主题的api (681857f)
  • 增加draw.io示例里的图形种类 (2aba33b)

Bug Fixes

  • #395 尝试无脑修复,需要humyfred确认 (1f30506)
  • 代码块逆解析成代码块语法时有多余的中括号产生 #414 (76acd94)
  • 非双栏模式,或者从双栏模式切换到单栏模式时,需要去掉高亮光标对应预览区域的机制 (6cb9821)
  • 删除多余逻辑 (668993b)

0.8.17 (2023-03-27)

Features

  • 对正在编辑的区域进行高亮 (#413) (bac8173)
  • 图片语法增加花括号扩展能力 (44d8063)
  • 增加插入draw.io功能;增加编辑draw.io机制;\n fix: 修复编辑图片尺寸时有可能受代码块语法影响的问题 (e326b86)

Bug Fixes

  • 代码块逆解析成代码块语法时有多余的中括号产生 #414 (76acd94)

0.8.16 (2023-03-13)

Features

  • 修改信息面板和手风琴语法 (a7e1f96)

Bug Fixes

  • 改正了一处typo,并且修复了子菜单关闭逻辑的bug (#410) (6ce02cf)
  • 将之前的更新适配至electron客户端 (#405) (d8774c6)

0.8.15 (2023-03-06)

Features

  • 客户端增加关闭提醒和导出markdown/HTML文件功能 (#399) (520eb00)
  • 优化信息面板标题的背景色值 (318740e)
  • 增加手风琴语法和对应的按钮;fix: 修复换行、列表语法占位符没有行号信息的问题 (e21cc35)
  • 增加信息面板语法和对应的按钮 (fc7bc1f)

Bug Fixes

0.8.14 (2023-02-21)

Bug Fixes

  • 临时解决超链接和斜体语法冲突的问题,最终解决方案应该是AutoLink语法实现排他 (9d23c56)

0.8.13 (2023-02-17)

Features

  • (hooks) 自动超链接-支持展示固定长度字符 (#391) (69056e4)
  • 丰富图标,优化侧边栏切换主题按钮的下拉框定位 (d17d0fe)
  • 丰富图标,优化侧边栏切换主题按钮的下拉框定位 (452ae1f)
  • 增加vscode plugin,可以在vscode扩展中输入cherry-markdown搜索安装该插件 (61be297)

Bug Fixes

  • #388 修复复制粘贴图片时,图片alt属性丢失的问题 (21a505a)
  • unity header anchor safe id (d28c488)
  • 复制粘贴代码块的时候会丢失\t (a1179c5)

0.8.12 (2023-01-13)

Features

  • #379 通过引入第三方组件cm-search-replace实现左侧编辑器搜索、替换功能 (3b7d17d)

Bug Fixes

  • #374 光标处于编辑区域最低部时,预览区域滚动到了顶部 (cfdfd0d)
  • #380 修复粘贴时转义&的问题,同时修复粘贴table时出现过多换行的问题\n feat: 当表格thead为空的时候,不再渲染 (266a5f1)

0.8.11 (2022-12-28)

Bug Fixes

  • insert: Fix insert code instruction failure (#373) (a1b3914)

0.8.10 (2022-12-21)

Features

  • #370 增加refreshPreviewer方法,可以强制重新渲染预览区域 (c347640)

Bug Fixes

  • 跨单元格的行内公式、行内代码语法改成不生效 (178a6ac)

0.8.9 (2022-11-29)

Features

  • delete unnecessary observer to adapt old version browers (869963c)
  • localisation support (7ca12b7), closes #217
  • 增加有序列表、无序列表按钮 (f52ff42)

Bug Fixes

0.8.8 (2022-11-08)

Features

  • support more code highlight (#347) (a37c0ac)
  • support protobuf code highlight (ddfd8f6)
  • 增加切换主题的功能,本次提交实现了切换主题、记忆主题功能 (c4eeb34)
  • 增加四个默认的主题 (d068772)

Bug Fixes

  • toolbar: fix missing Toolbar#toolbarHandlers (#349) (e55673f)
  • toolbar: fix missing Toolbar#toolbarHandlers (#349) (4596b4a)
  • 优化拖拽时插入的位置 #338 (d7269fb)
  • 修复设置换行模式的时候有报错,增加换行模式本地记忆功能 #339 (3facef0)
  • 复制代码快功能不再受preview bubble控制 #337 (同时增加图片懒加载的注释) (4dbabd0)
  • 粘贴企业微信内容时编辑器有报错 #336 (d333504)

0.8.7 (2022-11-08)

Features

  • support more code highlight (#347) (a37c0ac)
  • support protobuf code highlight (ddfd8f6)
  • 增加切换主题的功能,本次提交实现了切换主题、记忆主题功能 (c4eeb34)
  • 增加四个默认的主题 (d068772)

Bug Fixes

  • toolbar: fix missing Toolbar#toolbarHandlers (#349) (e55673f)
  • toolbar: fix missing Toolbar#toolbarHandlers (#349) (4596b4a)
  • 优化拖拽时插入的位置 #338 (d7269fb)
  • 修复设置换行模式的时候有报错,增加换行模式本地记忆功能 #339 (3facef0)
  • 复制代码快功能不再受preview bubble控制 #337 (同时增加图片懒加载的注释) (4dbabd0)
  • 粘贴企业微信内容时编辑器有报错 #336 (d333504)

0.8.6 (2022-10-28)

Bug Fixes

  • use appendChild instead of append to adapt chrome version 53 and lower (a21925a)

0.8.5 (2022-10-21)

Features

  • transform header id to avoid being sanitized (#324) (44935d9)
  • 增加上传文件格式限制,优化上传文件回调逻辑,增加视频封面功能 #328 (dbf8788)

Bug Fixes

0.8.4 (2022-10-13)

0.8.3 (2022-10-13)

Bug Fixes

  • husky: init husky in prepare instead of postinstall (37ada7d)

0.8.2 (2022-09-16)

Features

Bug Fixes

  • 懒加载机制没有考虑预览区域完全撑开的情况 (a35ce1b)
  • 修复懒加载时占位图没有展示的问题 (3dd20fe)
  • 自定义菜单有问题,修复并增加例子 #317 #315 (09ccd30)

0.8.1 (2022-09-06)

Bug Fixes

  • 懒加载逻辑不能幂等 (a2198cb)

0.8.0 (2022-09-01)

Features

  • 实现快捷键显示/隐藏toolbar #268 (10cce7d)
  • 通过快捷键来实现显示|隐藏 toolbar 或 设置按钮子菜单隐藏toolbar #268 (8c05a87)
  • 优化字体大小按钮的选区,并增加快捷键 (901db75)
  • 优化toolbar插入内容时的选区逻辑 (3b02d07)

Bug Fixes

0.7.9 (2022-08-12)

Bug Fixes

  • imageLazyLoad: 修复懒加载开关配置 (01543f8)

Css or Code Change

  • remove ambiguous css reset (e159254)

0.7.8 (2022-08-04)

Bug Fixes

0.7.7 (2022-08-04)

Features

  • add ruby syntax (710d65b)
  • eslint: setup husky and lint-staged (487ec2d)
  • support data-cm-atomic for dom plugins (01d51a3)
  • update sidebar style (70d5260)
  • 增加ruby语法(拼音语法)的toolbar和demo (297ef97)
  • 增加新的图片懒加载机制 (735b9cc)

Bug Fixes

  • vdom的style写法有误导致每次都会重建元素 (3ba6f36)
  • 编辑时更新预览时,DOM若存在相邻的 TextNode 会导致文字渲染两次 (4256eb4)

0.7.6 (2022-07-11)

Features

  • 代码块增加复制功能 (ac48904), closes #239
  • 代码块增加复制功能 (856b5fd), closes #239
  • 代码块增加复制功能 更换复制到剪贴板的方法 (ac38a7f)
  • 代码块增加复制功能 更换复制到剪贴板的方法 (0b28b05)
  • 没有选中文字的时候点击工具栏会自动选中光标附近的文字或行 (61ed011), closes #261
  • 增加图片样式(边框、阴影、圆角) (01775bd), closes #264
  • border support for image (6df8fdc)

Bug Fixes

  • 修复可能的报错 (43e4e90)
  • Link hook对url进行排他处理 (767bc80)

0.7.5 (2022-07-01)

Features

  • 把二级菜单里的toolbar开放出来(#199) (95a3e09)
  • 暴露预览区域图片点击事件的回调 (34725a8)
  • 暴露预览区域图片点击事件的回调 (203ff13)
  • emphasis: add chinese punctuations as word's boundary (6d8a769)
  • support configure plantuml args (ec97968)

Code Refactoring

  • build/addons: use rollup to generate addon bundles (86a5705)

0.7.4 (2022-06-07)

Bug Fixes

  • 删除线配置失效,顺便优化注释 (b819667)
  • 只读模式下出现了两个问题(1、只读模式下宽度变成50%了;2、只读模式下可以编辑图片尺寸) (ff46352), closes #246

0.7.3 (2022-05-26)

0.7.1 (2022-05-10)

Features

  • toolbar: add quote hook & optimize quote level implementation (2416e93)
  • 插入有序列表的时候,序号自增 #160 (b49d47a)

Bug Fixes

  • checklist: illegal inline checklist (#200) (f3fa79a)
  • code-block: fix #166 parse hr and indent code (#205) (8320f5b)
  • comment-reference: fix npe problem when there is a comment reference at the beginning of the document (b97fc8f)
  • update blockquote regex to split list (8b86eb3), closes #165
  • update list type regex to avoid content lost (#196) (017dc43), closes #194
  • 修复批量拖拽上传文件没回调就插入内容的bug (20d6ddf)
  • 修复缩进代码块行号计算不准的问题 (fe129b0)
  • 最小高度调整 #207 (58a090b)
  • 增加使用el初始化编辑器的能力 #203 (e48d8e8)
  • 通过工具栏插入内容时,默认选中被插入的内容 #206 (678f695)

0.7.0 (2022-04-12)

Features

Bug Fixes

  • code-block: fix language matching regex (4fa3b43), closes #90
  • link: add bracket match check (2bf3fa8)
  • suggester: fix keydown 'enter' affect the default logic of newlineAndIndentContinueMarkdownList (#190) (ed0a5dd)

0.6.12 (2022-03-23)

Bug Fixes

  • list: use list start number (d93b242)

0.6.11 (2022-03-17)

Bug Fixes

  • replace lookbehind in math regex (4dc2a7e)

0.6.10 (2022-03-17)

0.6.9 (2022-03-14)

Bug Fixes

  • table-head: fix th content not rendering (98ce938)

0.6.8 (2022-02-28)

Features

  • add commonmark test suites (ef2c950)
  • add commonmark test suites (c2e0c56)
  • add commonmark test suites (44287e3)
  • improve content cache for paragraph (a7661d7)

Bug Fixes

  • eslint fix & list test case fix (2b8cb1a)

0.6.7 (2022-02-28)

Features

Bug Fixes

  • add no-escape regex in math (541b210)
  • editor: fix the compatibility issue of cjk ime (#150) (05703a3), closes #82
  • refresh codemirror while toggling fullscreen (a8ed1a4)
  • 修复代码块内嵌套缩进时出现占位字符的情况 (999581e)

0.6.6 (2022-02-18)

Features

Bug Fixes

  • fix README content of engine mode. (4388bfa)
  • list: adapt list cases to avoid array out of boundary (4061e50)

0.6.5 (2022-01-24)

Features

Bug Fixes

  • list: adapt list cases to avoid array out of boundary (4c5a23c)
  • ts file: fix ts file couldn't submit (6ab75b3)

Performance Improvements

  • image: fix poor performance when referencing data-url images (37ac086)

Css or Code Change

0.6.4 (2022-01-13)

0.6.3 (2022-01-12)

Features

  • add force append (c97f65b)
  • api:setValue() 更新内容时支持保持光标位置 (#106) (fa346c8)

Bug Fixes

  • Image: encode poster url (e73403d)
  • list: avoid string collect error while building tree (031a359)

0.6.2 (2022-01-10)

Bug Fixes

Css or Code Change

0.6.1 (2021-12-30)

Features

  • 预览区域跟随编辑区域光标滚动 (#72) (02c500b)
  • suggester: add suggester function (a8c35ed)
  • suggester: improve css (4ab4bb6)
  • suggester: improve css code (b333c71)
  • add eslint jest plugin (23bcbb3)
  • add yarnrc & update dependencies (ba8b5cd)
  • init client project (#53) (9f46acf)
  • use jest for unit test (0b15764)
  • sanitizer: remove jsdom from browser builds & add new commonjs bundle for node env (#62) (c61df0d)

Bug Fixes

  • list: fix magic number (34224a8)
  • list: support checklist && add test case (f4d6a2a)
  • suggester 初始化判断有问题 (cb22da6)
  • custom-syntax: revert get config from customSyntax & fix type error (ebc5aee)

Code Refactoring

  • list: implement list with tree (43ba79a)

0.5.15 (2021-12-12)

Features

  • mocha support typescript & add list unit test (a198733)
  • 在cherry上暴露导出接口,并修复导出没考虑多实例的情况 (e21895b)
  • Export: export toolbar handler api (#38) (360de5f)

Bug Fixes

  • fix cherry overflow & fix customHook could config params on the Cherry config (#61) (1e24f12)
  • 连续多个音视频无法正确解析 (74426b2)
  • 连续多个音视频无法正确解析 (#34) (10008e9)
  • 列表内的行内语法污染了列表 Fixed #40 (#41) (d7546b8)
  • api-demo: basic config undefined (#37) (f269eb3)
  • demo image's url (2c933f1)
  • editor handleUpload has Invalid function parameter problem (1f1d92e)
  • table's space and color picker's 'null' color Fixed #30 (244c190)
  • use replaceLookBehind for bg、color、sub、sup (0bd9229)
  • variable fix in demo scripts (97bf5b5)
  • toolbar: init br button name by options (174a4cd)

0.5.13 (2021-10-27)

Bug Fixes

  • fix dependabot alerts (54f4ab5)
  • menu: avoid infinite loop in get shortcutKeys (#2) (38d387c)
  • plantuml: use svg output to avoid font issue (3bab59a)