Skip to content

RoosterJs 8.38.0

Compare
Choose a tag to compare
@JiuqingSong JiuqingSong released this 29 Nov 17:44
· 2119 commits to release since this release
b36201b

Bug fix

  • Restore Ctrl+Click behavior on Firefox (#1406)
  • Fix cursor jump bug for auto list format (#1426)
  • Fix dark mode list color lost issue (#1428)
  • Fix numbered list triggering issue (#1425)

Improvement

  • Improve shadow edit behavior where there is entity in editor (#1408)
  • Support customizing default behavior of image edit when image is selected (#1405)
  • Improve clear format behavior (#1415)
  • Support add hyperlink on image (#1427)
  • When paste a table into a table, paste cell style as well (#1431)

Engineering improvement

  • Add test case to HyperLink plugin (#1329)

Interface change

  • New parameter of utility setListItemStyle
    • isCssStyle: True means the given styles are CSS style names, false means they are HTML attributes
  • New entity related API
    • createEntityPlaceholder: Create a placeholder comment node for entity
    • moveContentWithEntityPlaceholders: Move content from a container into a new Document fragment, and try keep entities to be reusable by creating placeholder
    • restoreContentWithEntityPlaceholder: Restore HTML content from a document fragment that may contain entity placeholders
  • New property for interface LifecyclePluginState
    • shadowEditEntities: Cached entity pairs for original content
  • New property for interface ImageEditOptions
    • onSelectState: Which operations will be executed when image is selected