You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix a bug in setHtmlWithSelectionPath when DOMPurify is used (#605)
Fix a bug in ImageEdit plugin to show better cursor for resize handle
Fix a bug when paste a whole table as image
Fix a bug when paste HTML with a single image
Fix a bug that getComputedStyles() always returns lowercase font name
Interface changes
New ExperimentalFeatures enum value
ExperimentalFeatures.ConvertSingleImageBody: Paste the Html instead of the Img when the Html Body only have one IMG Child node
New TableOperation enum value
TableOperation.AlignCenter
TableOperation.AlignLeft
TableOperation.AlignRight - allow align a table to center/left/right
New ClipboardData interface member
ClipboardData.html.FirstLevelChildTags - Array of tag names of the first level child nodes
New Editor API
IEditor.getPendableFormatState(forceGetStateFromDOM?: boolean): PendableFormatState - Get the pendable format state from the current selection, incluing formats as underline, bold, italics
New Core API Type and member
type GetPendableFormatState = (core: EditorCore, forceGetStateFromDOM: boolean) => PendableFormatState;
CoreApiMap.getPendableFormatState: GetPendableFormatState - Get the pendable format such as underline and bold
New VList API
VList.split(separator: HTMLElement, startNumber: number): void - Sets the New List Start Property, that is going to be used to create a new List in the WriteBack function
VListItem.getNewListStart(): number | undefined - Get the Start Number of the new List
VListItem.setNewListStart(startNumber: number): void - Set the start Number of the new list
New Format API
setOrderedListNumbering(editor: IEditor, separator: HTMLLIElement, startNumber?: number): void - Resets Ordered List Numbering back to the value of the parameter startNumber
blockFormat(editor: IEditor, callback: (region: Region, start: NodePosition, end: NodePosition, chains: VListChain[]) => void, beforeRunCallback?: () => boolean): void - Split selection into regions, and perform a block-wise formatting action for each region.