Skip to content

RoosterJs 8.26.1

Compare
Choose a tag to compare
@juliaroldi juliaroldi released this 01 Jul 00:37
· 2388 commits to master since this release
75db7ee

New features

Improvement

  • Improve demo site #1037
  • Fix dts.js to be compatible for react export #1049
  • Re enable Table Selector is displaying incorrectly above the editors Div #1050
  • Improve PasteOptionPlugin #1054
  • Improve Table Shading Menu #1058

Bug fix

  • Inserting a table after a non content editable entity, makes the table not editable #1038
  • Fix dark mode style for demo site #1041
  • Fix Paste will not replace selected content on Android #925 #1040 #1043
  • Add API name to the ContentChanged Plugin Event that is going to be triggered after using a Format Function #1044
  • Fix #1045 #1046
  • Enable auto list only in the beginning of a sentence #1055
  • Fixed issue with creating link not replacing all selected text - Creating link does not replace the whole selected text #917 #1057
  • Fix #1062 PluginEvent should support CompatiblePluginEventType #1063
  • Remove comment related styles #1068
  • Fix #1067 Need to trigger ContentChangedEvent after resize image #1069

Interface change of roosterjs

  • Separate event types for the existing event to make plugin event support CompatiblePluginEventType:
    • BeforeCutCopyEventData: Data of BeforeCutCopyEvent
    • BeforeCutCopyEvent and CompatibleBeforeCutCopyEvent
    • CompatibleBeforeDisposeEvent
    • BeforePasteEventData: Data of BeforePasteEvent
    • BeforePasteEvent and CompatibleBeforePasteEvent
    • BeforeSetContentEventData: Data of BeforeSetContentEvent
    • BeforeSetContentEvent and CompatibleBeforeSetContentEvent
    • ContentChangedEventData
    • ContentChangedEvent and CompatibleContentChangedEvent
    • EditImageEventData
    • EditImageEvent and CompatibleEditImageEvent
    • CompatibleEditorReadyEvent
    • EntityOperationEventData
    • EntityOperationEvent and CompatibleEntityOperationEvent
    • ExtractContentWithDomEventData
    • ExtractContentWithDomEvent and CompatibleExtractContentWithDomEventData
    • CompatiblePendingFormatStateChangedEvent
    • EnterShadowEditEventData
    • EnterShadowEditEvent and CompatibleEnterShadowEditEvent and CompatibleLeaveShadowEditEvent
    • ZoomChangedEventData
    • ZoomChangedEvent and CompatibleZoomChangedEvent
    • PluginMouseUpEventData
    • PluginContextMenuEventData
    • PluginScrollEventData
    • PluginScrollEvent and CompatiblePluginScrollEvent
    • CompatiblePluginCompositionEvent
    • CompatiblePluginMouseDownEvent
    • CompatiblePluginMouseUpEvent
    • CompatiblePluginContextMenuEvent
    • CompatiblePluginMouseEvent
    • CompatiblePluginKeyDownEvent
    • CompatiblePluginKeyPressEvent
    • CompatiblePluginKeyUpEvent
    • CompatiblePluginKeyboardEvent
    • CompatiblePluginInputEvent
    • CompatiblePluginScrollEvent
    • CompatiblePluginDomEvent

Interface change of roosterjs-react

  • New types for string keys:

    • EmojiStringKeys: Localized string keys for Emoji UI component.
    • TableEditShadeMenuItemStringKey: Key of localized strings of Table Edit Cell Shade menu item.
  • New plugin API:

    • createEmojiPlugin: Create a new instance of Emoji plugin with FluentUI components.
  • New ContextMenuItem parameters:

    • itemRender: Custom render of drop down item
    • itemClassName: CSS class name for drop down menu item
    • commandBarSubMenuProperties: Use this property to pass in Fluent UI ContextMenu property directly. It will overwrite the values of other conflict properties

Full Changelog: v8.25.0...v8.26.1