Skip to content

RoosterJs 8.47.0 and RoosterJs Content Model 0.6.0

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 15 May 17:08
· 1631 commits to release since this release
3862e3b

Improvement

  • Support onenote: and mailto: protocols when pasting links (#1794)
  • Allow focus after entity when insert a new entity (#1792)

Bug fix

  • Ensure list type increases correctly (#1771)
  • Fix TypeError: Cannot read properties of null (reading 'getInlineElementBefore') (#1789)

Graduate experimental features

  • ListItemAlignment (#1765)
  • VariableBasedDarkColor (#1767)

Content Model

Engineering improvement

  • Show a visible border when hover on Cotnent Model in demo site (#1756)

Interface changes

  • New parameter of API insertEntity
    • focusAfterEntity: When pass true, focus will be moved next to the entity. For inline entity, focus will be after right after the entity (and the delimiter if exist). For block entity, focus will be in the new empty line below the entity.
  • New event type and event object
    • BeforeKeyboardEditing: (Experimental feature) Editor content is about to be changed by keyboard event. This is only used by Content Model editing
  • New enum
    • PasteType: Used for paste options to determine which paste option user selected
  • New member in interface BeforePasteEventData
    • pasteType: Pate type option, as plain text, image, merge format or normal