RoosterJs 7.6.0
New API:
- Undo snapshot refactor, export snapshot utilities so that it can be reused
- createSnapshot()
- addSnapshot()
- cancanMoveCurrentSnapshot
- clearProceedingSnapshots
- moveCurrentSnapsnot
New Events:
- Add event: DarkModeChangedEvent, triggered when switch between light mode and dark mode
- Add event: Scroll, triggered when scroll container is scrolled
New Options:
- scrollContainer: Specify scroll container of editor
Bug fix:
- Fix #328, preserve data-* attribute when clear format
- Fix #270: Watermark plugin creates empty trailing div
- Fix #277: Insert tag inside a tag, should split outer tag
- Fix #330: When replacing links using ctrl-v, link doesnt disappear
Tool improve:
- Support auto publish
Other fix
- Improve PickerPlugin to be compatible with Android
- Do not trigger ContentChangedEvent when set initial content