Skip to content

RoosterJs 8.44.0 and RoosterJs Content Model 0.3.0

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 13 Mar 18:47
· 1979 commits to release since this release
43dcb15

Improvement

Bug fix

  • Fix a null-ref bug in VList (#1611)
  • Prevent table block from passing undefined cell to normalizeContentModel (#1617)

Content Model improvement

  • Support inline CODE style (#1536)
  • Show correct font when jump between table cells (#1612)
  • Fix a bug in normalization (#1613)
  • Fix fidelity issue of list (#1624)
  • Fix format change while editing (#1625)

Interface changes

  • Readonly inline entity delimter related changes:
    • Change parameter type and return type of addDelimiters()
    • New API:
      • addDelimiterBefore
      • addDelimiterAfter
    • Change parameter type of API getDelimiterFromElement
  • New experimental feature
    • ReusableContentModel: Reuse existing DOM structure if possible when convert Content Model back to DOM tree
  • New member in interface ElementBasedFormatState and FormatState:
    • isCodeInline: Whether the text is in Code element
  • New parmater of DarkColorHandler.parseColorValue():
    • isDarkMode: Whether current content is in dark mode. When set to true, if the color value is not in dark var format, we will treat is as a dark mode color and try to find a matched dark mode color.
  • New parameter of core API TransformColor:
    • fromDarkMode: Whether the given content is already in dark mode
  • New content editor features:
    • moveBetweenDelimitersFeature: Content edit feature to move the cursor from Delimiters around Entities when using Right or Left Arrow Keys
    • removeEntityBetweenDelimiters: Content edit Feature to trigger a Delete Entity Operation when one of the Delimiter is about to be removed with DELETE or Backspace