Skip to content

RoosterJs 7.6.0

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 15 Aug 00:02
· 3577 commits to master since this release
422f63c

New API:

  1. Undo snapshot refactor, export snapshot utilities so that it can be reused
  • createSnapshot()
  • addSnapshot()
  • cancanMoveCurrentSnapshot
  • clearProceedingSnapshots
  • moveCurrentSnapsnot

New Events:

  1. Add event: DarkModeChangedEvent, triggered when switch between light mode and dark mode
  2. Add event: Scroll, triggered when scroll container is scrolled

New Options:

  1. scrollContainer: Specify scroll container of editor

Bug fix:

  1. Fix #328, preserve data-* attribute when clear format
  2. Fix #270: Watermark plugin creates empty trailing div
  3. Fix #277: Insert tag inside a tag, should split outer tag
  4. Fix #330: When replacing links using ctrl-v, link doesnt disappear

Tool improve:

  1. Support auto publish

Other fix

  1. Improve PickerPlugin to be compatible with Android
  2. Do not trigger ContentChangedEvent when set initial content