Skip to content

RoosterJs 8.9.0

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 10 Sep 05:40
· 3036 commits to master since this release
77fc593

New features

  1. Support set horizontal and vertical alignment of a table cell
  2. In CustomReplace plugin, add a callback to check if a replacement should be executed

Bug fixes

  1. Do not set text color to default text color when remove format of a hyperlink
  2. Fix #632: Do not convert null initial content to string 'null'
  3. Fix #614: Do not merge list when exit from a list
  4. Fix #631: Better retrieve format state from current position
  5. When exit from a blockquote, resume to default format

Interface change

  1. New TableOperation enum values
    • AlignCellLeft
    • AlignCellCenter
    • AlignCellRight
    • AlignCellTop
    • AlignCellMiddle
    • AlignCellBottom
  2. New public API toggleListType: Toggle List Type at selection
  3. new CustomReplacement interface member
    • shouldReplace: a callback to check if the string should be replaced
  4. New function parameter for function setTextColor:
    • shouldApplyInlineStyle: (Optional) callback function to be invoked to verify if the current element should have the inline Style applied