roosterjs-content-model-core 0.25.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (967) hide show
  1. package/lib/constants/BulletListType.d.ts +49 -49
  2. package/lib/constants/BulletListType.js +52 -52
  3. package/lib/constants/BulletListType.js.map +1 -1
  4. package/lib/constants/ChangeSource.d.ts +59 -59
  5. package/lib/constants/ChangeSource.js +62 -62
  6. package/lib/constants/ChangeSource.js.map +1 -1
  7. package/lib/constants/NumberingListType.d.ts +93 -93
  8. package/lib/constants/NumberingListType.js +96 -96
  9. package/lib/constants/NumberingListType.js.map +1 -1
  10. package/lib/constants/TableBorderFormat.d.ts +81 -81
  11. package/lib/constants/TableBorderFormat.js +84 -84
  12. package/lib/constants/TableBorderFormat.js.map +1 -1
  13. package/lib/coreApi/addUndoSnapshot.d.ts +11 -11
  14. package/lib/coreApi/addUndoSnapshot.js +32 -32
  15. package/lib/coreApi/addUndoSnapshot.js.map +1 -1
  16. package/lib/coreApi/attachDomEvent.d.ts +10 -10
  17. package/lib/coreApi/attachDomEvent.js +35 -35
  18. package/lib/coreApi/attachDomEvent.js.map +1 -1
  19. package/lib/coreApi/createContentModel.d.ts +9 -9
  20. package/lib/coreApi/createContentModel.js +40 -40
  21. package/lib/coreApi/createContentModel.js.map +1 -1
  22. package/lib/coreApi/createEditorContext.d.ts +6 -6
  23. package/lib/coreApi/createEditorContext.js +40 -31
  24. package/lib/coreApi/createEditorContext.js.map +1 -1
  25. package/lib/coreApi/focus.d.ts +7 -7
  26. package/lib/coreApi/focus.js +22 -22
  27. package/lib/coreApi/focus.js.map +1 -1
  28. package/lib/coreApi/formatContentModel.d.ts +12 -12
  29. package/lib/coreApi/formatContentModel.js +119 -117
  30. package/lib/coreApi/formatContentModel.js.map +1 -1
  31. package/lib/coreApi/getDOMSelection.d.ts +5 -5
  32. package/lib/coreApi/getDOMSelection.js +39 -39
  33. package/lib/coreApi/getDOMSelection.js.map +1 -1
  34. package/lib/coreApi/getVisibleViewport.d.ts +7 -7
  35. package/lib/coreApi/getVisibleViewport.js +64 -64
  36. package/lib/coreApi/getVisibleViewport.js.map +1 -1
  37. package/lib/coreApi/hasFocus.d.ts +8 -8
  38. package/lib/coreApi/hasFocus.js +14 -14
  39. package/lib/coreApi/hasFocus.js.map +1 -1
  40. package/lib/coreApi/paste.d.ts +9 -9
  41. package/lib/coreApi/paste.js +48 -48
  42. package/lib/coreApi/paste.js.map +1 -1
  43. package/lib/coreApi/restoreUndoSnapshot.d.ts +8 -8
  44. package/lib/coreApi/restoreUndoSnapshot.js +35 -35
  45. package/lib/coreApi/restoreUndoSnapshot.js.map +1 -1
  46. package/lib/coreApi/setContentModel.d.ts +9 -9
  47. package/lib/coreApi/setContentModel.js +34 -34
  48. package/lib/coreApi/setContentModel.js.map +1 -1
  49. package/lib/coreApi/setDOMSelection.d.ts +5 -5
  50. package/lib/coreApi/setDOMSelection.js +162 -162
  51. package/lib/coreApi/setDOMSelection.js.map +1 -1
  52. package/lib/coreApi/switchShadowEdit.d.ts +8 -8
  53. package/lib/coreApi/switchShadowEdit.js +45 -45
  54. package/lib/coreApi/switchShadowEdit.js.map +1 -1
  55. package/lib/coreApi/triggerEvent.d.ts +9 -9
  56. package/lib/coreApi/triggerEvent.js +36 -36
  57. package/lib/coreApi/triggerEvent.js.map +1 -1
  58. package/lib/corePlugin/CachePlugin.d.ts +8 -0
  59. package/lib/corePlugin/{ContentModelCachePlugin.js → CachePlugin.js} +157 -157
  60. package/lib/corePlugin/CachePlugin.js.map +1 -0
  61. package/lib/corePlugin/ContextMenuPlugin.d.ts +6 -6
  62. package/lib/corePlugin/ContextMenuPlugin.js +111 -111
  63. package/lib/corePlugin/ContextMenuPlugin.js.map +1 -1
  64. package/{lib-amd/corePlugin/ContentModelCopyPastePlugin.d.ts → lib/corePlugin/CopyPastePlugin.d.ts} +22 -22
  65. package/lib/corePlugin/{ContentModelCopyPastePlugin.js → CopyPastePlugin.js} +272 -270
  66. package/lib/corePlugin/CopyPastePlugin.js.map +1 -0
  67. package/lib/corePlugin/DOMEventPlugin.d.ts +8 -8
  68. package/lib/corePlugin/DOMEventPlugin.js +200 -193
  69. package/lib/corePlugin/DOMEventPlugin.js.map +1 -1
  70. package/lib/corePlugin/EntityPlugin.d.ts +6 -6
  71. package/lib/corePlugin/EntityPlugin.js +221 -213
  72. package/lib/corePlugin/EntityPlugin.js.map +1 -1
  73. package/lib/corePlugin/FormatPlugin.d.ts +7 -0
  74. package/lib/corePlugin/FormatPlugin.js +189 -0
  75. package/lib/corePlugin/FormatPlugin.js.map +1 -0
  76. package/lib/corePlugin/LifecyclePlugin.d.ts +8 -8
  77. package/lib/corePlugin/LifecyclePlugin.js +113 -113
  78. package/lib/corePlugin/LifecyclePlugin.js.map +1 -1
  79. package/lib/corePlugin/SelectionPlugin.d.ts +7 -7
  80. package/lib/corePlugin/SelectionPlugin.js +168 -168
  81. package/lib/corePlugin/SelectionPlugin.js.map +1 -1
  82. package/lib/corePlugin/UndoPlugin.d.ts +7 -7
  83. package/lib/corePlugin/UndoPlugin.js +220 -221
  84. package/lib/corePlugin/UndoPlugin.js.map +1 -1
  85. package/lib/corePlugin/createStandaloneEditorCorePlugins.d.ts +7 -7
  86. package/lib/corePlugin/createStandaloneEditorCorePlugins.js +31 -31
  87. package/lib/corePlugin/createStandaloneEditorCorePlugins.js.map +1 -1
  88. package/lib/corePlugin/utils/addRangeToSelection.d.ts +4 -4
  89. package/lib/corePlugin/utils/addRangeToSelection.js +21 -21
  90. package/lib/corePlugin/utils/addRangeToSelection.js.map +1 -1
  91. package/lib/corePlugin/utils/applyDefaultFormat.d.ts +8 -8
  92. package/lib/corePlugin/utils/applyDefaultFormat.js +53 -78
  93. package/lib/corePlugin/utils/applyDefaultFormat.js.map +1 -1
  94. package/lib/corePlugin/utils/applyPendingFormat.d.ts +8 -8
  95. package/lib/corePlugin/utils/applyPendingFormat.js +50 -50
  96. package/lib/corePlugin/utils/applyPendingFormat.js.map +1 -1
  97. package/lib/corePlugin/utils/areSameSelection.d.ts +6 -6
  98. package/lib/corePlugin/utils/areSameSelection.js +35 -35
  99. package/lib/corePlugin/utils/areSameSelection.js.map +1 -1
  100. package/lib/corePlugin/utils/deleteEmptyList.d.ts +7 -7
  101. package/lib/corePlugin/utils/deleteEmptyList.js +43 -43
  102. package/lib/corePlugin/utils/deleteEmptyList.js.map +1 -1
  103. package/lib/corePlugin/utils/domIndexerImpl.d.ts +6 -0
  104. package/lib/corePlugin/utils/{contentModelDomIndexer.js → domIndexerImpl.js} +190 -190
  105. package/lib/corePlugin/utils/domIndexerImpl.js.map +1 -0
  106. package/lib/corePlugin/utils/entityDelimiterUtils.d.ts +27 -0
  107. package/lib/corePlugin/utils/entityDelimiterUtils.js +259 -0
  108. package/lib/corePlugin/utils/entityDelimiterUtils.js.map +1 -0
  109. package/lib/corePlugin/utils/findAllEntities.d.ts +5 -5
  110. package/lib/corePlugin/utils/findAllEntities.js +42 -42
  111. package/lib/corePlugin/utils/findAllEntities.js.map +1 -1
  112. package/lib/corePlugin/utils/textMutationObserver.d.ts +5 -5
  113. package/lib/corePlugin/utils/textMutationObserver.js +42 -42
  114. package/lib/corePlugin/utils/textMutationObserver.js.map +1 -1
  115. package/lib/editor/DOMHelperImpl.d.ts +5 -5
  116. package/lib/editor/DOMHelperImpl.js +48 -31
  117. package/lib/editor/DOMHelperImpl.js.map +1 -1
  118. package/lib/editor/DarkColorHandlerImpl.d.ts +5 -5
  119. package/lib/editor/DarkColorHandlerImpl.js +49 -49
  120. package/lib/editor/DarkColorHandlerImpl.js.map +1 -1
  121. package/lib/editor/SnapshotsManagerImpl.d.ts +7 -7
  122. package/lib/editor/SnapshotsManagerImpl.js +109 -109
  123. package/lib/editor/SnapshotsManagerImpl.js.map +1 -1
  124. package/lib/editor/StandaloneEditor.d.ts +165 -162
  125. package/lib/editor/StandaloneEditor.js +314 -310
  126. package/lib/editor/StandaloneEditor.js.map +1 -1
  127. package/lib/editor/createStandaloneEditorCore.d.ts +17 -17
  128. package/lib/editor/createStandaloneEditorCore.js +84 -73
  129. package/lib/editor/createStandaloneEditorCore.js.map +1 -1
  130. package/lib/editor/createStandaloneEditorDefaultSettings.d.ts +13 -13
  131. package/lib/editor/createStandaloneEditorDefaultSettings.js +47 -47
  132. package/lib/editor/createStandaloneEditorDefaultSettings.js.map +1 -1
  133. package/lib/editor/standaloneCoreApiMap.d.ts +6 -6
  134. package/lib/editor/standaloneCoreApiMap.js +39 -39
  135. package/lib/editor/standaloneCoreApiMap.js.map +1 -1
  136. package/lib/index.d.ts +40 -38
  137. package/lib/index.js +95 -90
  138. package/lib/index.js.map +1 -1
  139. package/lib/metadata/definitionCreators.d.ts +48 -48
  140. package/lib/metadata/definitionCreators.js +94 -94
  141. package/lib/metadata/definitionCreators.js.map +1 -1
  142. package/lib/metadata/updateImageMetadata.d.ts +7 -7
  143. package/lib/metadata/updateImageMetadata.js +27 -27
  144. package/lib/metadata/updateImageMetadata.js.map +1 -1
  145. package/lib/metadata/updateListMetadata.d.ts +22 -22
  146. package/lib/metadata/updateListMetadata.js +206 -197
  147. package/lib/metadata/updateListMetadata.js.map +1 -1
  148. package/lib/metadata/updateTableCellMetadata.d.ts +7 -7
  149. package/lib/metadata/updateTableCellMetadata.js +19 -19
  150. package/lib/metadata/updateTableCellMetadata.js.map +1 -1
  151. package/lib/metadata/updateTableMetadata.d.ts +7 -7
  152. package/lib/metadata/updateTableMetadata.js +31 -31
  153. package/lib/metadata/updateTableMetadata.js.map +1 -1
  154. package/lib/modelApi/edit/deleteExpandedSelection.d.ts +7 -7
  155. package/lib/modelApi/edit/deleteExpandedSelection.js +99 -99
  156. package/lib/modelApi/edit/deleteExpandedSelection.js.map +1 -1
  157. package/lib/modelApi/edit/deleteSingleChar.d.ts +4 -4
  158. package/lib/modelApi/edit/deleteSingleChar.js +35 -35
  159. package/lib/modelApi/edit/deleteSingleChar.js.map +1 -1
  160. package/lib/override/containerSizeFormatParser.d.ts +5 -5
  161. package/lib/override/containerSizeFormatParser.js +14 -14
  162. package/lib/override/containerSizeFormatParser.js.map +1 -1
  163. package/lib/override/pasteCopyBlockEntityParser.d.ts +9 -0
  164. package/lib/override/pasteCopyBlockEntityParser.js +38 -0
  165. package/lib/override/pasteCopyBlockEntityParser.js.map +1 -0
  166. package/lib/override/pasteDisplayFormatParser.d.ts +5 -5
  167. package/lib/override/pasteDisplayFormatParser.js +13 -13
  168. package/lib/override/pasteDisplayFormatParser.js.map +1 -1
  169. package/lib/override/pasteEntityProcessor.d.ts +5 -5
  170. package/lib/override/pasteEntityProcessor.js +23 -23
  171. package/lib/override/pasteEntityProcessor.js.map +1 -1
  172. package/lib/override/pasteGeneralProcessor.d.ts +9 -9
  173. package/lib/override/pasteGeneralProcessor.js +40 -40
  174. package/lib/override/pasteGeneralProcessor.js.map +1 -1
  175. package/lib/override/pasteTextProcessor.d.ts +5 -5
  176. package/lib/override/pasteTextProcessor.js +16 -16
  177. package/lib/override/pasteTextProcessor.js.map +1 -1
  178. package/lib/override/reducedModelChildProcessor.d.ts +21 -21
  179. package/lib/override/reducedModelChildProcessor.js +65 -65
  180. package/lib/override/reducedModelChildProcessor.js.map +1 -1
  181. package/lib/override/tablePreProcessor.d.ts +5 -5
  182. package/lib/override/tablePreProcessor.js +24 -24
  183. package/lib/override/tablePreProcessor.js.map +1 -1
  184. package/lib/publicApi/color/transformColor.d.ts +9 -9
  185. package/lib/publicApi/color/transformColor.js +40 -40
  186. package/lib/publicApi/color/transformColor.js.map +1 -1
  187. package/lib/publicApi/domUtils/borderValues.d.ts +13 -13
  188. package/lib/publicApi/domUtils/borderValues.js +47 -47
  189. package/lib/publicApi/domUtils/borderValues.js.map +1 -1
  190. package/lib/publicApi/domUtils/eventUtils.d.ts +20 -20
  191. package/lib/publicApi/domUtils/eventUtils.js +48 -48
  192. package/lib/publicApi/domUtils/eventUtils.js.map +1 -1
  193. package/lib/publicApi/domUtils/getSegmentTextFormat.d.ts +7 -7
  194. package/lib/publicApi/domUtils/getSegmentTextFormat.js +32 -32
  195. package/lib/publicApi/domUtils/getSegmentTextFormat.js.map +1 -1
  196. package/lib/publicApi/domUtils/readFile.d.ts +7 -7
  197. package/lib/publicApi/domUtils/readFile.js +22 -22
  198. package/lib/publicApi/domUtils/readFile.js.map +1 -1
  199. package/lib/publicApi/domUtils/stringUtil.d.ts +18 -18
  200. package/lib/publicApi/domUtils/stringUtil.js +34 -34
  201. package/lib/publicApi/domUtils/stringUtil.js.map +1 -1
  202. package/lib/publicApi/domUtils/tableCellUtils.d.ts +13 -13
  203. package/lib/publicApi/domUtils/tableCellUtils.js +56 -56
  204. package/lib/publicApi/domUtils/tableCellUtils.js.map +1 -1
  205. package/lib/publicApi/format/retrieveModelFormatState.d.ts +8 -0
  206. package/lib/publicApi/format/retrieveModelFormatState.js +178 -0
  207. package/lib/publicApi/format/retrieveModelFormatState.js.map +1 -0
  208. package/lib/publicApi/model/cloneModel.d.ts +30 -30
  209. package/lib/publicApi/model/cloneModel.js +206 -206
  210. package/lib/publicApi/model/cloneModel.js.map +1 -1
  211. package/lib/publicApi/model/createModelFromHtml.d.ts +9 -9
  212. package/lib/publicApi/model/createModelFromHtml.js +30 -21
  213. package/lib/publicApi/model/createModelFromHtml.js.map +1 -1
  214. package/lib/publicApi/model/exportContent.d.ts +10 -0
  215. package/lib/publicApi/model/exportContent.js +33 -0
  216. package/lib/publicApi/model/exportContent.js.map +1 -0
  217. package/lib/publicApi/model/getClosestAncestorBlockGroupIndex.d.ts +12 -12
  218. package/lib/publicApi/model/getClosestAncestorBlockGroupIndex.js +27 -27
  219. package/lib/publicApi/model/getClosestAncestorBlockGroupIndex.js.map +1 -1
  220. package/lib/publicApi/model/isBlockGroupOfType.d.ts +8 -8
  221. package/lib/publicApi/model/isBlockGroupOfType.js +13 -13
  222. package/lib/publicApi/model/isBlockGroupOfType.js.map +1 -1
  223. package/lib/publicApi/model/isBold.d.ts +5 -5
  224. package/lib/publicApi/model/isBold.js +11 -11
  225. package/lib/publicApi/model/isBold.js.map +1 -1
  226. package/lib/publicApi/model/mergeModel.d.ts +36 -36
  227. package/lib/publicApi/model/mergeModel.js +261 -261
  228. package/lib/publicApi/model/mergeModel.js.map +1 -1
  229. package/lib/publicApi/selection/collectSelections.d.ts +54 -50
  230. package/lib/publicApi/selection/collectSelections.js +183 -181
  231. package/lib/publicApi/selection/collectSelections.js.map +1 -1
  232. package/lib/publicApi/selection/deleteBlock.d.ts +11 -11
  233. package/lib/publicApi/selection/deleteBlock.js +58 -58
  234. package/lib/publicApi/selection/deleteBlock.js.map +1 -1
  235. package/lib/publicApi/selection/deleteSegment.d.ts +10 -10
  236. package/lib/publicApi/selection/deleteSegment.js +88 -88
  237. package/lib/publicApi/selection/deleteSegment.js.map +1 -1
  238. package/lib/publicApi/selection/deleteSelection.d.ts +9 -9
  239. package/lib/publicApi/selection/deleteSelection.js +41 -41
  240. package/lib/publicApi/selection/deleteSelection.js.map +1 -1
  241. package/lib/publicApi/selection/getSelectionRootNode.d.ts +9 -9
  242. package/lib/publicApi/selection/getSelectionRootNode.js +22 -22
  243. package/lib/publicApi/selection/getSelectionRootNode.js.map +1 -1
  244. package/lib/publicApi/selection/hasSelectionInBlock.d.ts +6 -6
  245. package/lib/publicApi/selection/hasSelectionInBlock.js +24 -24
  246. package/lib/publicApi/selection/hasSelectionInBlock.js.map +1 -1
  247. package/lib/publicApi/selection/hasSelectionInBlockGroup.d.ts +6 -6
  248. package/lib/publicApi/selection/hasSelectionInBlockGroup.js +17 -17
  249. package/lib/publicApi/selection/hasSelectionInBlockGroup.js.map +1 -1
  250. package/lib/publicApi/selection/hasSelectionInSegment.d.ts +6 -6
  251. package/lib/publicApi/selection/hasSelectionInSegment.js +12 -12
  252. package/lib/publicApi/selection/hasSelectionInSegment.js.map +1 -1
  253. package/lib/publicApi/selection/iterateSelections.d.ts +48 -48
  254. package/lib/publicApi/selection/iterateSelections.js +144 -144
  255. package/lib/publicApi/selection/iterateSelections.js.map +1 -1
  256. package/lib/publicApi/selection/setSelection.d.ts +8 -8
  257. package/lib/publicApi/selection/setSelection.js +130 -130
  258. package/lib/publicApi/selection/setSelection.js.map +1 -1
  259. package/lib/publicApi/table/applyTableFormat.d.ts +8 -8
  260. package/lib/publicApi/table/applyTableFormat.js +242 -242
  261. package/lib/publicApi/table/applyTableFormat.js.map +1 -1
  262. package/lib/publicApi/table/getSelectedCells.d.ts +6 -6
  263. package/lib/publicApi/table/getSelectedCells.js +32 -32
  264. package/lib/publicApi/table/getSelectedCells.js.map +1 -1
  265. package/lib/publicApi/table/normalizeTable.d.ts +13 -13
  266. package/lib/publicApi/table/normalizeTable.js +120 -120
  267. package/lib/publicApi/table/normalizeTable.js.map +1 -1
  268. package/lib/publicApi/table/setTableCellBackgroundColor.d.ts +9 -9
  269. package/lib/publicApi/table/setTableCellBackgroundColor.js +120 -120
  270. package/lib/publicApi/table/setTableCellBackgroundColor.js.map +1 -1
  271. package/lib/publicApi/undo/redo.d.ts +6 -6
  272. package/lib/publicApi/undo/redo.js +16 -16
  273. package/lib/publicApi/undo/redo.js.map +1 -1
  274. package/lib/publicApi/undo/undo.d.ts +6 -6
  275. package/lib/publicApi/undo/undo.js +19 -19
  276. package/lib/publicApi/undo/undo.js.map +1 -1
  277. package/lib/utils/convertInlineCss.d.ts +15 -0
  278. package/lib/utils/{paste/convertInlineCss.js → convertInlineCss.js} +63 -40
  279. package/lib/utils/convertInlineCss.js.map +1 -0
  280. package/lib/utils/createDomToModelContextForSanitizing.d.ts +5 -0
  281. package/lib/utils/createDomToModelContextForSanitizing.js +44 -0
  282. package/lib/utils/createDomToModelContextForSanitizing.js.map +1 -0
  283. package/lib/utils/createSnapshotSelection.d.ts +5 -5
  284. package/lib/utils/createSnapshotSelection.js +167 -167
  285. package/lib/utils/createSnapshotSelection.js.map +1 -1
  286. package/lib/utils/extractClipboardItems.d.ts +9 -9
  287. package/lib/utils/extractClipboardItems.js +83 -83
  288. package/lib/utils/extractClipboardItems.js.map +1 -1
  289. package/lib/utils/paste/createPasteFragment.d.ts +5 -5
  290. package/lib/utils/paste/createPasteFragment.js +75 -75
  291. package/lib/utils/paste/createPasteFragment.js.map +1 -1
  292. package/lib/utils/paste/generatePasteOptionFromPlugins.d.ts +6 -6
  293. package/lib/utils/paste/generatePasteOptionFromPlugins.js +33 -33
  294. package/lib/utils/paste/generatePasteOptionFromPlugins.js.map +1 -1
  295. package/lib/utils/paste/mergePasteContent.d.ts +5 -5
  296. package/lib/utils/paste/mergePasteContent.js +65 -81
  297. package/lib/utils/paste/mergePasteContent.js.map +1 -1
  298. package/lib/utils/paste/retrieveHtmlInfo.d.ts +15 -21
  299. package/lib/utils/paste/retrieveHtmlInfo.js +68 -86
  300. package/lib/utils/paste/retrieveHtmlInfo.js.map +1 -1
  301. package/lib/utils/restoreSnapshotColors.d.ts +5 -5
  302. package/lib/utils/restoreSnapshotColors.js +15 -15
  303. package/lib/utils/restoreSnapshotColors.js.map +1 -1
  304. package/lib/utils/restoreSnapshotHTML.d.ts +5 -5
  305. package/lib/utils/restoreSnapshotHTML.js +80 -60
  306. package/lib/utils/restoreSnapshotHTML.js.map +1 -1
  307. package/lib/utils/restoreSnapshotSelection.d.ts +5 -5
  308. package/lib/utils/restoreSnapshotSelection.js +72 -72
  309. package/lib/utils/restoreSnapshotSelection.js.map +1 -1
  310. package/lib/utils/sanitizeElement.d.ts +17 -17
  311. package/lib/utils/sanitizeElement.js +351 -351
  312. package/lib/utils/sanitizeElement.js.map +1 -1
  313. package/lib-amd/constants/BulletListType.d.ts +49 -49
  314. package/lib-amd/constants/BulletListType.js +54 -54
  315. package/lib-amd/constants/BulletListType.js.map +1 -1
  316. package/lib-amd/constants/ChangeSource.d.ts +59 -59
  317. package/lib-amd/constants/ChangeSource.js +64 -64
  318. package/lib-amd/constants/ChangeSource.js.map +1 -1
  319. package/lib-amd/constants/NumberingListType.d.ts +93 -93
  320. package/lib-amd/constants/NumberingListType.js +98 -98
  321. package/lib-amd/constants/NumberingListType.js.map +1 -1
  322. package/lib-amd/constants/TableBorderFormat.d.ts +81 -81
  323. package/lib-amd/constants/TableBorderFormat.js +86 -86
  324. package/lib-amd/constants/TableBorderFormat.js.map +1 -1
  325. package/lib-amd/coreApi/addUndoSnapshot.d.ts +11 -11
  326. package/lib-amd/coreApi/addUndoSnapshot.js +33 -33
  327. package/lib-amd/coreApi/addUndoSnapshot.js.map +1 -1
  328. package/lib-amd/coreApi/attachDomEvent.d.ts +10 -10
  329. package/lib-amd/coreApi/attachDomEvent.js +36 -36
  330. package/lib-amd/coreApi/attachDomEvent.js.map +1 -1
  331. package/lib-amd/coreApi/createContentModel.d.ts +9 -9
  332. package/lib-amd/coreApi/createContentModel.js +40 -40
  333. package/lib-amd/coreApi/createContentModel.js.map +1 -1
  334. package/lib-amd/coreApi/createEditorContext.d.ts +6 -6
  335. package/lib-amd/coreApi/createEditorContext.js +41 -33
  336. package/lib-amd/coreApi/createEditorContext.js.map +1 -1
  337. package/lib-amd/coreApi/focus.d.ts +7 -7
  338. package/lib-amd/coreApi/focus.js +24 -24
  339. package/lib-amd/coreApi/focus.js.map +1 -1
  340. package/lib-amd/coreApi/formatContentModel.d.ts +12 -12
  341. package/lib-amd/coreApi/formatContentModel.js +119 -117
  342. package/lib-amd/coreApi/formatContentModel.js.map +1 -1
  343. package/lib-amd/coreApi/getDOMSelection.d.ts +5 -5
  344. package/lib-amd/coreApi/getDOMSelection.js +41 -41
  345. package/lib-amd/coreApi/getDOMSelection.js.map +1 -1
  346. package/lib-amd/coreApi/getVisibleViewport.d.ts +7 -7
  347. package/lib-amd/coreApi/getVisibleViewport.js +65 -65
  348. package/lib-amd/coreApi/getVisibleViewport.js.map +1 -1
  349. package/lib-amd/coreApi/hasFocus.d.ts +8 -8
  350. package/lib-amd/coreApi/hasFocus.js +16 -16
  351. package/lib-amd/coreApi/hasFocus.js.map +1 -1
  352. package/lib-amd/coreApi/paste.d.ts +9 -9
  353. package/lib-amd/coreApi/paste.js +44 -44
  354. package/lib-amd/coreApi/paste.js.map +1 -1
  355. package/lib-amd/coreApi/restoreUndoSnapshot.d.ts +8 -8
  356. package/lib-amd/coreApi/restoreUndoSnapshot.js +33 -33
  357. package/lib-amd/coreApi/restoreUndoSnapshot.js.map +1 -1
  358. package/lib-amd/coreApi/setContentModel.d.ts +9 -9
  359. package/lib-amd/coreApi/setContentModel.js +35 -35
  360. package/lib-amd/coreApi/setContentModel.js.map +1 -1
  361. package/lib-amd/coreApi/setDOMSelection.d.ts +5 -5
  362. package/lib-amd/coreApi/setDOMSelection.js +161 -161
  363. package/lib-amd/coreApi/setDOMSelection.js.map +1 -1
  364. package/lib-amd/coreApi/switchShadowEdit.d.ts +8 -8
  365. package/lib-amd/coreApi/switchShadowEdit.js +45 -45
  366. package/lib-amd/coreApi/switchShadowEdit.js.map +1 -1
  367. package/lib-amd/coreApi/triggerEvent.d.ts +9 -9
  368. package/lib-amd/coreApi/triggerEvent.js +38 -38
  369. package/lib-amd/coreApi/triggerEvent.js.map +1 -1
  370. package/lib-amd/corePlugin/CachePlugin.d.ts +8 -0
  371. package/lib-amd/corePlugin/{ContentModelCachePlugin.js → CachePlugin.js} +156 -156
  372. package/lib-amd/corePlugin/CachePlugin.js.map +1 -0
  373. package/lib-amd/corePlugin/ContextMenuPlugin.d.ts +6 -6
  374. package/lib-amd/corePlugin/ContextMenuPlugin.js +111 -111
  375. package/lib-amd/corePlugin/ContextMenuPlugin.js.map +1 -1
  376. package/{lib/corePlugin/ContentModelCopyPastePlugin.d.ts → lib-amd/corePlugin/CopyPastePlugin.d.ts} +22 -22
  377. package/lib-amd/corePlugin/{ContentModelCopyPastePlugin.js → CopyPastePlugin.js} +264 -263
  378. package/lib-amd/corePlugin/CopyPastePlugin.js.map +1 -0
  379. package/lib-amd/corePlugin/DOMEventPlugin.d.ts +8 -8
  380. package/lib-amd/corePlugin/DOMEventPlugin.js +199 -192
  381. package/lib-amd/corePlugin/DOMEventPlugin.js.map +1 -1
  382. package/lib-amd/corePlugin/EntityPlugin.d.ts +6 -6
  383. package/lib-amd/corePlugin/EntityPlugin.js +219 -212
  384. package/lib-amd/corePlugin/EntityPlugin.js.map +1 -1
  385. package/lib-amd/corePlugin/FormatPlugin.d.ts +7 -0
  386. package/lib-amd/corePlugin/FormatPlugin.js +186 -0
  387. package/lib-amd/corePlugin/FormatPlugin.js.map +1 -0
  388. package/lib-amd/corePlugin/LifecyclePlugin.d.ts +8 -8
  389. package/lib-amd/corePlugin/LifecyclePlugin.js +113 -113
  390. package/lib-amd/corePlugin/LifecyclePlugin.js.map +1 -1
  391. package/lib-amd/corePlugin/SelectionPlugin.d.ts +7 -7
  392. package/lib-amd/corePlugin/SelectionPlugin.js +168 -168
  393. package/lib-amd/corePlugin/SelectionPlugin.js.map +1 -1
  394. package/lib-amd/corePlugin/UndoPlugin.d.ts +7 -7
  395. package/lib-amd/corePlugin/UndoPlugin.js +218 -219
  396. package/lib-amd/corePlugin/UndoPlugin.js.map +1 -1
  397. package/lib-amd/corePlugin/createStandaloneEditorCorePlugins.d.ts +7 -7
  398. package/lib-amd/corePlugin/createStandaloneEditorCorePlugins.js +24 -24
  399. package/lib-amd/corePlugin/createStandaloneEditorCorePlugins.js.map +1 -1
  400. package/lib-amd/corePlugin/utils/addRangeToSelection.d.ts +4 -4
  401. package/lib-amd/corePlugin/utils/addRangeToSelection.js +23 -23
  402. package/lib-amd/corePlugin/utils/addRangeToSelection.js.map +1 -1
  403. package/lib-amd/corePlugin/utils/applyDefaultFormat.d.ts +8 -8
  404. package/lib-amd/corePlugin/utils/applyDefaultFormat.js +52 -77
  405. package/lib-amd/corePlugin/utils/applyDefaultFormat.js.map +1 -1
  406. package/lib-amd/corePlugin/utils/applyPendingFormat.d.ts +8 -8
  407. package/lib-amd/corePlugin/utils/applyPendingFormat.js +49 -49
  408. package/lib-amd/corePlugin/utils/applyPendingFormat.js.map +1 -1
  409. package/lib-amd/corePlugin/utils/areSameSelection.d.ts +6 -6
  410. package/lib-amd/corePlugin/utils/areSameSelection.js +37 -37
  411. package/lib-amd/corePlugin/utils/areSameSelection.js.map +1 -1
  412. package/lib-amd/corePlugin/utils/deleteEmptyList.d.ts +7 -7
  413. package/lib-amd/corePlugin/utils/deleteEmptyList.js +42 -42
  414. package/lib-amd/corePlugin/utils/deleteEmptyList.js.map +1 -1
  415. package/lib-amd/corePlugin/utils/domIndexerImpl.d.ts +6 -0
  416. package/lib-amd/corePlugin/utils/{contentModelDomIndexer.js → domIndexerImpl.js} +189 -189
  417. package/lib-amd/corePlugin/utils/domIndexerImpl.js.map +1 -0
  418. package/lib-amd/corePlugin/utils/entityDelimiterUtils.d.ts +27 -0
  419. package/lib-amd/corePlugin/utils/entityDelimiterUtils.js +257 -0
  420. package/lib-amd/corePlugin/utils/entityDelimiterUtils.js.map +1 -0
  421. package/lib-amd/corePlugin/utils/findAllEntities.d.ts +5 -5
  422. package/lib-amd/corePlugin/utils/findAllEntities.js +44 -44
  423. package/lib-amd/corePlugin/utils/findAllEntities.js.map +1 -1
  424. package/lib-amd/corePlugin/utils/textMutationObserver.d.ts +5 -5
  425. package/lib-amd/corePlugin/utils/textMutationObserver.js +44 -44
  426. package/lib-amd/corePlugin/utils/textMutationObserver.js.map +1 -1
  427. package/lib-amd/editor/DOMHelperImpl.d.ts +5 -5
  428. package/lib-amd/editor/DOMHelperImpl.js +49 -32
  429. package/lib-amd/editor/DOMHelperImpl.js.map +1 -1
  430. package/lib-amd/editor/DarkColorHandlerImpl.d.ts +5 -5
  431. package/lib-amd/editor/DarkColorHandlerImpl.js +51 -51
  432. package/lib-amd/editor/DarkColorHandlerImpl.js.map +1 -1
  433. package/lib-amd/editor/SnapshotsManagerImpl.d.ts +7 -7
  434. package/lib-amd/editor/SnapshotsManagerImpl.js +111 -111
  435. package/lib-amd/editor/SnapshotsManagerImpl.js.map +1 -1
  436. package/lib-amd/editor/StandaloneEditor.d.ts +165 -162
  437. package/lib-amd/editor/StandaloneEditor.js +309 -305
  438. package/lib-amd/editor/StandaloneEditor.js.map +1 -1
  439. package/lib-amd/editor/createStandaloneEditorCore.d.ts +17 -17
  440. package/lib-amd/editor/createStandaloneEditorCore.js +80 -69
  441. package/lib-amd/editor/createStandaloneEditorCore.js.map +1 -1
  442. package/lib-amd/editor/createStandaloneEditorDefaultSettings.d.ts +13 -13
  443. package/lib-amd/editor/createStandaloneEditorDefaultSettings.js +46 -46
  444. package/lib-amd/editor/createStandaloneEditorDefaultSettings.js.map +1 -1
  445. package/lib-amd/editor/standaloneCoreApiMap.d.ts +6 -6
  446. package/lib-amd/editor/standaloneCoreApiMap.js +26 -26
  447. package/lib-amd/editor/standaloneCoreApiMap.js.map +1 -1
  448. package/lib-amd/index.d.ts +40 -38
  449. package/lib-amd/index.js +56 -54
  450. package/lib-amd/index.js.map +1 -1
  451. package/lib-amd/metadata/definitionCreators.d.ts +48 -48
  452. package/lib-amd/metadata/definitionCreators.js +96 -96
  453. package/lib-amd/metadata/definitionCreators.js.map +1 -1
  454. package/lib-amd/metadata/updateImageMetadata.d.ts +7 -7
  455. package/lib-amd/metadata/updateImageMetadata.js +27 -27
  456. package/lib-amd/metadata/updateImageMetadata.js.map +1 -1
  457. package/lib-amd/metadata/updateListMetadata.d.ts +22 -22
  458. package/lib-amd/metadata/updateListMetadata.js +203 -194
  459. package/lib-amd/metadata/updateListMetadata.js.map +1 -1
  460. package/lib-amd/metadata/updateTableCellMetadata.d.ts +7 -7
  461. package/lib-amd/metadata/updateTableCellMetadata.js +19 -19
  462. package/lib-amd/metadata/updateTableCellMetadata.js.map +1 -1
  463. package/lib-amd/metadata/updateTableMetadata.d.ts +7 -7
  464. package/lib-amd/metadata/updateTableMetadata.js +30 -30
  465. package/lib-amd/metadata/updateTableMetadata.js.map +1 -1
  466. package/lib-amd/modelApi/edit/deleteExpandedSelection.d.ts +7 -7
  467. package/lib-amd/modelApi/edit/deleteExpandedSelection.js +95 -95
  468. package/lib-amd/modelApi/edit/deleteExpandedSelection.js.map +1 -1
  469. package/lib-amd/modelApi/edit/deleteSingleChar.d.ts +4 -4
  470. package/lib-amd/modelApi/edit/deleteSingleChar.js +36 -36
  471. package/lib-amd/modelApi/edit/deleteSingleChar.js.map +1 -1
  472. package/lib-amd/override/containerSizeFormatParser.d.ts +5 -5
  473. package/lib-amd/override/containerSizeFormatParser.js +16 -16
  474. package/lib-amd/override/containerSizeFormatParser.js.map +1 -1
  475. package/lib-amd/override/pasteCopyBlockEntityParser.d.ts +9 -0
  476. package/lib-amd/override/pasteCopyBlockEntityParser.js +39 -0
  477. package/lib-amd/override/pasteCopyBlockEntityParser.js.map +1 -0
  478. package/lib-amd/override/pasteDisplayFormatParser.d.ts +5 -5
  479. package/lib-amd/override/pasteDisplayFormatParser.js +15 -15
  480. package/lib-amd/override/pasteDisplayFormatParser.js.map +1 -1
  481. package/lib-amd/override/pasteEntityProcessor.d.ts +5 -5
  482. package/lib-amd/override/pasteEntityProcessor.js +24 -24
  483. package/lib-amd/override/pasteEntityProcessor.js.map +1 -1
  484. package/lib-amd/override/pasteGeneralProcessor.d.ts +9 -9
  485. package/lib-amd/override/pasteGeneralProcessor.js +40 -40
  486. package/lib-amd/override/pasteGeneralProcessor.js.map +1 -1
  487. package/lib-amd/override/pasteTextProcessor.d.ts +5 -5
  488. package/lib-amd/override/pasteTextProcessor.js +17 -17
  489. package/lib-amd/override/pasteTextProcessor.js.map +1 -1
  490. package/lib-amd/override/reducedModelChildProcessor.d.ts +21 -21
  491. package/lib-amd/override/reducedModelChildProcessor.js +64 -64
  492. package/lib-amd/override/reducedModelChildProcessor.js.map +1 -1
  493. package/lib-amd/override/tablePreProcessor.d.ts +5 -5
  494. package/lib-amd/override/tablePreProcessor.js +24 -24
  495. package/lib-amd/override/tablePreProcessor.js.map +1 -1
  496. package/lib-amd/publicApi/color/transformColor.d.ts +9 -9
  497. package/lib-amd/publicApi/color/transformColor.js +41 -41
  498. package/lib-amd/publicApi/color/transformColor.js.map +1 -1
  499. package/lib-amd/publicApi/domUtils/borderValues.d.ts +13 -13
  500. package/lib-amd/publicApi/domUtils/borderValues.js +49 -49
  501. package/lib-amd/publicApi/domUtils/borderValues.js.map +1 -1
  502. package/lib-amd/publicApi/domUtils/eventUtils.d.ts +20 -20
  503. package/lib-amd/publicApi/domUtils/eventUtils.js +50 -50
  504. package/lib-amd/publicApi/domUtils/eventUtils.js.map +1 -1
  505. package/lib-amd/publicApi/domUtils/getSegmentTextFormat.d.ts +7 -7
  506. package/lib-amd/publicApi/domUtils/getSegmentTextFormat.js +34 -34
  507. package/lib-amd/publicApi/domUtils/getSegmentTextFormat.js.map +1 -1
  508. package/lib-amd/publicApi/domUtils/readFile.d.ts +7 -7
  509. package/lib-amd/publicApi/domUtils/readFile.js +24 -24
  510. package/lib-amd/publicApi/domUtils/readFile.js.map +1 -1
  511. package/lib-amd/publicApi/domUtils/stringUtil.d.ts +18 -18
  512. package/lib-amd/publicApi/domUtils/stringUtil.js +36 -36
  513. package/lib-amd/publicApi/domUtils/stringUtil.js.map +1 -1
  514. package/lib-amd/publicApi/domUtils/tableCellUtils.d.ts +13 -13
  515. package/lib-amd/publicApi/domUtils/tableCellUtils.js +57 -57
  516. package/lib-amd/publicApi/domUtils/tableCellUtils.js.map +1 -1
  517. package/lib-amd/publicApi/format/retrieveModelFormatState.d.ts +8 -0
  518. package/lib-amd/publicApi/format/retrieveModelFormatState.js +174 -0
  519. package/lib-amd/publicApi/format/retrieveModelFormatState.js.map +1 -0
  520. package/lib-amd/publicApi/model/cloneModel.d.ts +30 -30
  521. package/lib-amd/publicApi/model/cloneModel.js +207 -207
  522. package/lib-amd/publicApi/model/cloneModel.js.map +1 -1
  523. package/lib-amd/publicApi/model/createModelFromHtml.d.ts +9 -9
  524. package/lib-amd/publicApi/model/createModelFromHtml.js +29 -22
  525. package/lib-amd/publicApi/model/createModelFromHtml.js.map +1 -1
  526. package/lib-amd/publicApi/model/exportContent.d.ts +10 -0
  527. package/lib-amd/publicApi/model/exportContent.js +34 -0
  528. package/lib-amd/publicApi/model/exportContent.js.map +1 -0
  529. package/lib-amd/publicApi/model/getClosestAncestorBlockGroupIndex.d.ts +12 -12
  530. package/lib-amd/publicApi/model/getClosestAncestorBlockGroupIndex.js +29 -29
  531. package/lib-amd/publicApi/model/getClosestAncestorBlockGroupIndex.js.map +1 -1
  532. package/lib-amd/publicApi/model/isBlockGroupOfType.d.ts +8 -8
  533. package/lib-amd/publicApi/model/isBlockGroupOfType.js +15 -15
  534. package/lib-amd/publicApi/model/isBlockGroupOfType.js.map +1 -1
  535. package/lib-amd/publicApi/model/isBold.d.ts +5 -5
  536. package/lib-amd/publicApi/model/isBold.js +13 -13
  537. package/lib-amd/publicApi/model/isBold.js.map +1 -1
  538. package/lib-amd/publicApi/model/mergeModel.d.ts +36 -36
  539. package/lib-amd/publicApi/model/mergeModel.js +257 -257
  540. package/lib-amd/publicApi/model/mergeModel.js.map +1 -1
  541. package/lib-amd/publicApi/selection/collectSelections.d.ts +54 -50
  542. package/lib-amd/publicApi/selection/collectSelections.js +181 -179
  543. package/lib-amd/publicApi/selection/collectSelections.js.map +1 -1
  544. package/lib-amd/publicApi/selection/deleteBlock.d.ts +11 -11
  545. package/lib-amd/publicApi/selection/deleteBlock.js +60 -60
  546. package/lib-amd/publicApi/selection/deleteBlock.js.map +1 -1
  547. package/lib-amd/publicApi/selection/deleteSegment.d.ts +10 -10
  548. package/lib-amd/publicApi/selection/deleteSegment.js +87 -87
  549. package/lib-amd/publicApi/selection/deleteSegment.js.map +1 -1
  550. package/lib-amd/publicApi/selection/deleteSelection.d.ts +9 -9
  551. package/lib-amd/publicApi/selection/deleteSelection.js +41 -41
  552. package/lib-amd/publicApi/selection/deleteSelection.js.map +1 -1
  553. package/lib-amd/publicApi/selection/getSelectionRootNode.d.ts +9 -9
  554. package/lib-amd/publicApi/selection/getSelectionRootNode.js +24 -24
  555. package/lib-amd/publicApi/selection/getSelectionRootNode.js.map +1 -1
  556. package/lib-amd/publicApi/selection/hasSelectionInBlock.d.ts +6 -6
  557. package/lib-amd/publicApi/selection/hasSelectionInBlock.js +24 -24
  558. package/lib-amd/publicApi/selection/hasSelectionInBlock.js.map +1 -1
  559. package/lib-amd/publicApi/selection/hasSelectionInBlockGroup.d.ts +6 -6
  560. package/lib-amd/publicApi/selection/hasSelectionInBlockGroup.js +18 -18
  561. package/lib-amd/publicApi/selection/hasSelectionInBlockGroup.js.map +1 -1
  562. package/lib-amd/publicApi/selection/hasSelectionInSegment.d.ts +6 -6
  563. package/lib-amd/publicApi/selection/hasSelectionInSegment.js +13 -13
  564. package/lib-amd/publicApi/selection/hasSelectionInSegment.js.map +1 -1
  565. package/lib-amd/publicApi/selection/iterateSelections.d.ts +48 -48
  566. package/lib-amd/publicApi/selection/iterateSelections.js +145 -145
  567. package/lib-amd/publicApi/selection/iterateSelections.js.map +1 -1
  568. package/lib-amd/publicApi/selection/setSelection.d.ts +8 -8
  569. package/lib-amd/publicApi/selection/setSelection.js +131 -131
  570. package/lib-amd/publicApi/selection/setSelection.js.map +1 -1
  571. package/lib-amd/publicApi/table/applyTableFormat.d.ts +8 -8
  572. package/lib-amd/publicApi/table/applyTableFormat.js +237 -237
  573. package/lib-amd/publicApi/table/applyTableFormat.js.map +1 -1
  574. package/lib-amd/publicApi/table/getSelectedCells.d.ts +6 -6
  575. package/lib-amd/publicApi/table/getSelectedCells.js +33 -33
  576. package/lib-amd/publicApi/table/getSelectedCells.js.map +1 -1
  577. package/lib-amd/publicApi/table/normalizeTable.d.ts +13 -13
  578. package/lib-amd/publicApi/table/normalizeTable.js +120 -120
  579. package/lib-amd/publicApi/table/normalizeTable.js.map +1 -1
  580. package/lib-amd/publicApi/table/setTableCellBackgroundColor.d.ts +9 -9
  581. package/lib-amd/publicApi/table/setTableCellBackgroundColor.js +119 -119
  582. package/lib-amd/publicApi/table/setTableCellBackgroundColor.js.map +1 -1
  583. package/lib-amd/publicApi/undo/redo.d.ts +6 -6
  584. package/lib-amd/publicApi/undo/redo.js +18 -18
  585. package/lib-amd/publicApi/undo/redo.js.map +1 -1
  586. package/lib-amd/publicApi/undo/undo.d.ts +6 -6
  587. package/lib-amd/publicApi/undo/undo.js +21 -21
  588. package/lib-amd/publicApi/undo/undo.js.map +1 -1
  589. package/lib-amd/utils/convertInlineCss.d.ts +15 -0
  590. package/lib-amd/utils/{paste/convertInlineCss.js → convertInlineCss.js} +63 -40
  591. package/lib-amd/utils/convertInlineCss.js.map +1 -0
  592. package/lib-amd/utils/createDomToModelContextForSanitizing.d.ts +5 -0
  593. package/lib-amd/utils/createDomToModelContextForSanitizing.js +38 -0
  594. package/lib-amd/utils/createDomToModelContextForSanitizing.js.map +1 -0
  595. package/lib-amd/utils/createSnapshotSelection.d.ts +5 -5
  596. package/lib-amd/utils/createSnapshotSelection.js +168 -168
  597. package/lib-amd/utils/createSnapshotSelection.js.map +1 -1
  598. package/lib-amd/utils/extractClipboardItems.d.ts +9 -9
  599. package/lib-amd/utils/extractClipboardItems.js +84 -84
  600. package/lib-amd/utils/extractClipboardItems.js.map +1 -1
  601. package/lib-amd/utils/paste/createPasteFragment.d.ts +5 -5
  602. package/lib-amd/utils/paste/createPasteFragment.js +76 -76
  603. package/lib-amd/utils/paste/createPasteFragment.js.map +1 -1
  604. package/lib-amd/utils/paste/generatePasteOptionFromPlugins.d.ts +6 -6
  605. package/lib-amd/utils/paste/generatePasteOptionFromPlugins.js +35 -35
  606. package/lib-amd/utils/paste/generatePasteOptionFromPlugins.js.map +1 -1
  607. package/lib-amd/utils/paste/mergePasteContent.d.ts +5 -5
  608. package/lib-amd/utils/paste/mergePasteContent.js +60 -72
  609. package/lib-amd/utils/paste/mergePasteContent.js.map +1 -1
  610. package/lib-amd/utils/paste/retrieveHtmlInfo.d.ts +15 -21
  611. package/lib-amd/utils/paste/retrieveHtmlInfo.js +67 -86
  612. package/lib-amd/utils/paste/retrieveHtmlInfo.js.map +1 -1
  613. package/lib-amd/utils/restoreSnapshotColors.d.ts +5 -5
  614. package/lib-amd/utils/restoreSnapshotColors.js +16 -16
  615. package/lib-amd/utils/restoreSnapshotColors.js.map +1 -1
  616. package/lib-amd/utils/restoreSnapshotHTML.d.ts +5 -5
  617. package/lib-amd/utils/restoreSnapshotHTML.js +81 -61
  618. package/lib-amd/utils/restoreSnapshotHTML.js.map +1 -1
  619. package/lib-amd/utils/restoreSnapshotSelection.d.ts +5 -5
  620. package/lib-amd/utils/restoreSnapshotSelection.js +73 -73
  621. package/lib-amd/utils/restoreSnapshotSelection.js.map +1 -1
  622. package/lib-amd/utils/sanitizeElement.d.ts +17 -17
  623. package/lib-amd/utils/sanitizeElement.js +352 -352
  624. package/lib-amd/utils/sanitizeElement.js.map +1 -1
  625. package/lib-mjs/constants/BulletListType.d.ts +49 -49
  626. package/lib-mjs/constants/BulletListType.js +49 -49
  627. package/lib-mjs/constants/BulletListType.js.map +1 -1
  628. package/lib-mjs/constants/ChangeSource.d.ts +59 -59
  629. package/lib-mjs/constants/ChangeSource.js +59 -59
  630. package/lib-mjs/constants/ChangeSource.js.map +1 -1
  631. package/lib-mjs/constants/NumberingListType.d.ts +93 -93
  632. package/lib-mjs/constants/NumberingListType.js +93 -93
  633. package/lib-mjs/constants/NumberingListType.js.map +1 -1
  634. package/lib-mjs/constants/TableBorderFormat.d.ts +81 -81
  635. package/lib-mjs/constants/TableBorderFormat.js +81 -81
  636. package/lib-mjs/constants/TableBorderFormat.js.map +1 -1
  637. package/lib-mjs/coreApi/addUndoSnapshot.d.ts +11 -11
  638. package/lib-mjs/coreApi/addUndoSnapshot.js +28 -28
  639. package/lib-mjs/coreApi/addUndoSnapshot.js.map +1 -1
  640. package/lib-mjs/coreApi/attachDomEvent.d.ts +10 -10
  641. package/lib-mjs/coreApi/attachDomEvent.js +31 -31
  642. package/lib-mjs/coreApi/attachDomEvent.js.map +1 -1
  643. package/lib-mjs/coreApi/createContentModel.d.ts +9 -9
  644. package/lib-mjs/coreApi/createContentModel.js +36 -36
  645. package/lib-mjs/coreApi/createContentModel.js.map +1 -1
  646. package/lib-mjs/coreApi/createEditorContext.d.ts +6 -6
  647. package/lib-mjs/coreApi/createEditorContext.js +36 -27
  648. package/lib-mjs/coreApi/createEditorContext.js.map +1 -1
  649. package/lib-mjs/coreApi/focus.d.ts +7 -7
  650. package/lib-mjs/coreApi/focus.js +18 -18
  651. package/lib-mjs/coreApi/focus.js.map +1 -1
  652. package/lib-mjs/coreApi/formatContentModel.d.ts +12 -12
  653. package/lib-mjs/coreApi/formatContentModel.js +115 -113
  654. package/lib-mjs/coreApi/formatContentModel.js.map +1 -1
  655. package/lib-mjs/coreApi/getDOMSelection.d.ts +5 -5
  656. package/lib-mjs/coreApi/getDOMSelection.js +35 -35
  657. package/lib-mjs/coreApi/getDOMSelection.js.map +1 -1
  658. package/lib-mjs/coreApi/getVisibleViewport.d.ts +7 -7
  659. package/lib-mjs/coreApi/getVisibleViewport.js +60 -60
  660. package/lib-mjs/coreApi/getVisibleViewport.js.map +1 -1
  661. package/lib-mjs/coreApi/hasFocus.d.ts +8 -8
  662. package/lib-mjs/coreApi/hasFocus.js +10 -10
  663. package/lib-mjs/coreApi/hasFocus.js.map +1 -1
  664. package/lib-mjs/coreApi/paste.d.ts +9 -9
  665. package/lib-mjs/coreApi/paste.js +44 -44
  666. package/lib-mjs/coreApi/paste.js.map +1 -1
  667. package/lib-mjs/coreApi/restoreUndoSnapshot.d.ts +8 -8
  668. package/lib-mjs/coreApi/restoreUndoSnapshot.js +31 -31
  669. package/lib-mjs/coreApi/restoreUndoSnapshot.js.map +1 -1
  670. package/lib-mjs/coreApi/setContentModel.d.ts +9 -9
  671. package/lib-mjs/coreApi/setContentModel.js +30 -30
  672. package/lib-mjs/coreApi/setContentModel.js.map +1 -1
  673. package/lib-mjs/coreApi/setDOMSelection.d.ts +5 -5
  674. package/lib-mjs/coreApi/setDOMSelection.js +158 -158
  675. package/lib-mjs/coreApi/setDOMSelection.js.map +1 -1
  676. package/lib-mjs/coreApi/switchShadowEdit.d.ts +8 -8
  677. package/lib-mjs/coreApi/switchShadowEdit.js +41 -41
  678. package/lib-mjs/coreApi/switchShadowEdit.js.map +1 -1
  679. package/lib-mjs/coreApi/triggerEvent.d.ts +9 -9
  680. package/lib-mjs/coreApi/triggerEvent.js +32 -32
  681. package/lib-mjs/coreApi/triggerEvent.js.map +1 -1
  682. package/lib-mjs/corePlugin/CachePlugin.d.ts +8 -0
  683. package/lib-mjs/corePlugin/{ContentModelCachePlugin.js → CachePlugin.js} +153 -153
  684. package/lib-mjs/corePlugin/CachePlugin.js.map +1 -0
  685. package/lib-mjs/corePlugin/ContextMenuPlugin.d.ts +6 -6
  686. package/lib-mjs/corePlugin/ContextMenuPlugin.js +107 -107
  687. package/lib-mjs/corePlugin/ContextMenuPlugin.js.map +1 -1
  688. package/lib-mjs/corePlugin/{ContentModelCopyPastePlugin.d.ts → CopyPastePlugin.d.ts} +22 -22
  689. package/lib-mjs/corePlugin/{ContentModelCopyPastePlugin.js → CopyPastePlugin.js} +265 -263
  690. package/lib-mjs/corePlugin/CopyPastePlugin.js.map +1 -0
  691. package/lib-mjs/corePlugin/DOMEventPlugin.d.ts +8 -8
  692. package/lib-mjs/corePlugin/DOMEventPlugin.js +196 -189
  693. package/lib-mjs/corePlugin/DOMEventPlugin.js.map +1 -1
  694. package/lib-mjs/corePlugin/EntityPlugin.d.ts +6 -6
  695. package/lib-mjs/corePlugin/EntityPlugin.js +217 -209
  696. package/lib-mjs/corePlugin/EntityPlugin.js.map +1 -1
  697. package/lib-mjs/corePlugin/FormatPlugin.d.ts +7 -0
  698. package/lib-mjs/corePlugin/FormatPlugin.js +185 -0
  699. package/lib-mjs/corePlugin/FormatPlugin.js.map +1 -0
  700. package/lib-mjs/corePlugin/LifecyclePlugin.d.ts +8 -8
  701. package/lib-mjs/corePlugin/LifecyclePlugin.js +109 -109
  702. package/lib-mjs/corePlugin/LifecyclePlugin.js.map +1 -1
  703. package/lib-mjs/corePlugin/SelectionPlugin.d.ts +7 -7
  704. package/lib-mjs/corePlugin/SelectionPlugin.js +164 -164
  705. package/lib-mjs/corePlugin/SelectionPlugin.js.map +1 -1
  706. package/lib-mjs/corePlugin/UndoPlugin.d.ts +7 -7
  707. package/lib-mjs/corePlugin/UndoPlugin.js +216 -217
  708. package/lib-mjs/corePlugin/UndoPlugin.js.map +1 -1
  709. package/lib-mjs/corePlugin/createStandaloneEditorCorePlugins.d.ts +7 -7
  710. package/lib-mjs/corePlugin/createStandaloneEditorCorePlugins.js +27 -27
  711. package/lib-mjs/corePlugin/createStandaloneEditorCorePlugins.js.map +1 -1
  712. package/lib-mjs/corePlugin/utils/addRangeToSelection.d.ts +4 -4
  713. package/lib-mjs/corePlugin/utils/addRangeToSelection.js +17 -17
  714. package/lib-mjs/corePlugin/utils/addRangeToSelection.js.map +1 -1
  715. package/lib-mjs/corePlugin/utils/applyDefaultFormat.d.ts +8 -8
  716. package/lib-mjs/corePlugin/utils/applyDefaultFormat.js +49 -74
  717. package/lib-mjs/corePlugin/utils/applyDefaultFormat.js.map +1 -1
  718. package/lib-mjs/corePlugin/utils/applyPendingFormat.d.ts +8 -8
  719. package/lib-mjs/corePlugin/utils/applyPendingFormat.js +46 -46
  720. package/lib-mjs/corePlugin/utils/applyPendingFormat.js.map +1 -1
  721. package/lib-mjs/corePlugin/utils/areSameSelection.d.ts +6 -6
  722. package/lib-mjs/corePlugin/utils/areSameSelection.js +31 -31
  723. package/lib-mjs/corePlugin/utils/areSameSelection.js.map +1 -1
  724. package/lib-mjs/corePlugin/utils/deleteEmptyList.d.ts +7 -7
  725. package/lib-mjs/corePlugin/utils/deleteEmptyList.js +39 -39
  726. package/lib-mjs/corePlugin/utils/deleteEmptyList.js.map +1 -1
  727. package/lib-mjs/corePlugin/utils/domIndexerImpl.d.ts +6 -0
  728. package/lib-mjs/corePlugin/utils/{contentModelDomIndexer.js → domIndexerImpl.js} +187 -187
  729. package/lib-mjs/corePlugin/utils/domIndexerImpl.js.map +1 -0
  730. package/lib-mjs/corePlugin/utils/entityDelimiterUtils.d.ts +27 -0
  731. package/lib-mjs/corePlugin/utils/entityDelimiterUtils.js +250 -0
  732. package/lib-mjs/corePlugin/utils/entityDelimiterUtils.js.map +1 -0
  733. package/lib-mjs/corePlugin/utils/findAllEntities.d.ts +5 -5
  734. package/lib-mjs/corePlugin/utils/findAllEntities.js +38 -38
  735. package/lib-mjs/corePlugin/utils/findAllEntities.js.map +1 -1
  736. package/lib-mjs/corePlugin/utils/textMutationObserver.d.ts +5 -5
  737. package/lib-mjs/corePlugin/utils/textMutationObserver.js +38 -38
  738. package/lib-mjs/corePlugin/utils/textMutationObserver.js.map +1 -1
  739. package/lib-mjs/editor/DOMHelperImpl.d.ts +5 -5
  740. package/lib-mjs/editor/DOMHelperImpl.js +44 -27
  741. package/lib-mjs/editor/DOMHelperImpl.js.map +1 -1
  742. package/lib-mjs/editor/DarkColorHandlerImpl.d.ts +5 -5
  743. package/lib-mjs/editor/DarkColorHandlerImpl.js +45 -45
  744. package/lib-mjs/editor/DarkColorHandlerImpl.js.map +1 -1
  745. package/lib-mjs/editor/SnapshotsManagerImpl.d.ts +7 -7
  746. package/lib-mjs/editor/SnapshotsManagerImpl.js +105 -105
  747. package/lib-mjs/editor/SnapshotsManagerImpl.js.map +1 -1
  748. package/lib-mjs/editor/StandaloneEditor.d.ts +165 -162
  749. package/lib-mjs/editor/StandaloneEditor.js +311 -307
  750. package/lib-mjs/editor/StandaloneEditor.js.map +1 -1
  751. package/lib-mjs/editor/createStandaloneEditorCore.d.ts +17 -17
  752. package/lib-mjs/editor/createStandaloneEditorCore.js +78 -67
  753. package/lib-mjs/editor/createStandaloneEditorCore.js.map +1 -1
  754. package/lib-mjs/editor/createStandaloneEditorDefaultSettings.d.ts +13 -13
  755. package/lib-mjs/editor/createStandaloneEditorDefaultSettings.js +42 -42
  756. package/lib-mjs/editor/createStandaloneEditorDefaultSettings.js.map +1 -1
  757. package/lib-mjs/editor/standaloneCoreApiMap.d.ts +6 -6
  758. package/lib-mjs/editor/standaloneCoreApiMap.js +36 -36
  759. package/lib-mjs/editor/standaloneCoreApiMap.js.map +1 -1
  760. package/lib-mjs/index.d.ts +40 -38
  761. package/lib-mjs/index.js +40 -38
  762. package/lib-mjs/index.js.map +1 -1
  763. package/lib-mjs/metadata/definitionCreators.d.ts +48 -48
  764. package/lib-mjs/metadata/definitionCreators.js +86 -86
  765. package/lib-mjs/metadata/definitionCreators.js.map +1 -1
  766. package/lib-mjs/metadata/updateImageMetadata.d.ts +7 -7
  767. package/lib-mjs/metadata/updateImageMetadata.js +23 -23
  768. package/lib-mjs/metadata/updateImageMetadata.js.map +1 -1
  769. package/lib-mjs/metadata/updateListMetadata.d.ts +22 -22
  770. package/lib-mjs/metadata/updateListMetadata.js +201 -192
  771. package/lib-mjs/metadata/updateListMetadata.js.map +1 -1
  772. package/lib-mjs/metadata/updateTableCellMetadata.d.ts +7 -7
  773. package/lib-mjs/metadata/updateTableCellMetadata.js +15 -15
  774. package/lib-mjs/metadata/updateTableCellMetadata.js.map +1 -1
  775. package/lib-mjs/metadata/updateTableMetadata.d.ts +7 -7
  776. package/lib-mjs/metadata/updateTableMetadata.js +27 -27
  777. package/lib-mjs/metadata/updateTableMetadata.js.map +1 -1
  778. package/lib-mjs/modelApi/edit/deleteExpandedSelection.d.ts +7 -7
  779. package/lib-mjs/modelApi/edit/deleteExpandedSelection.js +95 -95
  780. package/lib-mjs/modelApi/edit/deleteExpandedSelection.js.map +1 -1
  781. package/lib-mjs/modelApi/edit/deleteSingleChar.d.ts +4 -4
  782. package/lib-mjs/modelApi/edit/deleteSingleChar.js +31 -31
  783. package/lib-mjs/modelApi/edit/deleteSingleChar.js.map +1 -1
  784. package/lib-mjs/override/containerSizeFormatParser.d.ts +5 -5
  785. package/lib-mjs/override/containerSizeFormatParser.js +10 -10
  786. package/lib-mjs/override/containerSizeFormatParser.js.map +1 -1
  787. package/lib-mjs/override/pasteCopyBlockEntityParser.d.ts +9 -0
  788. package/lib-mjs/override/pasteCopyBlockEntityParser.js +33 -0
  789. package/lib-mjs/override/pasteCopyBlockEntityParser.js.map +1 -0
  790. package/lib-mjs/override/pasteDisplayFormatParser.d.ts +5 -5
  791. package/lib-mjs/override/pasteDisplayFormatParser.js +9 -9
  792. package/lib-mjs/override/pasteDisplayFormatParser.js.map +1 -1
  793. package/lib-mjs/override/pasteEntityProcessor.d.ts +5 -5
  794. package/lib-mjs/override/pasteEntityProcessor.js +19 -19
  795. package/lib-mjs/override/pasteEntityProcessor.js.map +1 -1
  796. package/lib-mjs/override/pasteGeneralProcessor.d.ts +9 -9
  797. package/lib-mjs/override/pasteGeneralProcessor.js +35 -35
  798. package/lib-mjs/override/pasteGeneralProcessor.js.map +1 -1
  799. package/lib-mjs/override/pasteTextProcessor.d.ts +5 -5
  800. package/lib-mjs/override/pasteTextProcessor.js +12 -12
  801. package/lib-mjs/override/pasteTextProcessor.js.map +1 -1
  802. package/lib-mjs/override/reducedModelChildProcessor.d.ts +21 -21
  803. package/lib-mjs/override/reducedModelChildProcessor.js +61 -61
  804. package/lib-mjs/override/reducedModelChildProcessor.js.map +1 -1
  805. package/lib-mjs/override/tablePreProcessor.d.ts +5 -5
  806. package/lib-mjs/override/tablePreProcessor.js +20 -20
  807. package/lib-mjs/override/tablePreProcessor.js.map +1 -1
  808. package/lib-mjs/publicApi/color/transformColor.d.ts +9 -9
  809. package/lib-mjs/publicApi/color/transformColor.js +36 -36
  810. package/lib-mjs/publicApi/color/transformColor.js.map +1 -1
  811. package/lib-mjs/publicApi/domUtils/borderValues.d.ts +13 -13
  812. package/lib-mjs/publicApi/domUtils/borderValues.js +42 -42
  813. package/lib-mjs/publicApi/domUtils/borderValues.js.map +1 -1
  814. package/lib-mjs/publicApi/domUtils/eventUtils.d.ts +20 -20
  815. package/lib-mjs/publicApi/domUtils/eventUtils.js +42 -42
  816. package/lib-mjs/publicApi/domUtils/eventUtils.js.map +1 -1
  817. package/lib-mjs/publicApi/domUtils/getSegmentTextFormat.d.ts +7 -7
  818. package/lib-mjs/publicApi/domUtils/getSegmentTextFormat.js +28 -28
  819. package/lib-mjs/publicApi/domUtils/getSegmentTextFormat.js.map +1 -1
  820. package/lib-mjs/publicApi/domUtils/readFile.d.ts +7 -7
  821. package/lib-mjs/publicApi/domUtils/readFile.js +18 -18
  822. package/lib-mjs/publicApi/domUtils/readFile.js.map +1 -1
  823. package/lib-mjs/publicApi/domUtils/stringUtil.d.ts +18 -18
  824. package/lib-mjs/publicApi/domUtils/stringUtil.js +28 -28
  825. package/lib-mjs/publicApi/domUtils/stringUtil.js.map +1 -1
  826. package/lib-mjs/publicApi/domUtils/tableCellUtils.d.ts +13 -13
  827. package/lib-mjs/publicApi/domUtils/tableCellUtils.js +51 -51
  828. package/lib-mjs/publicApi/domUtils/tableCellUtils.js.map +1 -1
  829. package/lib-mjs/publicApi/format/retrieveModelFormatState.d.ts +8 -0
  830. package/lib-mjs/publicApi/format/retrieveModelFormatState.js +174 -0
  831. package/lib-mjs/publicApi/format/retrieveModelFormatState.js.map +1 -0
  832. package/lib-mjs/publicApi/model/cloneModel.d.ts +30 -30
  833. package/lib-mjs/publicApi/model/cloneModel.js +202 -202
  834. package/lib-mjs/publicApi/model/cloneModel.js.map +1 -1
  835. package/lib-mjs/publicApi/model/createModelFromHtml.d.ts +9 -9
  836. package/lib-mjs/publicApi/model/createModelFromHtml.js +26 -17
  837. package/lib-mjs/publicApi/model/createModelFromHtml.js.map +1 -1
  838. package/lib-mjs/publicApi/model/exportContent.d.ts +10 -0
  839. package/lib-mjs/publicApi/model/exportContent.js +29 -0
  840. package/lib-mjs/publicApi/model/exportContent.js.map +1 -0
  841. package/lib-mjs/publicApi/model/getClosestAncestorBlockGroupIndex.d.ts +12 -12
  842. package/lib-mjs/publicApi/model/getClosestAncestorBlockGroupIndex.js +23 -23
  843. package/lib-mjs/publicApi/model/getClosestAncestorBlockGroupIndex.js.map +1 -1
  844. package/lib-mjs/publicApi/model/isBlockGroupOfType.d.ts +8 -8
  845. package/lib-mjs/publicApi/model/isBlockGroupOfType.js +9 -9
  846. package/lib-mjs/publicApi/model/isBlockGroupOfType.js.map +1 -1
  847. package/lib-mjs/publicApi/model/isBold.d.ts +5 -5
  848. package/lib-mjs/publicApi/model/isBold.js +7 -7
  849. package/lib-mjs/publicApi/model/isBold.js.map +1 -1
  850. package/lib-mjs/publicApi/model/mergeModel.d.ts +36 -36
  851. package/lib-mjs/publicApi/model/mergeModel.js +257 -257
  852. package/lib-mjs/publicApi/model/mergeModel.js.map +1 -1
  853. package/lib-mjs/publicApi/selection/collectSelections.d.ts +54 -50
  854. package/lib-mjs/publicApi/selection/collectSelections.js +174 -172
  855. package/lib-mjs/publicApi/selection/collectSelections.js.map +1 -1
  856. package/lib-mjs/publicApi/selection/deleteBlock.d.ts +11 -11
  857. package/lib-mjs/publicApi/selection/deleteBlock.js +54 -54
  858. package/lib-mjs/publicApi/selection/deleteBlock.js.map +1 -1
  859. package/lib-mjs/publicApi/selection/deleteSegment.d.ts +10 -10
  860. package/lib-mjs/publicApi/selection/deleteSegment.js +84 -84
  861. package/lib-mjs/publicApi/selection/deleteSegment.js.map +1 -1
  862. package/lib-mjs/publicApi/selection/deleteSelection.d.ts +9 -9
  863. package/lib-mjs/publicApi/selection/deleteSelection.js +37 -37
  864. package/lib-mjs/publicApi/selection/deleteSelection.js.map +1 -1
  865. package/lib-mjs/publicApi/selection/getSelectionRootNode.d.ts +9 -9
  866. package/lib-mjs/publicApi/selection/getSelectionRootNode.js +18 -18
  867. package/lib-mjs/publicApi/selection/getSelectionRootNode.js.map +1 -1
  868. package/lib-mjs/publicApi/selection/hasSelectionInBlock.d.ts +6 -6
  869. package/lib-mjs/publicApi/selection/hasSelectionInBlock.js +21 -21
  870. package/lib-mjs/publicApi/selection/hasSelectionInBlock.js.map +1 -1
  871. package/lib-mjs/publicApi/selection/hasSelectionInBlockGroup.d.ts +6 -6
  872. package/lib-mjs/publicApi/selection/hasSelectionInBlockGroup.js +14 -14
  873. package/lib-mjs/publicApi/selection/hasSelectionInBlockGroup.js.map +1 -1
  874. package/lib-mjs/publicApi/selection/hasSelectionInSegment.d.ts +6 -6
  875. package/lib-mjs/publicApi/selection/hasSelectionInSegment.js +9 -9
  876. package/lib-mjs/publicApi/selection/hasSelectionInSegment.js.map +1 -1
  877. package/lib-mjs/publicApi/selection/iterateSelections.d.ts +48 -48
  878. package/lib-mjs/publicApi/selection/iterateSelections.js +140 -140
  879. package/lib-mjs/publicApi/selection/iterateSelections.js.map +1 -1
  880. package/lib-mjs/publicApi/selection/setSelection.d.ts +8 -8
  881. package/lib-mjs/publicApi/selection/setSelection.js +126 -126
  882. package/lib-mjs/publicApi/selection/setSelection.js.map +1 -1
  883. package/lib-mjs/publicApi/table/applyTableFormat.d.ts +8 -8
  884. package/lib-mjs/publicApi/table/applyTableFormat.js +238 -238
  885. package/lib-mjs/publicApi/table/applyTableFormat.js.map +1 -1
  886. package/lib-mjs/publicApi/table/getSelectedCells.d.ts +6 -6
  887. package/lib-mjs/publicApi/table/getSelectedCells.js +28 -28
  888. package/lib-mjs/publicApi/table/getSelectedCells.js.map +1 -1
  889. package/lib-mjs/publicApi/table/normalizeTable.d.ts +13 -13
  890. package/lib-mjs/publicApi/table/normalizeTable.js +116 -116
  891. package/lib-mjs/publicApi/table/normalizeTable.js.map +1 -1
  892. package/lib-mjs/publicApi/table/setTableCellBackgroundColor.d.ts +9 -9
  893. package/lib-mjs/publicApi/table/setTableCellBackgroundColor.js +116 -116
  894. package/lib-mjs/publicApi/table/setTableCellBackgroundColor.js.map +1 -1
  895. package/lib-mjs/publicApi/undo/redo.d.ts +6 -6
  896. package/lib-mjs/publicApi/undo/redo.js +12 -12
  897. package/lib-mjs/publicApi/undo/redo.js.map +1 -1
  898. package/lib-mjs/publicApi/undo/undo.d.ts +6 -6
  899. package/lib-mjs/publicApi/undo/undo.js +15 -15
  900. package/lib-mjs/publicApi/undo/undo.js.map +1 -1
  901. package/lib-mjs/utils/convertInlineCss.d.ts +15 -0
  902. package/lib-mjs/utils/{paste/convertInlineCss.js → convertInlineCss.js} +58 -36
  903. package/lib-mjs/utils/convertInlineCss.js.map +1 -0
  904. package/lib-mjs/utils/createDomToModelContextForSanitizing.d.ts +5 -0
  905. package/lib-mjs/utils/createDomToModelContextForSanitizing.js +40 -0
  906. package/lib-mjs/utils/createDomToModelContextForSanitizing.js.map +1 -0
  907. package/lib-mjs/utils/createSnapshotSelection.d.ts +5 -5
  908. package/lib-mjs/utils/createSnapshotSelection.js +163 -163
  909. package/lib-mjs/utils/createSnapshotSelection.js.map +1 -1
  910. package/lib-mjs/utils/extractClipboardItems.d.ts +9 -9
  911. package/lib-mjs/utils/extractClipboardItems.js +79 -79
  912. package/lib-mjs/utils/extractClipboardItems.js.map +1 -1
  913. package/lib-mjs/utils/paste/createPasteFragment.d.ts +5 -5
  914. package/lib-mjs/utils/paste/createPasteFragment.js +71 -71
  915. package/lib-mjs/utils/paste/createPasteFragment.js.map +1 -1
  916. package/lib-mjs/utils/paste/generatePasteOptionFromPlugins.d.ts +6 -6
  917. package/lib-mjs/utils/paste/generatePasteOptionFromPlugins.js +29 -29
  918. package/lib-mjs/utils/paste/generatePasteOptionFromPlugins.js.map +1 -1
  919. package/lib-mjs/utils/paste/mergePasteContent.d.ts +5 -5
  920. package/lib-mjs/utils/paste/mergePasteContent.js +61 -77
  921. package/lib-mjs/utils/paste/mergePasteContent.js.map +1 -1
  922. package/lib-mjs/utils/paste/retrieveHtmlInfo.d.ts +15 -21
  923. package/lib-mjs/utils/paste/retrieveHtmlInfo.js +64 -82
  924. package/lib-mjs/utils/paste/retrieveHtmlInfo.js.map +1 -1
  925. package/lib-mjs/utils/restoreSnapshotColors.d.ts +5 -5
  926. package/lib-mjs/utils/restoreSnapshotColors.js +11 -11
  927. package/lib-mjs/utils/restoreSnapshotColors.js.map +1 -1
  928. package/lib-mjs/utils/restoreSnapshotHTML.d.ts +5 -5
  929. package/lib-mjs/utils/restoreSnapshotHTML.js +76 -56
  930. package/lib-mjs/utils/restoreSnapshotHTML.js.map +1 -1
  931. package/lib-mjs/utils/restoreSnapshotSelection.d.ts +5 -5
  932. package/lib-mjs/utils/restoreSnapshotSelection.js +68 -68
  933. package/lib-mjs/utils/restoreSnapshotSelection.js.map +1 -1
  934. package/lib-mjs/utils/sanitizeElement.d.ts +17 -17
  935. package/lib-mjs/utils/sanitizeElement.js +346 -346
  936. package/lib-mjs/utils/sanitizeElement.js.map +1 -1
  937. package/package.json +3 -3
  938. package/lib/corePlugin/ContentModelCachePlugin.d.ts +0 -8
  939. package/lib/corePlugin/ContentModelCachePlugin.js.map +0 -1
  940. package/lib/corePlugin/ContentModelCopyPastePlugin.js.map +0 -1
  941. package/lib/corePlugin/ContentModelFormatPlugin.d.ts +0 -7
  942. package/lib/corePlugin/ContentModelFormatPlugin.js +0 -138
  943. package/lib/corePlugin/ContentModelFormatPlugin.js.map +0 -1
  944. package/lib/corePlugin/utils/contentModelDomIndexer.d.ts +0 -6
  945. package/lib/corePlugin/utils/contentModelDomIndexer.js.map +0 -1
  946. package/lib/utils/paste/convertInlineCss.d.ts +0 -5
  947. package/lib/utils/paste/convertInlineCss.js.map +0 -1
  948. package/lib-amd/corePlugin/ContentModelCachePlugin.d.ts +0 -8
  949. package/lib-amd/corePlugin/ContentModelCachePlugin.js.map +0 -1
  950. package/lib-amd/corePlugin/ContentModelCopyPastePlugin.js.map +0 -1
  951. package/lib-amd/corePlugin/ContentModelFormatPlugin.d.ts +0 -7
  952. package/lib-amd/corePlugin/ContentModelFormatPlugin.js +0 -135
  953. package/lib-amd/corePlugin/ContentModelFormatPlugin.js.map +0 -1
  954. package/lib-amd/corePlugin/utils/contentModelDomIndexer.d.ts +0 -6
  955. package/lib-amd/corePlugin/utils/contentModelDomIndexer.js.map +0 -1
  956. package/lib-amd/utils/paste/convertInlineCss.d.ts +0 -5
  957. package/lib-amd/utils/paste/convertInlineCss.js.map +0 -1
  958. package/lib-mjs/corePlugin/ContentModelCachePlugin.d.ts +0 -8
  959. package/lib-mjs/corePlugin/ContentModelCachePlugin.js.map +0 -1
  960. package/lib-mjs/corePlugin/ContentModelCopyPastePlugin.js.map +0 -1
  961. package/lib-mjs/corePlugin/ContentModelFormatPlugin.d.ts +0 -7
  962. package/lib-mjs/corePlugin/ContentModelFormatPlugin.js +0 -134
  963. package/lib-mjs/corePlugin/ContentModelFormatPlugin.js.map +0 -1
  964. package/lib-mjs/corePlugin/utils/contentModelDomIndexer.d.ts +0 -6
  965. package/lib-mjs/corePlugin/utils/contentModelDomIndexer.js.map +0 -1
  966. package/lib-mjs/utils/paste/convertInlineCss.d.ts +0 -5
  967. package/lib-mjs/utils/paste/convertInlineCss.js.map +0 -1
@@ -1,49 +1,49 @@
1
- /**
2
- * Enum used to control the different types of bullet list
3
- */
4
- export declare const BulletListType: {
5
- /**
6
- * Minimum value of the enum
7
- */
8
- Min: number;
9
- /**
10
- * Bullet triggered by *
11
- */
12
- Disc: number;
13
- /**
14
- * Bullet triggered by -
15
- */
16
- Dash: number;
17
- /**
18
- * Bullet triggered by --
19
- */
20
- Square: number;
21
- /**
22
- * Bullet triggered by >
23
- */
24
- ShortArrow: number;
25
- /**
26
- * Bullet triggered by ->
27
- */
28
- LongArrow: number;
29
- /**
30
- * Bullet triggered by =>
31
- */
32
- UnfilledArrow: number;
33
- /**
34
- * Bullet triggered by —
35
- */
36
- Hyphen: number;
37
- /**
38
- * Bullet triggered by -->
39
- */
40
- DoubleLongArrow: number;
41
- /**
42
- * Bullet type circle
43
- */
44
- Circle: number;
45
- /**
46
- * Maximum value of the enum
47
- */
48
- Max: number;
49
- };
1
+ /**
2
+ * Enum used to control the different types of bullet list
3
+ */
4
+ export declare const BulletListType: {
5
+ /**
6
+ * Minimum value of the enum
7
+ */
8
+ Min: number;
9
+ /**
10
+ * Bullet triggered by *
11
+ */
12
+ Disc: number;
13
+ /**
14
+ * Bullet triggered by -
15
+ */
16
+ Dash: number;
17
+ /**
18
+ * Bullet triggered by --
19
+ */
20
+ Square: number;
21
+ /**
22
+ * Bullet triggered by >
23
+ */
24
+ ShortArrow: number;
25
+ /**
26
+ * Bullet triggered by ->
27
+ */
28
+ LongArrow: number;
29
+ /**
30
+ * Bullet triggered by =>
31
+ */
32
+ UnfilledArrow: number;
33
+ /**
34
+ * Bullet triggered by —
35
+ */
36
+ Hyphen: number;
37
+ /**
38
+ * Bullet triggered by -->
39
+ */
40
+ DoubleLongArrow: number;
41
+ /**
42
+ * Bullet type circle
43
+ */
44
+ Circle: number;
45
+ /**
46
+ * Maximum value of the enum
47
+ */
48
+ Max: number;
49
+ };
@@ -1,53 +1,53 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BulletListType = void 0;
4
- /**
5
- * Enum used to control the different types of bullet list
6
- */
7
- exports.BulletListType = {
8
- /**
9
- * Minimum value of the enum
10
- */
11
- Min: 1,
12
- /**
13
- * Bullet triggered by *
14
- */
15
- Disc: 1,
16
- /**
17
- * Bullet triggered by -
18
- */
19
- Dash: 2,
20
- /**
21
- * Bullet triggered by --
22
- */
23
- Square: 3,
24
- /**
25
- * Bullet triggered by >
26
- */
27
- ShortArrow: 4,
28
- /**
29
- * Bullet triggered by ->
30
- */
31
- LongArrow: 5,
32
- /**
33
- * Bullet triggered by =>
34
- */
35
- UnfilledArrow: 6,
36
- /**
37
- * Bullet triggered by —
38
- */
39
- Hyphen: 7,
40
- /**
41
- * Bullet triggered by -->
42
- */
43
- DoubleLongArrow: 8,
44
- /**
45
- * Bullet type circle
46
- */
47
- Circle: 9,
48
- /**
49
- * Maximum value of the enum
50
- */
51
- Max: 9,
52
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BulletListType = void 0;
4
+ /**
5
+ * Enum used to control the different types of bullet list
6
+ */
7
+ exports.BulletListType = {
8
+ /**
9
+ * Minimum value of the enum
10
+ */
11
+ Min: 1,
12
+ /**
13
+ * Bullet triggered by *
14
+ */
15
+ Disc: 1,
16
+ /**
17
+ * Bullet triggered by -
18
+ */
19
+ Dash: 2,
20
+ /**
21
+ * Bullet triggered by --
22
+ */
23
+ Square: 3,
24
+ /**
25
+ * Bullet triggered by >
26
+ */
27
+ ShortArrow: 4,
28
+ /**
29
+ * Bullet triggered by ->
30
+ */
31
+ LongArrow: 5,
32
+ /**
33
+ * Bullet triggered by =>
34
+ */
35
+ UnfilledArrow: 6,
36
+ /**
37
+ * Bullet triggered by —
38
+ */
39
+ Hyphen: 7,
40
+ /**
41
+ * Bullet triggered by -->
42
+ */
43
+ DoubleLongArrow: 8,
44
+ /**
45
+ * Bullet type circle
46
+ */
47
+ Circle: 9,
48
+ /**
49
+ * Maximum value of the enum
50
+ */
51
+ Max: 9,
52
+ };
53
53
  //# sourceMappingURL=BulletListType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BulletListType.js","sourceRoot":"","sources":["../../../../packages-content-model/roosterjs-content-model-core/lib/constants/BulletListType.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACU,QAAA,cAAc,GAAG;IAC1B;;OAEG;IACH,GAAG,EAAE,CAAC;IACN;;OAEG;IACH,IAAI,EAAE,CAAC;IACP;;OAEG;IACH,IAAI,EAAE,CAAC;IACP;;OAEG;IACH,MAAM,EAAE,CAAC;IACT;;OAEG;IACH,UAAU,EAAE,CAAC;IACb;;OAEG;IACH,SAAS,EAAE,CAAC;IACZ;;OAEG;IACH,aAAa,EAAE,CAAC;IAChB;;OAEG;IACH,MAAM,EAAE,CAAC;IACT;;OAEG;IACH,eAAe,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,CAAC;IACT;;OAEG;IACH,GAAG,EAAE,CAAC;CACT,CAAC","sourcesContent":["/**\n * Enum used to control the different types of bullet list\n */\nexport const BulletListType = {\n /**\n * Minimum value of the enum\n */\n Min: 1,\n /**\n * Bullet triggered by *\n */\n Disc: 1,\n /**\n * Bullet triggered by -\n */\n Dash: 2,\n /**\n * Bullet triggered by --\n */\n Square: 3,\n /**\n * Bullet triggered by >\n */\n ShortArrow: 4,\n /**\n * Bullet triggered by ->\n */\n LongArrow: 5,\n /**\n * Bullet triggered by =>\n */\n UnfilledArrow: 6,\n /**\n * Bullet triggered by —\n */\n Hyphen: 7,\n /**\n * Bullet triggered by -->\n */\n DoubleLongArrow: 8,\n /**\n * Bullet type circle\n */\n Circle: 9,\n /**\n * Maximum value of the enum\n */\n Max: 9,\n};\n"]}
1
+ {"version":3,"file":"BulletListType.js","sourceRoot":"","sources":["../../../../packages-content-model/roosterjs-content-model-core/lib/constants/BulletListType.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACU,QAAA,cAAc,GAAG;IAC1B;;OAEG;IACH,GAAG,EAAE,CAAC;IACN;;OAEG;IACH,IAAI,EAAE,CAAC;IACP;;OAEG;IACH,IAAI,EAAE,CAAC;IACP;;OAEG;IACH,MAAM,EAAE,CAAC;IACT;;OAEG;IACH,UAAU,EAAE,CAAC;IACb;;OAEG;IACH,SAAS,EAAE,CAAC;IACZ;;OAEG;IACH,aAAa,EAAE,CAAC;IAChB;;OAEG;IACH,MAAM,EAAE,CAAC;IACT;;OAEG;IACH,eAAe,EAAE,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,CAAC;IACT;;OAEG;IACH,GAAG,EAAE,CAAC;CACT,CAAC","sourcesContent":["/**\r\n * Enum used to control the different types of bullet list\r\n */\r\nexport const BulletListType = {\r\n /**\r\n * Minimum value of the enum\r\n */\r\n Min: 1,\r\n /**\r\n * Bullet triggered by *\r\n */\r\n Disc: 1,\r\n /**\r\n * Bullet triggered by -\r\n */\r\n Dash: 2,\r\n /**\r\n * Bullet triggered by --\r\n */\r\n Square: 3,\r\n /**\r\n * Bullet triggered by >\r\n */\r\n ShortArrow: 4,\r\n /**\r\n * Bullet triggered by ->\r\n */\r\n LongArrow: 5,\r\n /**\r\n * Bullet triggered by =>\r\n */\r\n UnfilledArrow: 6,\r\n /**\r\n * Bullet triggered by —\r\n */\r\n Hyphen: 7,\r\n /**\r\n * Bullet triggered by -->\r\n */\r\n DoubleLongArrow: 8,\r\n /**\r\n * Bullet type circle\r\n */\r\n Circle: 9,\r\n /**\r\n * Maximum value of the enum\r\n */\r\n Max: 9,\r\n};\r\n"]}
@@ -1,59 +1,59 @@
1
- /**
2
- * Possible change sources. Here are the predefined sources.
3
- * It can also be other string if the change source can't fall into these sources.
4
- */
5
- export declare const ChangeSource: {
6
- /**
7
- * Content changed by auto link
8
- */
9
- AutoLink: string;
10
- /**
11
- * Content changed by create link
12
- */
13
- CreateLink: string;
14
- /**
15
- * Content changed by format
16
- */
17
- Format: string;
18
- /**
19
- * Content changed by image resize
20
- */
21
- ImageResize: string;
22
- /**
23
- * Content changed by paste
24
- */
25
- Paste: string;
26
- /**
27
- * Content changed by setContent API
28
- */
29
- SetContent: string;
30
- /**
31
- * Content changed by cut operation
32
- */
33
- Cut: string;
34
- /**
35
- * Content changed by drag & drop operation
36
- */
37
- Drop: string;
38
- /**
39
- * Insert a new entity into editor
40
- */
41
- InsertEntity: string;
42
- /**
43
- * Editor is switched to dark mode, content color is changed
44
- */
45
- SwitchToDarkMode: string;
46
- /**
47
- * Editor is switched to light mode, content color is changed
48
- */
49
- SwitchToLightMode: string;
50
- /**
51
- * List chain reorganized numbers of lists
52
- */
53
- ListChain: string;
54
- /**
55
- * Keyboard event, used by Content Model.
56
- * Data of this event will be the key code number
57
- */
58
- Keyboard: string;
59
- };
1
+ /**
2
+ * Possible change sources. Here are the predefined sources.
3
+ * It can also be other string if the change source can't fall into these sources.
4
+ */
5
+ export declare const ChangeSource: {
6
+ /**
7
+ * Content changed by auto link
8
+ */
9
+ AutoLink: string;
10
+ /**
11
+ * Content changed by create link
12
+ */
13
+ CreateLink: string;
14
+ /**
15
+ * Content changed by format
16
+ */
17
+ Format: string;
18
+ /**
19
+ * Content changed by image resize
20
+ */
21
+ ImageResize: string;
22
+ /**
23
+ * Content changed by paste
24
+ */
25
+ Paste: string;
26
+ /**
27
+ * Content changed by setContent API
28
+ */
29
+ SetContent: string;
30
+ /**
31
+ * Content changed by cut operation
32
+ */
33
+ Cut: string;
34
+ /**
35
+ * Content changed by drag & drop operation
36
+ */
37
+ Drop: string;
38
+ /**
39
+ * Insert a new entity into editor
40
+ */
41
+ InsertEntity: string;
42
+ /**
43
+ * Editor is switched to dark mode, content color is changed
44
+ */
45
+ SwitchToDarkMode: string;
46
+ /**
47
+ * Editor is switched to light mode, content color is changed
48
+ */
49
+ SwitchToLightMode: string;
50
+ /**
51
+ * List chain reorganized numbers of lists
52
+ */
53
+ ListChain: string;
54
+ /**
55
+ * Keyboard event, used by Content Model.
56
+ * Data of this event will be the key code number
57
+ */
58
+ Keyboard: string;
59
+ };
@@ -1,63 +1,63 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChangeSource = void 0;
4
- /**
5
- * Possible change sources. Here are the predefined sources.
6
- * It can also be other string if the change source can't fall into these sources.
7
- */
8
- exports.ChangeSource = {
9
- /**
10
- * Content changed by auto link
11
- */
12
- AutoLink: 'AutoLink',
13
- /**
14
- * Content changed by create link
15
- */
16
- CreateLink: 'CreateLink',
17
- /**
18
- * Content changed by format
19
- */
20
- Format: 'Format',
21
- /**
22
- * Content changed by image resize
23
- */
24
- ImageResize: 'ImageResize',
25
- /**
26
- * Content changed by paste
27
- */
28
- Paste: 'Paste',
29
- /**
30
- * Content changed by setContent API
31
- */
32
- SetContent: 'SetContent',
33
- /**
34
- * Content changed by cut operation
35
- */
36
- Cut: 'Cut',
37
- /**
38
- * Content changed by drag & drop operation
39
- */
40
- Drop: 'Drop',
41
- /**
42
- * Insert a new entity into editor
43
- */
44
- InsertEntity: 'InsertEntity',
45
- /**
46
- * Editor is switched to dark mode, content color is changed
47
- */
48
- SwitchToDarkMode: 'SwitchToDarkMode',
49
- /**
50
- * Editor is switched to light mode, content color is changed
51
- */
52
- SwitchToLightMode: 'SwitchToLightMode',
53
- /**
54
- * List chain reorganized numbers of lists
55
- */
56
- ListChain: 'ListChain',
57
- /**
58
- * Keyboard event, used by Content Model.
59
- * Data of this event will be the key code number
60
- */
61
- Keyboard: 'Keyboard',
62
- };
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChangeSource = void 0;
4
+ /**
5
+ * Possible change sources. Here are the predefined sources.
6
+ * It can also be other string if the change source can't fall into these sources.
7
+ */
8
+ exports.ChangeSource = {
9
+ /**
10
+ * Content changed by auto link
11
+ */
12
+ AutoLink: 'AutoLink',
13
+ /**
14
+ * Content changed by create link
15
+ */
16
+ CreateLink: 'CreateLink',
17
+ /**
18
+ * Content changed by format
19
+ */
20
+ Format: 'Format',
21
+ /**
22
+ * Content changed by image resize
23
+ */
24
+ ImageResize: 'ImageResize',
25
+ /**
26
+ * Content changed by paste
27
+ */
28
+ Paste: 'Paste',
29
+ /**
30
+ * Content changed by setContent API
31
+ */
32
+ SetContent: 'SetContent',
33
+ /**
34
+ * Content changed by cut operation
35
+ */
36
+ Cut: 'Cut',
37
+ /**
38
+ * Content changed by drag & drop operation
39
+ */
40
+ Drop: 'Drop',
41
+ /**
42
+ * Insert a new entity into editor
43
+ */
44
+ InsertEntity: 'InsertEntity',
45
+ /**
46
+ * Editor is switched to dark mode, content color is changed
47
+ */
48
+ SwitchToDarkMode: 'SwitchToDarkMode',
49
+ /**
50
+ * Editor is switched to light mode, content color is changed
51
+ */
52
+ SwitchToLightMode: 'SwitchToLightMode',
53
+ /**
54
+ * List chain reorganized numbers of lists
55
+ */
56
+ ListChain: 'ListChain',
57
+ /**
58
+ * Keyboard event, used by Content Model.
59
+ * Data of this event will be the key code number
60
+ */
61
+ Keyboard: 'Keyboard',
62
+ };
63
63
  //# sourceMappingURL=ChangeSource.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChangeSource.js","sourceRoot":"","sources":["../../../../packages-content-model/roosterjs-content-model-core/lib/constants/ChangeSource.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,YAAY,GAAG;IACxB;;OAEG;IACH,QAAQ,EAAE,UAAU;IACpB;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAChB;;OAEG;IACH,WAAW,EAAE,aAAa;IAC1B;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,GAAG,EAAE,KAAK;IACV;;OAEG;IACH,IAAI,EAAE,MAAM;IACZ;;OAEG;IACH,YAAY,EAAE,cAAc;IAC5B;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IACpC;;OAEG;IACH,iBAAiB,EAAE,mBAAmB;IACtC;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;;OAGG;IACH,QAAQ,EAAE,UAAU;CACvB,CAAC","sourcesContent":["/**\n * Possible change sources. Here are the predefined sources.\n * It can also be other string if the change source can't fall into these sources.\n */\nexport const ChangeSource = {\n /**\n * Content changed by auto link\n */\n AutoLink: 'AutoLink',\n /**\n * Content changed by create link\n */\n CreateLink: 'CreateLink',\n /**\n * Content changed by format\n */\n Format: 'Format',\n /**\n * Content changed by image resize\n */\n ImageResize: 'ImageResize',\n /**\n * Content changed by paste\n */\n Paste: 'Paste',\n /**\n * Content changed by setContent API\n */\n SetContent: 'SetContent',\n /**\n * Content changed by cut operation\n */\n Cut: 'Cut',\n /**\n * Content changed by drag & drop operation\n */\n Drop: 'Drop',\n /**\n * Insert a new entity into editor\n */\n InsertEntity: 'InsertEntity',\n /**\n * Editor is switched to dark mode, content color is changed\n */\n SwitchToDarkMode: 'SwitchToDarkMode',\n /**\n * Editor is switched to light mode, content color is changed\n */\n SwitchToLightMode: 'SwitchToLightMode',\n /**\n * List chain reorganized numbers of lists\n */\n ListChain: 'ListChain',\n /**\n * Keyboard event, used by Content Model.\n * Data of this event will be the key code number\n */\n Keyboard: 'Keyboard',\n};\n"]}
1
+ {"version":3,"file":"ChangeSource.js","sourceRoot":"","sources":["../../../../packages-content-model/roosterjs-content-model-core/lib/constants/ChangeSource.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,YAAY,GAAG;IACxB;;OAEG;IACH,QAAQ,EAAE,UAAU;IACpB;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,MAAM,EAAE,QAAQ;IAChB;;OAEG;IACH,WAAW,EAAE,aAAa;IAC1B;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;OAEG;IACH,UAAU,EAAE,YAAY;IACxB;;OAEG;IACH,GAAG,EAAE,KAAK;IACV;;OAEG;IACH,IAAI,EAAE,MAAM;IACZ;;OAEG;IACH,YAAY,EAAE,cAAc;IAC5B;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IACpC;;OAEG;IACH,iBAAiB,EAAE,mBAAmB;IACtC;;OAEG;IACH,SAAS,EAAE,WAAW;IACtB;;;OAGG;IACH,QAAQ,EAAE,UAAU;CACvB,CAAC","sourcesContent":["/**\r\n * Possible change sources. Here are the predefined sources.\r\n * It can also be other string if the change source can't fall into these sources.\r\n */\r\nexport const ChangeSource = {\r\n /**\r\n * Content changed by auto link\r\n */\r\n AutoLink: 'AutoLink',\r\n /**\r\n * Content changed by create link\r\n */\r\n CreateLink: 'CreateLink',\r\n /**\r\n * Content changed by format\r\n */\r\n Format: 'Format',\r\n /**\r\n * Content changed by image resize\r\n */\r\n ImageResize: 'ImageResize',\r\n /**\r\n * Content changed by paste\r\n */\r\n Paste: 'Paste',\r\n /**\r\n * Content changed by setContent API\r\n */\r\n SetContent: 'SetContent',\r\n /**\r\n * Content changed by cut operation\r\n */\r\n Cut: 'Cut',\r\n /**\r\n * Content changed by drag & drop operation\r\n */\r\n Drop: 'Drop',\r\n /**\r\n * Insert a new entity into editor\r\n */\r\n InsertEntity: 'InsertEntity',\r\n /**\r\n * Editor is switched to dark mode, content color is changed\r\n */\r\n SwitchToDarkMode: 'SwitchToDarkMode',\r\n /**\r\n * Editor is switched to light mode, content color is changed\r\n */\r\n SwitchToLightMode: 'SwitchToLightMode',\r\n /**\r\n * List chain reorganized numbers of lists\r\n */\r\n ListChain: 'ListChain',\r\n /**\r\n * Keyboard event, used by Content Model.\r\n * Data of this event will be the key code number\r\n */\r\n Keyboard: 'Keyboard',\r\n};\r\n"]}
@@ -1,93 +1,93 @@
1
- /**
2
- * Enum used to control the different types of numbering list
3
- */
4
- export declare const NumberingListType: {
5
- /**
6
- * Minimum value of the enum
7
- */
8
- Min: number;
9
- /**
10
- * Numbering triggered by 1.
11
- */
12
- Decimal: number;
13
- /**
14
- * Numbering triggered by 1-
15
- */
16
- DecimalDash: number;
17
- /**
18
- * Numbering triggered by 1)
19
- */
20
- DecimalParenthesis: number;
21
- /**
22
- * Numbering triggered by (1)
23
- */
24
- DecimalDoubleParenthesis: number;
25
- /**
26
- * Numbering triggered by a.
27
- */
28
- LowerAlpha: number;
29
- /**
30
- * Numbering triggered by a)
31
- */
32
- LowerAlphaParenthesis: number;
33
- /**
34
- * Numbering triggered by (a)
35
- */
36
- LowerAlphaDoubleParenthesis: number;
37
- /**
38
- * Numbering triggered by a-
39
- */
40
- LowerAlphaDash: number;
41
- /**
42
- * Numbering triggered by A.
43
- */
44
- UpperAlpha: number;
45
- /**
46
- * Numbering triggered by A)
47
- */
48
- UpperAlphaParenthesis: number;
49
- /**
50
- * Numbering triggered by (A)
51
- */
52
- UpperAlphaDoubleParenthesis: number;
53
- /**
54
- * Numbering triggered by A-
55
- */
56
- UpperAlphaDash: number;
57
- /**
58
- * Numbering triggered by i.
59
- */
60
- LowerRoman: number;
61
- /**
62
- * Numbering triggered by i)
63
- */
64
- LowerRomanParenthesis: number;
65
- /**
66
- * Numbering triggered by (i)
67
- */
68
- LowerRomanDoubleParenthesis: number;
69
- /**
70
- * Numbering triggered by i-
71
- */
72
- LowerRomanDash: number;
73
- /**
74
- * Numbering triggered by I.
75
- */
76
- UpperRoman: number;
77
- /**
78
- * Numbering triggered by I)
79
- */
80
- UpperRomanParenthesis: number;
81
- /**
82
- * Numbering triggered by (I)
83
- */
84
- UpperRomanDoubleParenthesis: number;
85
- /**
86
- * Numbering triggered by I-
87
- */
88
- UpperRomanDash: number;
89
- /**
90
- * Maximum value of the enum
91
- */
92
- Max: number;
93
- };
1
+ /**
2
+ * Enum used to control the different types of numbering list
3
+ */
4
+ export declare const NumberingListType: {
5
+ /**
6
+ * Minimum value of the enum
7
+ */
8
+ Min: number;
9
+ /**
10
+ * Numbering triggered by 1.
11
+ */
12
+ Decimal: number;
13
+ /**
14
+ * Numbering triggered by 1-
15
+ */
16
+ DecimalDash: number;
17
+ /**
18
+ * Numbering triggered by 1)
19
+ */
20
+ DecimalParenthesis: number;
21
+ /**
22
+ * Numbering triggered by (1)
23
+ */
24
+ DecimalDoubleParenthesis: number;
25
+ /**
26
+ * Numbering triggered by a.
27
+ */
28
+ LowerAlpha: number;
29
+ /**
30
+ * Numbering triggered by a)
31
+ */
32
+ LowerAlphaParenthesis: number;
33
+ /**
34
+ * Numbering triggered by (a)
35
+ */
36
+ LowerAlphaDoubleParenthesis: number;
37
+ /**
38
+ * Numbering triggered by a-
39
+ */
40
+ LowerAlphaDash: number;
41
+ /**
42
+ * Numbering triggered by A.
43
+ */
44
+ UpperAlpha: number;
45
+ /**
46
+ * Numbering triggered by A)
47
+ */
48
+ UpperAlphaParenthesis: number;
49
+ /**
50
+ * Numbering triggered by (A)
51
+ */
52
+ UpperAlphaDoubleParenthesis: number;
53
+ /**
54
+ * Numbering triggered by A-
55
+ */
56
+ UpperAlphaDash: number;
57
+ /**
58
+ * Numbering triggered by i.
59
+ */
60
+ LowerRoman: number;
61
+ /**
62
+ * Numbering triggered by i)
63
+ */
64
+ LowerRomanParenthesis: number;
65
+ /**
66
+ * Numbering triggered by (i)
67
+ */
68
+ LowerRomanDoubleParenthesis: number;
69
+ /**
70
+ * Numbering triggered by i-
71
+ */
72
+ LowerRomanDash: number;
73
+ /**
74
+ * Numbering triggered by I.
75
+ */
76
+ UpperRoman: number;
77
+ /**
78
+ * Numbering triggered by I)
79
+ */
80
+ UpperRomanParenthesis: number;
81
+ /**
82
+ * Numbering triggered by (I)
83
+ */
84
+ UpperRomanDoubleParenthesis: number;
85
+ /**
86
+ * Numbering triggered by I-
87
+ */
88
+ UpperRomanDash: number;
89
+ /**
90
+ * Maximum value of the enum
91
+ */
92
+ Max: number;
93
+ };