Skip to content

Roosterjs 8.10.1

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 08 Oct 21:40
· 2940 commits to master since this release
57cda67

Changes from v8.10.1

Bug fix

  • Fix a VListChain bug, do not change start number of a list that start from 1 when insert another list before (#653)
  • Fix a bug in ImageResize (#654)
  • Fix Paste Gifs when HTML only have one IMG Tag (#658)
  • Fix a conflict issue between list features and entity plugin (#662)

Changes from v8.10.0

New API

  • Shadow DOM entity API (still in experiment)

Improvement

  • Set List Item ::marker styles to be equal as the content when starting new List (#644)

Bug fix

  • Keep image resposive, if not resized (#645)

Interface change

  • New EntityOperation interface members
    • EntityOperation.AddShadowRoot: Notify plugins that editor has attached shadow root for an entity.
    • EntityOperation.RemoveShadowRoot: Notify plugins that editor has removed the shadow root of an entity
  • New EntityOperationEvent interface member
    • EntityOperationEvent.contentForShadowEntity: A document fragment for entity based on Shadow DOM. This property is only available for NewEntity operation.
  • New EntityPluginState interface member
    • EntityPluginState.shadowEntityCache: Cache for the hydrated content of shadow DOM entity
  • New format API
    • setListItemStyle: Set the Style of a List Item provided, with the styles that the inline child elements have.
  • API return value change:
    • IEditor.runAsync: change return value from void to a disposer function