Skip to content

Releases: HarryChen0506/react-markdown-editor-lite

v1.3.3

14 Dec 10:48
02f4a10
Compare
Choose a tag to compare
  • Feat: add new API registerPluginApi unregisterPluginApi callPluginApi
  • Feat: add loggerMaxSize and loggerInterval options
  • Feat: support undo and redo plugin API
  • Fix: onChangeTrigger not take effect
  • Fix: auto complete ordered list not work well

v1.3.2

02 Dec 05:58
Compare
Choose a tag to compare
  • Feat: support className #237
  • Fix: ignore key-down Enter during composing #240

v1.3.1

02 Dec 05:56
Compare
Choose a tag to compare
  • Fix: uuid error

v1.3.0

05 Jul 02:42
0ba874e
Compare
Choose a tag to compare

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

04 Jan 07:13
Compare
Choose a tag to compare
  • Feat: support insert Tab #177

v1.2.2

04 Aug 08:12
Compare
Choose a tag to compare
  • Feat: support more shortcuts (#147)
  • Fix: wrong value when renderHTML is async (#145)
  • Fix: infinite loop in special circumstances

v1.2.1

05 Jul 15:55
Compare
Choose a tag to compare
  • 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

v1.1.5

15 Jun 13:35
Compare
Choose a tag to compare

Feat: add id #128

v1.1.4

05 Jun 11:34
Compare
Choose a tag to compare
  • Fix: ts error
  • Chore: use english comments

v1.1.3

05 Jun 11:34
f5453c0
Compare
Choose a tag to compare
  • Chore: list react as peerDependencies