Skip to content

RoosterJs 8.52.0 and RoosterJs Content Model 0.12.0

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 31 Jul 22:19
· 1442 commits to release since this release
cefac4c

Bug fix

  • [Table] Inserted row/column disappear after make changes for the table (#1957)
  • Image edit: Remove style width/height (#1961, #1978)

Improvement

  • Make cell vertical alignment 'top' as default. (#1944)
  • Remove image alternative text when change picture (#1983)

Content Model improvement

  • Paste: Do not inherit styles in Sanitizer, and instead let Content Model Handle the style merge (#1955)
  • Fix #1953 Content Model: Delete the only character loses format under implicit paragraph (#1956_
  • [Table] Aligning whole table not working correctly (#1958)
  • [Format]Switching between bullets and numbering need to click the button twice (#1960)
  • Remove SegmentFormat when merging Heading (#1959)
  • Couple of fixes for Word Online Paste (#1965)
  • Content Model code improvement 3: Refactor List (#1936, #1974)
  • Merge Table on Paste only if the document contains a single element and it is a table (#1968)
  • Add more classNames to the WacElement detection (#1967)
  • Allow custom merge behavior when paste (#1963)
  • Reorganize some code (#1973)
  • Handle key down events in content model only if was not handled by EditFeature (#1972)
  • Bug fix: The inline picture will be also highlighted if text is highlighted (#1979)
  • Bug fix: Highlighting text should remove selection (#1980)
  • Bug fix: Cannot delete multiple entities at once (#1986)
  • Bug fix: [Table]The cursor goes to the end after delete table (#1982)

Engineering improvement

  • Fix line number of test cases (#1962)
  • Demo site improvement for Content Model (#1966)
  • Demo site improvement: Rename FormatPainterPlugin (#1969)
  • Improve test process (#1977)
  • Use Yarn workspace (#1987)
  • Move createFragmentFromClipboardData back to core package (#1989)
  • Try fix test code build issue (#1991)

Interface change

  • New parameter of API extractClipboardItems and interface ClipboartData
    • pasteNativeEvent: Whether the paste event is triggered from native paste event
  • New parameter of API removeMetadata
    • metadataKey: Key of the metadata to remove. If not passed, remove whole metadata object
  • New base interface of interface PluginKeyDownEvent
    • PluginKeyDownEventData: Data of PluginkeyDownEvent
  • New member of interface TableFormat
    • verticalAlign: Vertical align of each cell
  • New member of interface TableCellMetadataFormat
    • vAlignOverride: Whether override the vertical alignment of this cell and do not respect the value of table metadata
  • Removed API (breaking change)
    • createdFragmentFromClipboardData