roosterjs-editor-types
Advanced tools
Comparing version 6.3.6 to 6.4.0
@@ -6,12 +6,13 @@ declare const enum PluginEventType { | ||
CompositionEnd = 3, | ||
MouseUp = 4, | ||
ContentChanged = 5, | ||
MouseOver = 6, | ||
MouseOut = 7, | ||
Paste = 8, | ||
Copy = 9, | ||
Focus = 10, | ||
Blur = 11, | ||
ExtractContent = 12, | ||
MouseDown = 4, | ||
MouseUp = 5, | ||
ContentChanged = 6, | ||
MouseOver = 7, | ||
MouseOut = 8, | ||
Paste = 9, | ||
Copy = 10, | ||
Focus = 11, | ||
Blur = 12, | ||
ExtractContent = 13, | ||
} | ||
export default PluginEventType; |
@@ -14,24 +14,26 @@ "use strict"; | ||
PluginEventType[PluginEventType["CompositionEnd"] = 3] = "CompositionEnd"; | ||
// HTML MouseDown event | ||
PluginEventType[PluginEventType["MouseDown"] = 4] = "MouseDown"; | ||
// HTML MouseUp event | ||
PluginEventType[PluginEventType["MouseUp"] = 4] = "MouseUp"; | ||
PluginEventType[PluginEventType["MouseUp"] = 5] = "MouseUp"; | ||
// Content changed event | ||
PluginEventType[PluginEventType["ContentChanged"] = 5] = "ContentChanged"; | ||
PluginEventType[PluginEventType["ContentChanged"] = 6] = "ContentChanged"; | ||
// HTML MouseOver event | ||
PluginEventType[PluginEventType["MouseOver"] = 6] = "MouseOver"; | ||
PluginEventType[PluginEventType["MouseOver"] = 7] = "MouseOver"; | ||
// HTML MouseOut event | ||
PluginEventType[PluginEventType["MouseOut"] = 7] = "MouseOut"; | ||
PluginEventType[PluginEventType["MouseOut"] = 8] = "MouseOut"; | ||
// HTML Paste event | ||
PluginEventType[PluginEventType["Paste"] = 8] = "Paste"; | ||
PluginEventType[PluginEventType["Paste"] = 9] = "Paste"; | ||
// HTML Copy event | ||
PluginEventType[PluginEventType["Copy"] = 9] = "Copy"; | ||
PluginEventType[PluginEventType["Copy"] = 10] = "Copy"; | ||
// HTML Focus event | ||
PluginEventType[PluginEventType["Focus"] = 10] = "Focus"; | ||
PluginEventType[PluginEventType["Focus"] = 11] = "Focus"; | ||
// HTML blur event | ||
PluginEventType[PluginEventType["Blur"] = 11] = "Blur"; | ||
PluginEventType[PluginEventType["Blur"] = 12] = "Blur"; | ||
// Extract Content event | ||
// This event is triggered when getContent() is called with triggerExtractContentEvent = true | ||
// Plugin can handle this event to remove the UI only markups to return clean HTML | ||
PluginEventType[PluginEventType["ExtractContent"] = 12] = "ExtractContent"; | ||
PluginEventType[PluginEventType["ExtractContent"] = 13] = "ExtractContent"; | ||
})(PluginEventType || (PluginEventType = {})); | ||
exports.default = PluginEventType; | ||
//# sourceMappingURL=PluginEventType.js.map |
interface FormatState { | ||
fontName: string; | ||
fontSize: string; | ||
isBold: boolean; | ||
isItalic: boolean; | ||
isUnderline: boolean; | ||
backgroundColor: string; | ||
textColor: string; | ||
isBullet: boolean; | ||
isNumbering: boolean; | ||
isStrikeThrough: boolean; | ||
isBlockQuote: boolean; | ||
isSubscript: boolean; | ||
isSuperscript: boolean; | ||
canUnlink: boolean; | ||
canAddImageAltText: boolean; | ||
canUndo: boolean; | ||
canRedo: boolean; | ||
fontName?: string; | ||
fontSize?: string; | ||
isBold?: boolean; | ||
isItalic?: boolean; | ||
isUnderline?: boolean; | ||
backgroundColor?: string; | ||
textColor?: string; | ||
isBullet?: boolean; | ||
isNumbering?: boolean; | ||
isStrikeThrough?: boolean; | ||
isBlockQuote?: boolean; | ||
isSubscript?: boolean; | ||
isSuperscript?: boolean; | ||
canUnlink?: boolean; | ||
canAddImageAltText?: boolean; | ||
canUndo?: boolean; | ||
canRedo?: boolean; | ||
headerLevel?: number; | ||
} | ||
export default FormatState; |
@@ -6,3 +6,3 @@ { | ||
"main": "./lib/index.js", | ||
"version": "6.3.6", | ||
"version": "6.4.0", | ||
"typings": "./lib/index.d.ts", | ||
@@ -9,0 +9,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
28867
502