Releases: HarryChen0506/react-markdown-editor-lite
Releases · HarryChen0506/react-markdown-editor-lite
v1.3.3
v1.3.2
v1.3.1
v1.3.0
Release note
- Feat: Configure when to trigger onChange
- Feat: Toolbar supports inserting dividers
- Feat: When entering continuous content (such as a list, etc.), the start symbol will be automatically inserted to enhance the editing experience
- Feat: Added cjs and esm products, which can be used more conveniently on demand
- Feat: Support autoFocus attribute
- Fix: React 17 support
- Fix: An error is reported when the component is unmount
- Fix: When there are multiple editors on the page, some behaviors will affect each other
更新内容
- Feat: 可以配置何时触发onChange
- Feat: 工具栏支持插入分隔线
- Feat: 输入连续内容(如列表等)时会自动插入开始符号,提升编辑体验
- Feat: 新增构建 cjs、esm 产物,可以更方便的按需使用
- Feat: 支持autoFocus属性
- Fix: React 17 支持
- Fix: 卸载组件时报错
- Fix: 页面上存在多个编辑器时,一些行为会互相影响
v1.2.4
v1.2.2
v1.2.1
- Feat: split fonts plugin into many small plugins
- Feat: use duplicate plugins now will keep only latest one
- Feat: add onFocus / onBlur / onScroll #133
- Feat: unregister plugins
- Fix: scroll sync #138
- Fix: controlled value not take effect
Break changes
- Controlled value may not take effect in old version, now it works well
- Use duplicate plugins now will keep only latest one
- If you are using
fonts
plugin, please use those plugins instead:
font-bold
font-italic
font-underline
font-strikethrough
list-unordered
list-ordered
block-quote
block-wrap
block-code-inline
block-code-block