Releases: microsoft/roosterjs
Releases · microsoft/roosterjs
RoosterJs 8.0.0-beta.4
- Reorganized Core API and Core Plugin
- Move dark mode color transformation code into Core API
- Merge AutoCompletePlugin and UndoPlugin
- Add new event BeforeCutCopyEvent, and use it to handle inline image copying
- Integrate latest master branch change
- Tab in last table cell will create a new table row
- Other bug fixes
RoosterJs 8.0.0-beta.3
Move most public interfaces to roosterjs-editor-types package
Add interface for Editor, ContentTraverser and PositionContentSearcher
Fix paste from Excel bug
Fix VList bug
RoosterJs 7.15.2
New API:
- rotateImage
Improvement:
- Support vertical and horizonal table resize
- Support insert table row and column visually
- Press TAB in last cell of table to add a new table row
Bug fix:
- Enter cannot start new list item in Safari with experimental feature enabled
- insert multiple nodes at beginning or ending on new line using insertNode() doesn't work correctly
- Paste from Excel may lose table format
RoosterJs 8.0.0-beta.0
New major release including breaking changes.
- Reorganize all core plugins and some core APIs
- Reorganize all Entity APIs
- Reorganize content edit features
- Refactor ImageResize plugin and Watermark plugin to use Entity API
- Fix bug for VList API: when region is empty, toggleNumbering/toggleBullet don't work
- Fix bug for Position: Position.normalize() doesn't work when node is under fragment
- Fix bug for contains(): When check node under a fragment, it doesn't work in IE
- Remove redundant Editor APIs
- Remove redundant type utils
- Remove all deprecated APIs
- Add test cases for core plugins and core APIs
v7.15.0
v7.14.3
v7.14.2
RoosterJs 7.14.1
Entity plugin and API:
- EntityPlugin
- insertEntity
- createEntityWrapper
- getEntityElement
- getEntityFromElement
- getEntities
Paste API Change
- Existing Paste plugin only handles the format pasted from Word/Excel/OneNote now
- Core paste logic now is handled by a new Core Plugin: CorePastePlugin
- Editor.paste()
- New Core API: createPasteFragment
Html Sanitizer improvement
- HtmlSanitizer.sanitize() can handle DocumentFragment now
- New option: additionalAllowedCssClasses
- New utility: chainSanitizerCallback
- New utility: createDefaultHtmlSanitizerOptions()
- Now dataset properties "data-*" is preversed by default
New Event
- EditiyOperationEvent
- ExtractContentWithDomEvent
Other API Changes
- New Core API: getStyleBasedFormatState
- contains() now supports DocumentFragment as a container
- Editor.getStyleBasedFormatState()
- StyleBasedFormatState now support colors for dark mode
- PickerPlugin supports keydown event for lower version of Andriod (<51)
RoosterJs 7.12.1
Bug fix:
Fix a code bug in queryElements function.
RoosterJs 7.12.0
New API and parameters:
- Region API
- VList API
- Editor.useExperimentFeatures()
- Add parameter "skipTags" for ContentTraverser
- Add parameter "skipTags" for getLeafSibling(), getNextLeafSibling(), getPreviousLeafSibling()
- add Parameter "isFromEndOfRange" for Position, make Position normalization smart
- toArray()
Bug fixes:
- Explicit NaN checks for getTd()
- Add null check in ContentTraverser
- Skip Empty DIV/SPAN when traverse
- Fix checkXss to use getAttribute() for insertLink
- Check actual selected node for queryElements()
- Fix null reference bug when paste content from Word Online
- Fix potential null in tableFeatures