@opentiny/fluent-editor 4.0.0-alpha.15 → 4.0.0-alpha.16

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 (330) hide show
  1. package/README.md +88 -88
  2. package/es/attributors/line-height.es.js.map +1 -1
  3. package/es/config/base64-image.es.js.map +1 -1
  4. package/es/config/editor.config.es.js.map +1 -1
  5. package/es/config/editor.utils.es.js.map +1 -1
  6. package/es/config/i18n/en-us.es.js.map +1 -1
  7. package/es/config/i18n/zh-cn.es.js.map +1 -1
  8. package/es/config/index.es.js.map +1 -1
  9. package/es/core/fluent-editor.es.js.map +1 -1
  10. package/es/fluent-editor.es.js.map +1 -1
  11. package/es/formats/emoji.es.js.map +1 -1
  12. package/es/formats/soft-break.es.js.map +1 -1
  13. package/es/formats/strike.es.js.map +1 -1
  14. package/es/formats/video.es.js.map +1 -1
  15. package/es/modules/ai/constants.es.js.map +1 -1
  16. package/es/modules/ai/icons.es.js.map +1 -1
  17. package/es/modules/ai/index.es.js.map +1 -1
  18. package/es/modules/collaborative-editing/awareness/awareness.es.js.map +1 -1
  19. package/es/modules/collaborative-editing/awareness/y-indexeddb.es.js.map +1 -1
  20. package/es/modules/collaborative-editing/collaborative-editing.es.js.map +1 -1
  21. package/es/modules/collaborative-editing/module.es.js.map +1 -1
  22. package/es/modules/collaborative-editing/provider/providerRegistry.es.js.map +1 -1
  23. package/es/modules/collaborative-editing/provider/webrtc.es.js.map +1 -1
  24. package/es/modules/collaborative-editing/provider/websocket.es.js.map +1 -1
  25. package/es/modules/counter.es.js.map +1 -1
  26. package/es/modules/custom-clipboard.es.js.map +1 -1
  27. package/es/modules/custom-image/actions/action.es.js.map +1 -1
  28. package/es/modules/custom-image/actions/custom-resize-action.es.js.map +1 -1
  29. package/es/modules/custom-image/actions/delete-action.es.js.map +1 -1
  30. package/es/modules/custom-image/blot-formatter.es.js.map +1 -1
  31. package/es/modules/custom-image/image.es.js.map +1 -1
  32. package/es/modules/custom-image/options.es.js.map +1 -1
  33. package/es/modules/custom-image/specs/blot-spec.es.js.map +1 -1
  34. package/es/modules/custom-image/specs/custom-image-spec.es.js.map +1 -1
  35. package/es/modules/custom-image/specs/image-spec.es.js.map +1 -1
  36. package/es/modules/divider.es.js.map +1 -1
  37. package/es/modules/emoji.es.js.map +1 -1
  38. package/es/modules/file/formats/file.es.js.map +1 -1
  39. package/es/modules/file/modules/file-bar.es.js.map +1 -1
  40. package/es/modules/file/modules/file-module.es.js.map +1 -1
  41. package/es/modules/flow-chart/config-utils.es.js.map +1 -1
  42. package/es/modules/flow-chart/formats/flow-chart-blot.es.js.map +1 -1
  43. package/es/modules/flow-chart/i18n/en-us.es.js.map +1 -1
  44. package/es/modules/flow-chart/i18n/index.es.js.map +1 -1
  45. package/es/modules/flow-chart/i18n/zh-cn.es.js.map +1 -1
  46. package/es/modules/flow-chart/icons.es.js.map +1 -1
  47. package/es/modules/flow-chart/index.es.js.map +1 -1
  48. package/es/modules/flow-chart/modules/context-menu.es.js.map +1 -1
  49. package/es/modules/flow-chart/modules/control-panel.es.js.map +1 -1
  50. package/es/modules/flow-chart/modules/custom-resize-action.es.js.map +1 -1
  51. package/es/modules/link/formats/link.es.js.map +1 -1
  52. package/es/modules/link/modules/tooltip.es.js.map +1 -1
  53. package/es/modules/mathlive/formats.es.js.map +1 -1
  54. package/es/modules/mathlive/tooltip.es.js.map +1 -1
  55. package/es/modules/mention/constants.es.js.map +1 -1
  56. package/es/modules/mention/mention-link.es.js.map +1 -1
  57. package/es/modules/mention/mention.es.js.map +1 -1
  58. package/es/modules/mind-map/config-utils.es.js.map +1 -1
  59. package/es/modules/mind-map/formats/mind-map-blot.es.js.map +1 -1
  60. package/es/modules/mind-map/i18n/en-us.es.js.map +1 -1
  61. package/es/modules/mind-map/i18n/index.es.js.map +1 -1
  62. package/es/modules/mind-map/i18n/zh-cn.es.js.map +1 -1
  63. package/es/modules/mind-map/icons.es.js.map +1 -1
  64. package/es/modules/mind-map/index.es.js.map +1 -1
  65. package/es/modules/mind-map/modules/context-menu.es.js.map +1 -1
  66. package/es/modules/mind-map/modules/control-panel.es.js.map +1 -1
  67. package/es/modules/mind-map/modules/custom-resize-action.es.js.map +1 -1
  68. package/es/modules/syntax.es.js.map +1 -1
  69. package/es/modules/toolbar/better-picker.es.js.map +1 -1
  70. package/es/themes/snow.es.js.map +1 -1
  71. package/es/tools/screenshot.es.js.map +1 -1
  72. package/es/ui/icons.config.es.js.map +1 -1
  73. package/es/ui/icons.es.js.map +1 -1
  74. package/es/utils/debounce.es.js.map +1 -1
  75. package/es/utils/merge.es.js.map +1 -1
  76. package/es/utils/method.es.js.map +1 -1
  77. package/lib/attributors/line-height.cjs.js.map +1 -1
  78. package/lib/config/base64-image.cjs.js.map +1 -1
  79. package/lib/config/editor.config.cjs.js.map +1 -1
  80. package/lib/config/editor.utils.cjs.js.map +1 -1
  81. package/lib/config/i18n/en-us.cjs.js.map +1 -1
  82. package/lib/config/i18n/zh-cn.cjs.js.map +1 -1
  83. package/lib/config/index.cjs.js.map +1 -1
  84. package/lib/core/fluent-editor.cjs.js.map +1 -1
  85. package/lib/fluent-editor.cjs.js.map +1 -1
  86. package/lib/formats/emoji.cjs.js.map +1 -1
  87. package/lib/formats/soft-break.cjs.js.map +1 -1
  88. package/lib/formats/strike.cjs.js.map +1 -1
  89. package/lib/formats/video.cjs.js.map +1 -1
  90. package/lib/modules/ai/constants.cjs.js.map +1 -1
  91. package/lib/modules/ai/icons.cjs.js.map +1 -1
  92. package/lib/modules/ai/index.cjs.js.map +1 -1
  93. package/lib/modules/collaborative-editing/awareness/awareness.cjs.js.map +1 -1
  94. package/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js.map +1 -1
  95. package/lib/modules/collaborative-editing/collaborative-editing.cjs.js.map +1 -1
  96. package/lib/modules/collaborative-editing/module.cjs.js.map +1 -1
  97. package/lib/modules/collaborative-editing/provider/providerRegistry.cjs.js.map +1 -1
  98. package/lib/modules/collaborative-editing/provider/webrtc.cjs.js.map +1 -1
  99. package/lib/modules/collaborative-editing/provider/websocket.cjs.js.map +1 -1
  100. package/lib/modules/counter.cjs.js.map +1 -1
  101. package/lib/modules/custom-clipboard.cjs.js.map +1 -1
  102. package/lib/modules/custom-image/actions/action.cjs.js.map +1 -1
  103. package/lib/modules/custom-image/actions/custom-resize-action.cjs.js.map +1 -1
  104. package/lib/modules/custom-image/actions/delete-action.cjs.js.map +1 -1
  105. package/lib/modules/custom-image/blot-formatter.cjs.js.map +1 -1
  106. package/lib/modules/custom-image/image.cjs.js.map +1 -1
  107. package/lib/modules/custom-image/options.cjs.js.map +1 -1
  108. package/lib/modules/custom-image/specs/blot-spec.cjs.js.map +1 -1
  109. package/lib/modules/custom-image/specs/custom-image-spec.cjs.js.map +1 -1
  110. package/lib/modules/custom-image/specs/image-spec.cjs.js.map +1 -1
  111. package/lib/modules/divider.cjs.js.map +1 -1
  112. package/lib/modules/emoji.cjs.js.map +1 -1
  113. package/lib/modules/file/formats/file.cjs.js.map +1 -1
  114. package/lib/modules/file/modules/file-bar.cjs.js.map +1 -1
  115. package/lib/modules/file/modules/file-module.cjs.js.map +1 -1
  116. package/lib/modules/flow-chart/config-utils.cjs.js.map +1 -1
  117. package/lib/modules/flow-chart/formats/flow-chart-blot.cjs.js.map +1 -1
  118. package/lib/modules/flow-chart/i18n/en-us.cjs.js.map +1 -1
  119. package/lib/modules/flow-chart/i18n/index.cjs.js.map +1 -1
  120. package/lib/modules/flow-chart/i18n/zh-cn.cjs.js.map +1 -1
  121. package/lib/modules/flow-chart/icons.cjs.js.map +1 -1
  122. package/lib/modules/flow-chart/index.cjs.js.map +1 -1
  123. package/lib/modules/flow-chart/modules/context-menu.cjs.js.map +1 -1
  124. package/lib/modules/flow-chart/modules/control-panel.cjs.js.map +1 -1
  125. package/lib/modules/flow-chart/modules/custom-resize-action.cjs.js.map +1 -1
  126. package/lib/modules/link/formats/link.cjs.js.map +1 -1
  127. package/lib/modules/link/modules/tooltip.cjs.js.map +1 -1
  128. package/lib/modules/mathlive/formats.cjs.js.map +1 -1
  129. package/lib/modules/mathlive/tooltip.cjs.js.map +1 -1
  130. package/lib/modules/mention/constants.cjs.js.map +1 -1
  131. package/lib/modules/mention/mention-link.cjs.js.map +1 -1
  132. package/lib/modules/mention/mention.cjs.js.map +1 -1
  133. package/lib/modules/mind-map/config-utils.cjs.js.map +1 -1
  134. package/lib/modules/mind-map/formats/mind-map-blot.cjs.js.map +1 -1
  135. package/lib/modules/mind-map/i18n/en-us.cjs.js.map +1 -1
  136. package/lib/modules/mind-map/i18n/index.cjs.js.map +1 -1
  137. package/lib/modules/mind-map/i18n/zh-cn.cjs.js.map +1 -1
  138. package/lib/modules/mind-map/icons.cjs.js.map +1 -1
  139. package/lib/modules/mind-map/index.cjs.js.map +1 -1
  140. package/lib/modules/mind-map/modules/context-menu.cjs.js.map +1 -1
  141. package/lib/modules/mind-map/modules/control-panel.cjs.js.map +1 -1
  142. package/lib/modules/mind-map/modules/custom-resize-action.cjs.js.map +1 -1
  143. package/lib/modules/syntax.cjs.js.map +1 -1
  144. package/lib/modules/toolbar/better-picker.cjs.js.map +1 -1
  145. package/lib/themes/snow.cjs.js.map +1 -1
  146. package/lib/tools/screenshot.cjs.js.map +1 -1
  147. package/lib/ui/icons.cjs.js.map +1 -1
  148. package/lib/ui/icons.config.cjs.js.map +1 -1
  149. package/lib/utils/debounce.cjs.js.map +1 -1
  150. package/lib/utils/merge.cjs.js.map +1 -1
  151. package/lib/utils/method.cjs.js.map +1 -1
  152. package/package.json +1 -1
  153. package/patches/quill@2.0.3.patch +33 -33
  154. package/scripts/apply-patches.cjs +248 -248
  155. package/types/attributors/font-size.d.ts +1 -1
  156. package/types/attributors/font-style.d.ts +1 -1
  157. package/types/attributors/index.d.ts +4 -4
  158. package/types/attributors/line-height.d.ts +1 -1
  159. package/types/attributors/text-indent.d.ts +1 -1
  160. package/types/config/base64-image.d.ts +2 -2
  161. package/types/config/editor.config.d.ts +55 -55
  162. package/types/config/editor.utils.d.ts +40 -40
  163. package/types/config/i18n/en-us.d.ts +125 -125
  164. package/types/config/i18n/zh-cn.d.ts +125 -125
  165. package/types/config/index.d.ts +7 -7
  166. package/types/config/types/editor-config.interface.d.ts +11 -12
  167. package/types/config/types/editor-modules.interface.d.ts +38 -39
  168. package/types/config/types/index.d.ts +3 -3
  169. package/types/config/types/type.d.ts +2 -2
  170. package/types/core/fluent-editor.d.ts +10 -11
  171. package/types/fluent-editor.d.ts +1 -2
  172. package/types/formats/emoji.d.ts +7 -8
  173. package/types/formats/index.d.ts +4 -4
  174. package/types/formats/soft-break.d.ts +11 -12
  175. package/types/formats/strike.d.ts +7 -8
  176. package/types/formats/video.d.ts +12 -13
  177. package/types/index.d.ts +7 -8
  178. package/types/modules/ai/constants.d.ts +30 -30
  179. package/types/modules/ai/icons.d.ts +21 -21
  180. package/types/modules/ai/index.d.ts +93 -94
  181. package/types/modules/ai/types.d.ts +16 -16
  182. package/types/modules/collaborative-editing/awareness/awareness.d.ts +25 -26
  183. package/types/modules/collaborative-editing/awareness/index.d.ts +2 -2
  184. package/types/modules/collaborative-editing/awareness/y-indexeddb.d.ts +2 -3
  185. package/types/modules/collaborative-editing/collaborative-editing.d.ts +20 -21
  186. package/types/modules/collaborative-editing/index.d.ts +2 -2
  187. package/types/modules/collaborative-editing/module.d.ts +10 -11
  188. package/types/modules/collaborative-editing/provider/index.d.ts +3 -3
  189. package/types/modules/collaborative-editing/provider/providerRegistry.d.ts +24 -25
  190. package/types/modules/collaborative-editing/provider/webrtc.d.ts +33 -34
  191. package/types/modules/collaborative-editing/provider/websocket.d.ts +37 -38
  192. package/types/modules/collaborative-editing/types.d.ts +45 -46
  193. package/types/modules/counter.d.ts +21 -22
  194. package/types/modules/custom-clipboard.d.ts +23 -24
  195. package/types/modules/custom-image/actions/{Action.d.ts → action.d.ts} +7 -8
  196. package/types/modules/custom-image/actions/custom-resize-action.d.ts +22 -23
  197. package/types/modules/custom-image/actions/delete-action.d.ts +5 -6
  198. package/types/modules/custom-image/actions/image-toolbar-buttons.d.ts +15 -16
  199. package/types/modules/custom-image/actions/index.d.ts +6 -6
  200. package/types/modules/custom-image/actions/toolbar-action.d.ts +7 -8
  201. package/types/modules/custom-image/actions/toolbar.d.ts +16 -17
  202. package/types/modules/custom-image/blot-formatter.d.ts +19 -20
  203. package/types/modules/custom-image/image.d.ts +26 -27
  204. package/types/modules/custom-image/index.d.ts +4 -4
  205. package/types/modules/custom-image/{Options.d.ts → options.d.ts} +45 -46
  206. package/types/modules/custom-image/specs/blot-spec.d.ts +10 -11
  207. package/types/modules/custom-image/specs/custom-image-spec.d.ts +15 -16
  208. package/types/modules/custom-image/specs/image-spec.d.ts +7 -8
  209. package/types/modules/custom-image/specs/index.d.ts +3 -3
  210. package/types/modules/custom-uploader.d.ts +37 -38
  211. package/types/modules/divider.d.ts +7 -8
  212. package/types/modules/emoji.d.ts +35 -36
  213. package/types/modules/file/formats/file.d.ts +17 -18
  214. package/types/modules/file/index.d.ts +3 -3
  215. package/types/modules/file/modules/file-bar.d.ts +14 -14
  216. package/types/modules/file/modules/file-module.d.ts +7 -8
  217. package/types/modules/flow-chart/config-utils.d.ts +9 -10
  218. package/types/modules/flow-chart/formats/flow-chart-blot.d.ts +40 -41
  219. package/types/modules/flow-chart/i18n/en-us.d.ts +26 -26
  220. package/types/modules/flow-chart/i18n/index.d.ts +1 -1
  221. package/types/modules/flow-chart/i18n/zh-cn.d.ts +26 -26
  222. package/types/modules/flow-chart/icons.d.ts +12 -12
  223. package/types/modules/flow-chart/index.d.ts +8 -9
  224. package/types/modules/flow-chart/modules/context-menu.d.ts +1 -2
  225. package/types/modules/flow-chart/modules/control-panel.d.ts +1 -2
  226. package/types/modules/flow-chart/modules/custom-resize-action.d.ts +22 -22
  227. package/types/modules/flow-chart/options.d.ts +29 -29
  228. package/types/modules/i18n.d.ts +13 -14
  229. package/types/modules/index.d.ts +18 -18
  230. package/types/modules/link/formats/link.d.ts +14 -15
  231. package/types/modules/link/index.d.ts +2 -2
  232. package/types/modules/link/modules/tooltip.d.ts +25 -26
  233. package/types/modules/mathlive/formats.d.ts +20 -21
  234. package/types/modules/mathlive/index.d.ts +3 -3
  235. package/types/modules/mathlive/module.d.ts +7 -8
  236. package/types/modules/mathlive/tooltip.d.ts +14 -15
  237. package/types/modules/mention/constants.d.ts +3 -3
  238. package/types/modules/mention/index.d.ts +2 -2
  239. package/types/modules/mention/mention-link.d.ts +14 -15
  240. package/types/modules/mention/{Mention.d.ts → mention.d.ts} +52 -53
  241. package/types/modules/mind-map/config-utils.d.ts +11 -12
  242. package/types/modules/mind-map/formats/mind-map-blot.d.ts +41 -42
  243. package/types/modules/mind-map/i18n/en-us.d.ts +25 -25
  244. package/types/modules/mind-map/i18n/index.d.ts +1 -1
  245. package/types/modules/mind-map/i18n/zh-cn.d.ts +25 -25
  246. package/types/modules/mind-map/icons.d.ts +21 -21
  247. package/types/modules/mind-map/index.d.ts +8 -9
  248. package/types/modules/mind-map/modules/context-menu.d.ts +1 -2
  249. package/types/modules/mind-map/modules/control-panel.d.ts +1 -2
  250. package/types/modules/mind-map/modules/custom-resize-action.d.ts +23 -23
  251. package/types/modules/mind-map/options.d.ts +27 -27
  252. package/types/modules/shortcut-key/index.d.ts +67 -68
  253. package/types/modules/syntax.d.ts +12 -13
  254. package/types/modules/table-up/index.d.ts +32 -33
  255. package/types/modules/toolbar/better-picker.d.ts +13 -14
  256. package/types/modules/toolbar/better-toolbar.d.ts +6 -7
  257. package/types/modules/toolbar/index.d.ts +3 -3
  258. package/types/modules/toolbar/toolbar-tip.d.ts +7 -8
  259. package/types/themes/snow.d.ts +9 -10
  260. package/types/tools/format-painter.d.ts +12 -13
  261. package/types/tools/fullscreen.d.ts +4 -5
  262. package/types/tools/screenshot.d.ts +17 -18
  263. package/types/ui/icons.config.d.ts +40 -40
  264. package/types/ui/icons.d.ts +6 -6
  265. package/types/utils/debounce.d.ts +6 -6
  266. package/types/utils/image.d.ts +1 -1
  267. package/types/utils/is.d.ts +6 -6
  268. package/types/utils/merge.d.ts +7 -7
  269. package/types/utils/method.d.ts +6 -6
  270. package/types/utils/scroll-lock.d.ts +6 -6
  271. package/types/config/types/additional-toolbar-item.interface.d.ts +0 -8
  272. package/types/config/types/content-change.interface.d.ts +0 -13
  273. package/types/config/types/content-save.interface.d.ts +0 -6
  274. package/types/config/types/counter-option.interface.d.ts +0 -9
  275. package/types/config/types/editor-toolbar.interface.d.ts +0 -6
  276. package/types/config/types/file-operation.interface.d.ts +0 -12
  277. package/types/config/types/focus-change.interface.d.ts +0 -4
  278. package/types/config/types/fullscreen-module.interface.d.ts +0 -4
  279. package/types/config/types/help-panel-item.interface.d.ts +0 -5
  280. package/types/config/types/help-panel-option.interface.d.ts +0 -7
  281. package/types/config/types/image-module.interface.d.ts +0 -3
  282. package/types/config/types/image-upload.interface.d.ts +0 -7
  283. package/types/config/types/load-on-demand-module.interface.d.ts +0 -5
  284. package/types/config/types/mention-module.interface.d.ts +0 -8
  285. package/types/config/types/paste-change.interface.d.ts +0 -6
  286. package/types/config/types/quick-menu-module.interface.d.ts +0 -3
  287. package/types/config/types/range.interface.d.ts +0 -4
  288. package/types/config/types/registry-options.interface.d.ts +0 -5
  289. package/types/config/types/selection-change.interface.d.ts +0 -8
  290. package/types/config/types/toolbar-item.interface.d.ts +0 -13
  291. package/types/config/types/validate-error.interface.d.ts +0 -13
  292. package/types/modules/custom-image/BlotFormatter.d.ts +0 -29
  293. package/types/modules/custom-image/actions/CustomResizeAction.d.ts +0 -24
  294. package/types/modules/custom-image/actions/DeleteAction.d.ts +0 -7
  295. package/types/modules/custom-image/image-bar.d.ts +0 -15
  296. package/types/modules/custom-image/specs/BlotSpec.d.ts +0 -13
  297. package/types/modules/custom-image/specs/CustomImageSpec.d.ts +0 -21
  298. package/types/modules/custom-image/specs/ImageSpec.d.ts +0 -10
  299. package/types/modules/emoji/emoji-list/index.d.ts +0 -1
  300. package/types/modules/emoji/emoji-list/people.d.ts +0 -1
  301. package/types/modules/emoji/emoji-list.d.ts +0 -2
  302. package/types/modules/emoji/emoji-map.d.ts +0 -2
  303. package/types/modules/emoji/emoji-sprite.d.ts +0 -1
  304. package/types/modules/emoji/formats/emoji-blot.d.ts +0 -13
  305. package/types/modules/emoji/index.d.ts +0 -10
  306. package/types/modules/emoji/modules/emoji.d.ts +0 -38
  307. package/types/modules/emoji/modules/toolbar-emoji.d.ts +0 -8
  308. package/types/modules/emoji/utils.d.ts +0 -1
  309. package/types/modules/global-link/constants.d.ts +0 -3
  310. package/types/modules/global-link/formats/customer-widget-link.d.ts +0 -14
  311. package/types/modules/global-link/formats/doc-link.d.ts +0 -17
  312. package/types/modules/global-link/formats/wiki-link.d.ts +0 -16
  313. package/types/modules/global-link/formats/work-item-link.d.ts +0 -16
  314. package/types/modules/global-link/global-link-panel.d.ts +0 -19
  315. package/types/modules/global-link/index.d.ts +0 -18
  316. package/types/modules/global-link/utils/createTable.d.ts +0 -1
  317. package/types/modules/mention/MentionLink.d.ts +0 -16
  318. package/types/modules/quick-menu.d.ts +0 -22
  319. package/types/modules/table/better-table.d.ts +0 -35
  320. package/types/modules/table/formats/header.d.ts +0 -23
  321. package/types/modules/table/formats/list.d.ts +0 -34
  322. package/types/modules/table/formats/table.d.ts +0 -147
  323. package/types/modules/table/modules/table-column-tool.d.ts +0 -23
  324. package/types/modules/table/modules/table-operation-menu.d.ts +0 -38
  325. package/types/modules/table/modules/table-scroll-bar.d.ts +0 -33
  326. package/types/modules/table/modules/table-selection.d.ts +0 -37
  327. package/types/modules/table/modules/table-selector.d.ts +0 -22
  328. package/types/modules/table/table-config.d.ts +0 -38
  329. package/types/modules/table/utils/index.d.ts +0 -17
  330. package/types/modules/table/utils/node-matchers.d.ts +0 -9
@@ -1,125 +1,125 @@
1
- export declare const EN_US: {
2
- header: string;
3
- normal: string;
4
- h1: string;
5
- h2: string;
6
- h3: string;
7
- h4: string;
8
- h5: string;
9
- h6: string;
10
- 'line-height': string;
11
- songti: string;
12
- yahei: string;
13
- kaiti: string;
14
- heiti: string;
15
- lishu: string;
16
- left: string;
17
- center: string;
18
- right: string;
19
- codeblock: string;
20
- globallink: string;
21
- 'exit-fullscreen': string;
22
- help: string;
23
- more: string;
24
- 'help-format': string;
25
- 'help-insert': string;
26
- 'help-operation': string;
27
- mention: string;
28
- 'quick-menu': string;
29
- 'toggle-help-panel': string;
30
- 'scroll-table': string;
31
- 'mouse-wheel': string;
32
- save: string;
33
- 'default-link-text': string;
34
- basicblock: string;
35
- linkplaceholder: string;
36
- 'counter-template': string;
37
- char: string;
38
- word: string;
39
- 'counter-limit-tips': string;
40
- 'ie-msg': string;
41
- loading: string;
42
- pasting: string;
43
- 'img-error': string;
44
- 'img-error-info': string;
45
- 'last-modified': string;
46
- screenshot: string;
47
- uploading: string;
48
- 'sub-title-bg-color': string;
49
- emoji: string;
50
- fullscreen: string;
51
- blockquote: string;
52
- undo: string;
53
- redo: string;
54
- clean: string;
55
- bold: string;
56
- italic: string;
57
- underline: string;
58
- strike: string;
59
- image: string;
60
- file: string;
61
- 'mind-map': string;
62
- 'flow-chart': string;
63
- link: string;
64
- code: string;
65
- table: string;
66
- 'table-up': string;
67
- 'code-block': string;
68
- formula: string;
69
- 'format-painter': string;
70
- divider: string;
71
- video: string;
72
- color: string;
73
- background: string;
74
- font: string;
75
- size: string;
76
- list: string;
77
- 'list-ordered': string;
78
- 'list-bullet': string;
79
- 'list-check': string;
80
- 'align-left': string;
81
- 'align-center': string;
82
- 'align-right': string;
83
- 'align-justify': string;
84
- 'direction-ltr': string;
85
- 'direction-rtl': string;
86
- 'indent--1': string;
87
- 'indent-+1': string;
88
- 'script-super': string;
89
- 'script-sub': string;
90
- 'header-normal': string;
91
- 'header-1': string;
92
- 'header-2': string;
93
- 'header-3': string;
94
- 'header-4': string;
95
- 'header-5': string;
96
- 'header-6': string;
97
- 'header-list': string;
98
- 'input-recall-menu-placeholder': string;
99
- 'clear-color': string;
100
- 'custom-color': string;
101
- fullCheckboxText: string;
102
- customBtnText: string;
103
- confirmText: string;
104
- cancelText: string;
105
- rowText: string;
106
- colText: string;
107
- notPositiveNumberError: string;
108
- custom: string;
109
- clear: string;
110
- transparent: string;
111
- perWidthInsufficient: string;
112
- CopyCell: string;
113
- CutCell: string;
114
- InsertTop: string;
115
- InsertRight: string;
116
- InsertBottom: string;
117
- InsertLeft: string;
118
- MergeCell: string;
119
- SplitCell: string;
120
- DeleteRow: string;
121
- DeleteColumn: string;
122
- DeleteTable: string;
123
- BackgroundColor: string;
124
- BorderColor: string;
125
- };
1
+ export declare const EN_US: {
2
+ header: string;
3
+ normal: string;
4
+ h1: string;
5
+ h2: string;
6
+ h3: string;
7
+ h4: string;
8
+ h5: string;
9
+ h6: string;
10
+ 'line-height': string;
11
+ songti: string;
12
+ yahei: string;
13
+ kaiti: string;
14
+ heiti: string;
15
+ lishu: string;
16
+ left: string;
17
+ center: string;
18
+ right: string;
19
+ codeblock: string;
20
+ globallink: string;
21
+ 'exit-fullscreen': string;
22
+ help: string;
23
+ more: string;
24
+ 'help-format': string;
25
+ 'help-insert': string;
26
+ 'help-operation': string;
27
+ mention: string;
28
+ 'quick-menu': string;
29
+ 'toggle-help-panel': string;
30
+ 'scroll-table': string;
31
+ 'mouse-wheel': string;
32
+ save: string;
33
+ 'default-link-text': string;
34
+ basicblock: string;
35
+ linkplaceholder: string;
36
+ 'counter-template': string;
37
+ char: string;
38
+ word: string;
39
+ 'counter-limit-tips': string;
40
+ 'ie-msg': string;
41
+ loading: string;
42
+ pasting: string;
43
+ 'img-error': string;
44
+ 'img-error-info': string;
45
+ 'last-modified': string;
46
+ screenshot: string;
47
+ uploading: string;
48
+ 'sub-title-bg-color': string;
49
+ emoji: string;
50
+ fullscreen: string;
51
+ blockquote: string;
52
+ undo: string;
53
+ redo: string;
54
+ clean: string;
55
+ bold: string;
56
+ italic: string;
57
+ underline: string;
58
+ strike: string;
59
+ image: string;
60
+ file: string;
61
+ 'mind-map': string;
62
+ 'flow-chart': string;
63
+ link: string;
64
+ code: string;
65
+ table: string;
66
+ 'table-up': string;
67
+ 'code-block': string;
68
+ formula: string;
69
+ 'format-painter': string;
70
+ divider: string;
71
+ video: string;
72
+ color: string;
73
+ background: string;
74
+ font: string;
75
+ size: string;
76
+ list: string;
77
+ 'list-ordered': string;
78
+ 'list-bullet': string;
79
+ 'list-check': string;
80
+ 'align-left': string;
81
+ 'align-center': string;
82
+ 'align-right': string;
83
+ 'align-justify': string;
84
+ 'direction-ltr': string;
85
+ 'direction-rtl': string;
86
+ 'indent--1': string;
87
+ 'indent-+1': string;
88
+ 'script-super': string;
89
+ 'script-sub': string;
90
+ 'header-normal': string;
91
+ 'header-1': string;
92
+ 'header-2': string;
93
+ 'header-3': string;
94
+ 'header-4': string;
95
+ 'header-5': string;
96
+ 'header-6': string;
97
+ 'header-list': string;
98
+ 'input-recall-menu-placeholder': string;
99
+ 'clear-color': string;
100
+ 'custom-color': string;
101
+ fullCheckboxText: string;
102
+ customBtnText: string;
103
+ confirmText: string;
104
+ cancelText: string;
105
+ rowText: string;
106
+ colText: string;
107
+ notPositiveNumberError: string;
108
+ custom: string;
109
+ clear: string;
110
+ transparent: string;
111
+ perWidthInsufficient: string;
112
+ CopyCell: string;
113
+ CutCell: string;
114
+ InsertTop: string;
115
+ InsertRight: string;
116
+ InsertBottom: string;
117
+ InsertLeft: string;
118
+ MergeCell: string;
119
+ SplitCell: string;
120
+ DeleteRow: string;
121
+ DeleteColumn: string;
122
+ DeleteTable: string;
123
+ BackgroundColor: string;
124
+ BorderColor: string;
125
+ };
@@ -1,125 +1,125 @@
1
- export declare const ZH_CN: {
2
- header: string;
3
- normal: string;
4
- h1: string;
5
- h2: string;
6
- h3: string;
7
- h4: string;
8
- h5: string;
9
- h6: string;
10
- 'line-height': string;
11
- songti: string;
12
- yahei: string;
13
- kaiti: string;
14
- heiti: string;
15
- lishu: string;
16
- left: string;
17
- center: string;
18
- right: string;
19
- codeblock: string;
20
- globallink: string;
21
- 'exit-fullscreen': string;
22
- help: string;
23
- more: string;
24
- 'help-format': string;
25
- 'help-insert': string;
26
- 'help-operation': string;
27
- mention: string;
28
- 'quick-menu': string;
29
- 'toggle-help-panel': string;
30
- 'scroll-table': string;
31
- 'mouse-wheel': string;
32
- save: string;
33
- 'default-link-text': string;
34
- basicblock: string;
35
- linkplaceholder: string;
36
- 'counter-template': string;
37
- char: string;
38
- word: string;
39
- 'counter-limit-tips': string;
40
- 'ie-msg': string;
41
- loading: string;
42
- pasting: string;
43
- 'img-error': string;
44
- 'img-error-info': string;
45
- 'last-modified': string;
46
- screenshot: string;
47
- uploading: string;
48
- 'sub-title-bg-color': string;
49
- emoji: string;
50
- fullscreen: string;
51
- blockquote: string;
52
- undo: string;
53
- redo: string;
54
- clean: string;
55
- bold: string;
56
- italic: string;
57
- underline: string;
58
- strike: string;
59
- image: string;
60
- file: string;
61
- 'mind-map': string;
62
- 'flow-chart': string;
63
- link: string;
64
- divider: string;
65
- code: string;
66
- table: string;
67
- 'table-up': string;
68
- 'code-block': string;
69
- formula: string;
70
- 'format-painter': string;
71
- video: string;
72
- color: string;
73
- background: string;
74
- font: string;
75
- size: string;
76
- list: string;
77
- 'list-ordered': string;
78
- 'list-bullet': string;
79
- 'list-check': string;
80
- 'align-left': string;
81
- 'align-center': string;
82
- 'align-right': string;
83
- 'align-justify': string;
84
- 'direction-ltr': string;
85
- 'direction-rtl': string;
86
- 'indent--1': string;
87
- 'indent-+1': string;
88
- 'script-super': string;
89
- 'script-sub': string;
90
- 'header-normal': string;
91
- 'header-1': string;
92
- 'header-2': string;
93
- 'header-3': string;
94
- 'header-4': string;
95
- 'header-5': string;
96
- 'header-6': string;
97
- 'header-list': string;
98
- 'input-recall-menu-placeholder': string;
99
- 'clear-color': string;
100
- 'custom-color': string;
101
- fullCheckboxText: string;
102
- customBtnText: string;
103
- confirmText: string;
104
- cancelText: string;
105
- rowText: string;
106
- colText: string;
107
- notPositiveNumberError: string;
108
- custom: string;
109
- clear: string;
110
- transparent: string;
111
- perWidthInsufficient: string;
112
- CopyCell: string;
113
- CutCell: string;
114
- InsertTop: string;
115
- InsertRight: string;
116
- InsertBottom: string;
117
- InsertLeft: string;
118
- MergeCell: string;
119
- SplitCell: string;
120
- DeleteRow: string;
121
- DeleteColumn: string;
122
- DeleteTable: string;
123
- BackgroundColor: string;
124
- BorderColor: string;
125
- };
1
+ export declare const ZH_CN: {
2
+ header: string;
3
+ normal: string;
4
+ h1: string;
5
+ h2: string;
6
+ h3: string;
7
+ h4: string;
8
+ h5: string;
9
+ h6: string;
10
+ 'line-height': string;
11
+ songti: string;
12
+ yahei: string;
13
+ kaiti: string;
14
+ heiti: string;
15
+ lishu: string;
16
+ left: string;
17
+ center: string;
18
+ right: string;
19
+ codeblock: string;
20
+ globallink: string;
21
+ 'exit-fullscreen': string;
22
+ help: string;
23
+ more: string;
24
+ 'help-format': string;
25
+ 'help-insert': string;
26
+ 'help-operation': string;
27
+ mention: string;
28
+ 'quick-menu': string;
29
+ 'toggle-help-panel': string;
30
+ 'scroll-table': string;
31
+ 'mouse-wheel': string;
32
+ save: string;
33
+ 'default-link-text': string;
34
+ basicblock: string;
35
+ linkplaceholder: string;
36
+ 'counter-template': string;
37
+ char: string;
38
+ word: string;
39
+ 'counter-limit-tips': string;
40
+ 'ie-msg': string;
41
+ loading: string;
42
+ pasting: string;
43
+ 'img-error': string;
44
+ 'img-error-info': string;
45
+ 'last-modified': string;
46
+ screenshot: string;
47
+ uploading: string;
48
+ 'sub-title-bg-color': string;
49
+ emoji: string;
50
+ fullscreen: string;
51
+ blockquote: string;
52
+ undo: string;
53
+ redo: string;
54
+ clean: string;
55
+ bold: string;
56
+ italic: string;
57
+ underline: string;
58
+ strike: string;
59
+ image: string;
60
+ file: string;
61
+ 'mind-map': string;
62
+ 'flow-chart': string;
63
+ link: string;
64
+ divider: string;
65
+ code: string;
66
+ table: string;
67
+ 'table-up': string;
68
+ 'code-block': string;
69
+ formula: string;
70
+ 'format-painter': string;
71
+ video: string;
72
+ color: string;
73
+ background: string;
74
+ font: string;
75
+ size: string;
76
+ list: string;
77
+ 'list-ordered': string;
78
+ 'list-bullet': string;
79
+ 'list-check': string;
80
+ 'align-left': string;
81
+ 'align-center': string;
82
+ 'align-right': string;
83
+ 'align-justify': string;
84
+ 'direction-ltr': string;
85
+ 'direction-rtl': string;
86
+ 'indent--1': string;
87
+ 'indent-+1': string;
88
+ 'script-super': string;
89
+ 'script-sub': string;
90
+ 'header-normal': string;
91
+ 'header-1': string;
92
+ 'header-2': string;
93
+ 'header-3': string;
94
+ 'header-4': string;
95
+ 'header-5': string;
96
+ 'header-6': string;
97
+ 'header-list': string;
98
+ 'input-recall-menu-placeholder': string;
99
+ 'clear-color': string;
100
+ 'custom-color': string;
101
+ fullCheckboxText: string;
102
+ customBtnText: string;
103
+ confirmText: string;
104
+ cancelText: string;
105
+ rowText: string;
106
+ colText: string;
107
+ notPositiveNumberError: string;
108
+ custom: string;
109
+ clear: string;
110
+ transparent: string;
111
+ perWidthInsufficient: string;
112
+ CopyCell: string;
113
+ CutCell: string;
114
+ InsertTop: string;
115
+ InsertRight: string;
116
+ InsertBottom: string;
117
+ InsertLeft: string;
118
+ MergeCell: string;
119
+ SplitCell: string;
120
+ DeleteRow: string;
121
+ DeleteColumn: string;
122
+ DeleteTable: string;
123
+ BackgroundColor: string;
124
+ BorderColor: string;
125
+ };
@@ -1,7 +1,7 @@
1
- export * from './editor.config';
2
- export * from './editor.utils';
3
- export * from './types';
4
- export declare function inputFile(type: 'image' | 'video' | 'file', accept: string[]): void;
5
- export declare function getListValue(value: any, preListValue: any): any;
6
- /** css namespace */
7
- export declare const namespace = "fe";
1
+ export * from './editor.config';
2
+ export * from './editor.utils';
3
+ export * from './types';
4
+ export declare function inputFile(type: 'image' | 'video' | 'file', accept: string[]): void;
5
+ export declare function getListValue(value: any, preListValue: any): any;
6
+ /** css namespace */
7
+ export declare const namespace = "fe";
@@ -1,15 +1,14 @@
1
1
  import { QuillOptions } from 'quill';
2
2
  import { ScreenShotOptions } from '../../tools/screenshot';
3
3
  import { IEditorModules } from './editor-modules.interface';
4
-
5
- export interface IEditorConfig extends QuillOptions {
6
- 'modules'?: IEditorModules;
7
- 'screenshotOnStaticPage'?: boolean;
8
- 'scrollingContainer'?: HTMLElement | string | null;
9
- 'autoProtocol'?: boolean | string;
10
- 'editorPaste'?: any;
11
- 'screenshot'?: Partial<ScreenShotOptions>;
12
- 'format-painter'?: {
13
- ignoreFormat?: string[];
14
- };
15
- }
4
+ export interface IEditorConfig extends QuillOptions {
5
+ 'modules'?: IEditorModules;
6
+ 'screenshotOnStaticPage'?: boolean;
7
+ 'scrollingContainer'?: HTMLElement | string | null;
8
+ 'autoProtocol'?: boolean | string;
9
+ 'editorPaste'?: any;
10
+ 'screenshot'?: Partial<ScreenShotOptions>;
11
+ 'format-painter'?: {
12
+ ignoreFormat?: string[];
13
+ };
14
+ }
@@ -5,42 +5,41 @@ import { FileUploaderOptions } from '../../modules/custom-uploader';
5
5
  import { EmojiModuleOptions } from '../../modules/emoji';
6
6
  import { FlowChartOptions } from '../../modules/flow-chart/options';
7
7
  import { MindMapOptions } from '../../modules/mind-map/options';
8
-
9
- export type ToolbarOptions = {
10
- container?: HTMLElement | (Record<string, any>[] | string[] | (string | Record<string, any>)[])[];
11
- } & ToolbarProps;
12
- export interface IEditorModules {
13
- [key: string]: any;
14
- 'clipboard'?: {
15
- matchers?: any[];
16
- matchVisual?: boolean;
17
- } | boolean;
18
- 'history'?: {
19
- delay?: number;
20
- maxStack?: number;
21
- userOnly?: boolean;
22
- } | boolean;
23
- 'keyboard'?: {
24
- bindings?: any;
25
- } | boolean;
26
- 'syntax'?: {
27
- interval?: number;
28
- languages?: {
29
- key: string;
30
- label: string;
31
- }[];
32
- hljs?: any;
33
- } | boolean;
34
- 'toolbar'?: boolean | ToolbarOptions | ToolbarOptions['container'] | string[];
35
- 'uploader'?: boolean | Partial<FileUploaderOptions>;
36
- 'shortcut-key'?: boolean | Partial<ShortCutKeyInputOptions>;
37
- 'mention'?: boolean | MentionOption;
38
- 'i18n'?: boolean | Partial<I18NOptions>;
39
- 'counter'?: boolean | ICounterOption;
40
- 'emoji'?: boolean | EmojiModuleOptions;
41
- 'file'?: boolean;
42
- 'mathlive'?: boolean;
43
- 'image'?: boolean | Partial<BlotFormatterOptionsInput>;
44
- 'mind-map'?: boolean | Partial<MindMapOptions>;
45
- 'flow-chart'?: boolean | Partial<FlowChartOptions>;
46
- }
8
+ export type ToolbarOptions = {
9
+ container?: HTMLElement | (Record<string, any>[] | string[] | (string | Record<string, any>)[])[];
10
+ } & ToolbarProps;
11
+ export interface IEditorModules {
12
+ [key: string]: any;
13
+ 'clipboard'?: {
14
+ matchers?: any[];
15
+ matchVisual?: boolean;
16
+ } | boolean;
17
+ 'history'?: {
18
+ delay?: number;
19
+ maxStack?: number;
20
+ userOnly?: boolean;
21
+ } | boolean;
22
+ 'keyboard'?: {
23
+ bindings?: any;
24
+ } | boolean;
25
+ 'syntax'?: {
26
+ interval?: number;
27
+ languages?: {
28
+ key: string;
29
+ label: string;
30
+ }[];
31
+ hljs?: any;
32
+ } | boolean;
33
+ 'toolbar'?: boolean | ToolbarOptions | ToolbarOptions['container'] | string[];
34
+ 'uploader'?: boolean | Partial<FileUploaderOptions>;
35
+ 'shortcut-key'?: boolean | Partial<ShortCutKeyInputOptions>;
36
+ 'mention'?: boolean | MentionOption;
37
+ 'i18n'?: boolean | Partial<I18NOptions>;
38
+ 'counter'?: boolean | ICounterOption;
39
+ 'emoji'?: boolean | EmojiModuleOptions;
40
+ 'file'?: boolean;
41
+ 'mathlive'?: boolean;
42
+ 'image'?: boolean | Partial<BlotFormatterOptionsInput>;
43
+ 'mind-map'?: boolean | Partial<MindMapOptions>;
44
+ 'flow-chart'?: boolean | Partial<FlowChartOptions>;
45
+ }
@@ -1,3 +1,3 @@
1
- export * from './editor-config.interface';
2
- export * from './editor-modules.interface';
3
- export * from './type';
1
+ export * from './editor-config.interface';
2
+ export * from './editor-modules.interface';
3
+ export * from './type';
@@ -1,2 +1,2 @@
1
- export type AnyFunction = (...args: any[]) => any;
2
- export type Constructor<T = any, U extends Array<any> = any[]> = new (...args: U) => T;
1
+ export type AnyFunction = (...args: any[]) => any;
2
+ export type Constructor<T = any, U extends Array<any> = any[]> = new (...args: U) => T;
@@ -1,14 +1,13 @@
1
1
  import { ExpandedQuillOptions, default as Quill } from 'quill';
2
2
  import { IEditorConfig } from '../config/types';
3
3
  import { FileUploader } from '../modules/custom-uploader';
4
-
5
- declare class FluentEditor extends Quill {
6
- isFullscreen: boolean;
7
- options: IEditorConfig & ExpandedQuillOptions;
8
- uploader: FileUploader;
9
- static register(...args: any[]): void;
10
- get lang(): string;
11
- constructor(container: HTMLElement | string, options?: IEditorConfig);
12
- getLangText(name: string): string;
13
- }
14
- export default FluentEditor;
4
+ declare class FluentEditor extends Quill {
5
+ isFullscreen: boolean;
6
+ options: IEditorConfig & ExpandedQuillOptions;
7
+ uploader: FileUploader;
8
+ static register(...args: any[]): void;
9
+ get lang(): string;
10
+ constructor(container: HTMLElement | string, options?: IEditorConfig);
11
+ getLangText(name: string): string;
12
+ }
13
+ export default FluentEditor;