@opentiny/fluent-editor 4.0.0-alpha.0 → 4.0.0-alpha.10
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.
- package/README.md +88 -105
- package/es/attributors/line-height.es.js.map +1 -1
- package/es/config/base64-image.es.js.map +1 -1
- package/es/config/editor.config.es.js +0 -7
- package/es/config/editor.config.es.js.map +1 -1
- package/es/config/editor.utils.es.js +0 -2
- package/es/config/editor.utils.es.js.map +1 -1
- package/es/config/i18n/en-us.es.js +0 -13
- package/es/config/i18n/en-us.es.js.map +1 -1
- package/es/config/i18n/zh-cn.es.js +0 -13
- package/es/config/i18n/zh-cn.es.js.map +1 -1
- package/es/config/index.es.js +8 -13
- package/es/config/index.es.js.map +1 -1
- package/es/config/types/index.es.js +0 -20
- package/es/config/types/index.es.js.map +1 -1
- package/es/core/fluent-editor.es.js +7 -5
- package/es/core/fluent-editor.es.js.map +1 -1
- package/es/fluent-editor.es.js +38 -22
- package/es/fluent-editor.es.js.map +1 -1
- package/es/formats/emoji.es.js +14 -0
- package/es/formats/emoji.es.js.map +1 -0
- package/es/formats/index.es.js +11 -0
- package/es/formats/index.es.js.map +1 -0
- package/es/formats/soft-break.es.js +12 -5
- package/es/formats/soft-break.es.js.map +1 -1
- package/es/formats/strike.es.js +8 -5
- package/es/formats/strike.es.js.map +1 -1
- package/es/formats/video.es.js +14 -10
- package/es/formats/video.es.js.map +1 -1
- package/es/index.es.js +94 -32
- package/es/index.es.js.map +1 -1
- package/es/modules/ai/constants.es.js +50 -0
- package/es/modules/ai/constants.es.js.map +1 -0
- package/es/modules/ai/icons.es.js +319 -0
- package/es/modules/ai/icons.es.js.map +1 -0
- package/es/modules/ai/index.es.js +670 -0
- package/es/modules/ai/index.es.js.map +1 -0
- package/es/modules/collaborative-editing/awareness/awareness.es.js +93 -0
- package/es/modules/collaborative-editing/awareness/awareness.es.js.map +1 -0
- package/es/modules/collaborative-editing/awareness/index.es.js +8 -0
- package/es/modules/{emoji/emoji-list → collaborative-editing/awareness}/index.es.js.map +1 -1
- package/es/modules/collaborative-editing/awareness/y-indexeddb.es.js +12 -0
- package/es/modules/collaborative-editing/awareness/y-indexeddb.es.js.map +1 -0
- package/es/modules/collaborative-editing/collaborative-editing.es.js +105 -0
- package/es/modules/collaborative-editing/collaborative-editing.es.js.map +1 -0
- package/es/modules/collaborative-editing/index.es.js +6 -0
- package/es/modules/collaborative-editing/index.es.js.map +1 -0
- package/es/modules/collaborative-editing/module.es.js +35 -0
- package/es/modules/collaborative-editing/module.es.js.map +1 -0
- package/es/modules/collaborative-editing/provider/providerRegistry.es.js +28 -0
- package/es/modules/collaborative-editing/provider/providerRegistry.es.js.map +1 -0
- package/es/modules/collaborative-editing/provider/webrtc.es.js +99 -0
- package/es/modules/collaborative-editing/provider/webrtc.es.js.map +1 -0
- package/es/modules/collaborative-editing/provider/websocket.es.js +111 -0
- package/es/modules/collaborative-editing/provider/websocket.es.js.map +1 -0
- package/es/modules/collaborative-editing/types.es.js +2 -0
- package/es/modules/collaborative-editing/types.es.js.map +1 -0
- package/es/modules/counter.es.js +8 -3
- package/es/modules/counter.es.js.map +1 -1
- package/es/modules/custom-clipboard.es.js +23 -27
- package/es/modules/custom-clipboard.es.js.map +1 -1
- package/es/modules/custom-image/actions/action.es.js +19 -0
- package/es/modules/custom-image/actions/action.es.js.map +1 -0
- package/es/modules/custom-image/actions/{CustomResizeAction.es.js → custom-resize-action.es.js} +24 -11
- package/es/modules/custom-image/actions/custom-resize-action.es.js.map +1 -0
- package/es/modules/custom-image/actions/{DeleteAction.es.js → delete-action.es.js} +8 -5
- package/es/modules/custom-image/actions/delete-action.es.js.map +1 -0
- package/es/modules/custom-image/actions/image-toolbar-buttons.es.js +137 -0
- package/es/modules/custom-image/actions/image-toolbar-buttons.es.js.map +1 -0
- package/es/modules/custom-image/actions/index.es.js +18 -0
- package/es/modules/custom-image/actions/index.es.js.map +1 -0
- package/es/modules/custom-image/actions/toolbar-action.es.js +33 -0
- package/es/modules/custom-image/actions/toolbar-action.es.js.map +1 -0
- package/es/modules/custom-image/actions/toolbar.es.js +110 -0
- package/es/modules/custom-image/actions/toolbar.es.js.map +1 -0
- package/es/modules/custom-image/{BlotFormatter.es.js → blot-formatter.es.js} +27 -50
- package/es/modules/custom-image/blot-formatter.es.js.map +1 -0
- package/es/modules/custom-image/image.es.js +41 -21
- package/es/modules/custom-image/image.es.js.map +1 -1
- package/es/modules/custom-image/index.es.js +9 -0
- package/es/modules/custom-image/index.es.js.map +1 -0
- package/es/modules/custom-image/options.es.js +88 -0
- package/es/modules/custom-image/options.es.js.map +1 -0
- package/es/modules/custom-image/specs/blot-spec.es.js +33 -0
- package/es/modules/custom-image/specs/blot-spec.es.js.map +1 -0
- package/es/modules/custom-image/specs/{CustomImageSpec.es.js → custom-image-spec.es.js} +13 -14
- package/es/modules/custom-image/specs/custom-image-spec.es.js.map +1 -0
- package/es/modules/custom-image/specs/image-spec.es.js +32 -0
- package/es/modules/custom-image/specs/image-spec.es.js.map +1 -0
- package/es/modules/custom-image/specs/index.es.js +9 -0
- package/es/modules/custom-image/specs/index.es.js.map +1 -0
- package/es/modules/custom-uploader.es.js +63 -194
- package/es/modules/custom-uploader.es.js.map +1 -1
- package/es/modules/divider.es.js +8 -7
- package/es/modules/divider.es.js.map +1 -1
- package/es/modules/emoji.es.js +167 -0
- package/es/modules/emoji.es.js.map +1 -0
- package/es/modules/file/formats/file.es.js +13 -13
- package/es/modules/file/formats/file.es.js.map +1 -1
- package/es/modules/file/index.es.js +6 -29
- package/es/modules/file/index.es.js.map +1 -1
- package/es/modules/file/modules/file-bar.es.js +11 -3
- package/es/modules/file/modules/file-bar.es.js.map +1 -1
- package/es/modules/file/modules/file-module.es.js +35 -0
- package/es/modules/file/modules/file-module.es.js.map +1 -0
- package/es/modules/i18n.es.js +33 -11
- package/es/modules/i18n.es.js.map +1 -1
- package/es/modules/index.es.js +27 -0
- package/es/modules/index.es.js.map +1 -0
- package/es/modules/link/formats/link.es.js +14 -10
- package/es/modules/link/formats/link.es.js.map +1 -1
- package/es/modules/link/index.es.js +4 -12
- package/es/modules/link/index.es.js.map +1 -1
- package/es/modules/link/modules/tooltip.es.js +31 -21
- package/es/modules/link/modules/tooltip.es.js.map +1 -1
- package/es/modules/mathlive/formats.es.js +10 -7
- package/es/modules/mathlive/formats.es.js.map +1 -1
- package/es/modules/mathlive/index.es.js +6 -30
- package/es/modules/mathlive/index.es.js.map +1 -1
- package/es/modules/mathlive/module.es.js +40 -0
- package/es/modules/mathlive/module.es.js.map +1 -0
- package/es/modules/mathlive/tooltip.es.js +9 -5
- package/es/modules/mathlive/tooltip.es.js.map +1 -1
- package/es/modules/mention/constants.es.js.map +1 -1
- package/es/modules/mention/index.es.js +7 -0
- package/es/modules/mention/index.es.js.map +1 -0
- package/es/modules/mention/{MentionLink.es.js → mention-link.es.js} +14 -6
- package/es/modules/mention/mention-link.es.js.map +1 -0
- package/es/modules/mention/{Mention.es.js → mention.es.js} +28 -20
- package/es/modules/mention/mention.es.js.map +1 -0
- package/es/modules/shortcut-key/index.es.js +17 -1
- package/es/modules/shortcut-key/index.es.js.map +1 -1
- package/es/modules/syntax.es.js +4 -0
- package/es/modules/syntax.es.js.map +1 -1
- package/es/modules/table-up/index.es.js +21 -8
- package/es/modules/table-up/index.es.js.map +1 -1
- package/es/modules/toolbar/better-picker.es.js +5 -0
- package/es/modules/toolbar/better-picker.es.js.map +1 -1
- package/es/modules/toolbar/better-toolbar.es.js +138 -0
- package/es/modules/toolbar/better-toolbar.es.js.map +1 -0
- package/es/modules/toolbar/index.es.js +5 -135
- package/es/modules/toolbar/index.es.js.map +1 -1
- package/es/modules/toolbar/toolbar-tip.es.js +6 -1
- package/es/modules/toolbar/toolbar-tip.es.js.map +1 -1
- package/es/themes/snow.es.js +32 -15
- package/es/themes/snow.es.js.map +1 -1
- package/es/tools/format-painter.es.js +8 -2
- package/es/tools/format-painter.es.js.map +1 -1
- package/es/tools/fullscreen.es.js.map +1 -1
- package/es/tools/screenshot.es.js.map +1 -1
- package/es/ui/icons.config.es.js +53 -0
- package/es/ui/icons.config.es.js.map +1 -1
- package/es/ui/icons.es.js +2 -1
- package/es/ui/icons.es.js.map +1 -1
- package/es/utils/debounce.es.js.map +1 -1
- package/es/utils/is.es.js +4 -0
- package/es/utils/is.es.js.map +1 -1
- package/es/utils/method.es.js.map +1 -1
- package/lib/attributors/line-height.cjs.js.map +1 -1
- package/lib/config/base64-image.cjs.js.map +1 -1
- package/lib/config/editor.config.cjs.js +0 -7
- package/lib/config/editor.config.cjs.js.map +1 -1
- package/lib/config/editor.utils.cjs.js +0 -2
- package/lib/config/editor.utils.cjs.js.map +1 -1
- package/lib/config/i18n/en-us.cjs.js +0 -13
- package/lib/config/i18n/en-us.cjs.js.map +1 -1
- package/lib/config/i18n/zh-cn.cjs.js +0 -13
- package/lib/config/i18n/zh-cn.cjs.js.map +1 -1
- package/lib/config/index.cjs.js +6 -11
- package/lib/config/index.cjs.js.map +1 -1
- package/lib/config/types/index.cjs.js +0 -20
- package/lib/config/types/index.cjs.js.map +1 -1
- package/lib/core/fluent-editor.cjs.js +6 -4
- package/lib/core/fluent-editor.cjs.js.map +1 -1
- package/lib/fluent-editor.cjs.js +46 -30
- package/lib/fluent-editor.cjs.js.map +1 -1
- package/lib/formats/emoji.cjs.js +14 -0
- package/lib/formats/emoji.cjs.js.map +1 -0
- package/lib/formats/index.cjs.js +11 -0
- package/lib/formats/index.cjs.js.map +1 -0
- package/lib/formats/soft-break.cjs.js +13 -6
- package/lib/formats/soft-break.cjs.js.map +1 -1
- package/lib/formats/strike.cjs.js +9 -6
- package/lib/formats/strike.cjs.js.map +1 -1
- package/lib/formats/video.cjs.js +15 -11
- package/lib/formats/video.cjs.js.map +1 -1
- package/lib/index.cjs.js +114 -34
- package/lib/index.cjs.js.map +1 -1
- package/lib/modules/ai/constants.cjs.js +50 -0
- package/lib/modules/ai/constants.cjs.js.map +1 -0
- package/lib/modules/ai/icons.cjs.js +319 -0
- package/lib/modules/ai/icons.cjs.js.map +1 -0
- package/lib/modules/ai/index.cjs.js +670 -0
- package/lib/modules/ai/index.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/awareness/awareness.cjs.js +110 -0
- package/lib/modules/collaborative-editing/awareness/awareness.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/awareness/index.cjs.js +8 -0
- package/lib/modules/collaborative-editing/awareness/index.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js +12 -0
- package/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/collaborative-editing.cjs.js +122 -0
- package/lib/modules/collaborative-editing/collaborative-editing.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/index.cjs.js +6 -0
- package/lib/modules/{emoji/emoji-list → collaborative-editing}/index.cjs.js.map +1 -1
- package/lib/modules/collaborative-editing/module.cjs.js +35 -0
- package/lib/modules/collaborative-editing/module.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/provider/providerRegistry.cjs.js +28 -0
- package/lib/modules/collaborative-editing/provider/providerRegistry.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/provider/webrtc.cjs.js +116 -0
- package/lib/modules/collaborative-editing/provider/webrtc.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/provider/websocket.cjs.js +128 -0
- package/lib/modules/collaborative-editing/provider/websocket.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/types.cjs.js +2 -0
- package/lib/modules/collaborative-editing/types.cjs.js.map +1 -0
- package/lib/modules/counter.cjs.js +8 -3
- package/lib/modules/counter.cjs.js.map +1 -1
- package/lib/modules/custom-clipboard.cjs.js +23 -27
- package/lib/modules/custom-clipboard.cjs.js.map +1 -1
- package/lib/modules/custom-image/actions/action.cjs.js +19 -0
- package/lib/modules/custom-image/actions/action.cjs.js.map +1 -0
- package/lib/modules/custom-image/actions/{CustomResizeAction.cjs.js → custom-resize-action.cjs.js} +26 -13
- package/lib/modules/custom-image/actions/custom-resize-action.cjs.js.map +1 -0
- package/lib/modules/custom-image/actions/{DeleteAction.cjs.js → delete-action.cjs.js} +10 -7
- package/lib/modules/custom-image/actions/delete-action.cjs.js.map +1 -0
- package/lib/modules/custom-image/actions/image-toolbar-buttons.cjs.js +137 -0
- package/lib/modules/custom-image/actions/image-toolbar-buttons.cjs.js.map +1 -0
- package/lib/modules/custom-image/actions/index.cjs.js +18 -0
- package/lib/modules/custom-image/actions/index.cjs.js.map +1 -0
- package/lib/modules/custom-image/actions/toolbar-action.cjs.js +33 -0
- package/lib/modules/custom-image/actions/toolbar-action.cjs.js.map +1 -0
- package/lib/modules/custom-image/actions/toolbar.cjs.js +110 -0
- package/lib/modules/custom-image/actions/toolbar.cjs.js.map +1 -0
- package/lib/modules/custom-image/{BlotFormatter.cjs.js → blot-formatter.cjs.js} +28 -51
- package/lib/modules/custom-image/blot-formatter.cjs.js.map +1 -0
- package/lib/modules/custom-image/image.cjs.js +42 -22
- package/lib/modules/custom-image/image.cjs.js.map +1 -1
- package/lib/modules/custom-image/index.cjs.js +9 -0
- package/lib/modules/custom-image/index.cjs.js.map +1 -0
- package/lib/modules/custom-image/options.cjs.js +88 -0
- package/lib/modules/custom-image/options.cjs.js.map +1 -0
- package/lib/modules/custom-image/specs/blot-spec.cjs.js +33 -0
- package/lib/modules/custom-image/specs/blot-spec.cjs.js.map +1 -0
- package/lib/modules/custom-image/specs/{CustomImageSpec.cjs.js → custom-image-spec.cjs.js} +14 -15
- package/lib/modules/custom-image/specs/custom-image-spec.cjs.js.map +1 -0
- package/lib/modules/custom-image/specs/image-spec.cjs.js +32 -0
- package/lib/modules/custom-image/specs/image-spec.cjs.js.map +1 -0
- package/lib/modules/custom-image/specs/index.cjs.js +9 -0
- package/lib/modules/custom-image/specs/index.cjs.js.map +1 -0
- package/lib/modules/custom-uploader.cjs.js +64 -195
- package/lib/modules/custom-uploader.cjs.js.map +1 -1
- package/lib/modules/divider.cjs.js +9 -8
- package/lib/modules/divider.cjs.js.map +1 -1
- package/lib/modules/emoji.cjs.js +167 -0
- package/lib/modules/emoji.cjs.js.map +1 -0
- package/lib/modules/file/formats/file.cjs.js +14 -14
- package/lib/modules/file/formats/file.cjs.js.map +1 -1
- package/lib/modules/file/index.cjs.js +5 -28
- package/lib/modules/file/index.cjs.js.map +1 -1
- package/lib/modules/file/modules/file-bar.cjs.js +12 -4
- package/lib/modules/file/modules/file-bar.cjs.js.map +1 -1
- package/lib/modules/file/modules/file-module.cjs.js +35 -0
- package/lib/modules/file/modules/file-module.cjs.js.map +1 -0
- package/lib/modules/i18n.cjs.js +32 -10
- package/lib/modules/i18n.cjs.js.map +1 -1
- package/lib/modules/index.cjs.js +27 -0
- package/lib/modules/index.cjs.js.map +1 -0
- package/lib/modules/link/formats/link.cjs.js +15 -11
- package/lib/modules/link/formats/link.cjs.js.map +1 -1
- package/lib/modules/link/index.cjs.js +4 -12
- package/lib/modules/link/index.cjs.js.map +1 -1
- package/lib/modules/link/modules/tooltip.cjs.js +30 -20
- package/lib/modules/link/modules/tooltip.cjs.js.map +1 -1
- package/lib/modules/mathlive/formats.cjs.js +11 -8
- package/lib/modules/mathlive/formats.cjs.js.map +1 -1
- package/lib/modules/mathlive/index.cjs.js +5 -29
- package/lib/modules/mathlive/index.cjs.js.map +1 -1
- package/lib/modules/mathlive/module.cjs.js +40 -0
- package/lib/modules/mathlive/module.cjs.js.map +1 -0
- package/lib/modules/mathlive/tooltip.cjs.js +10 -6
- package/lib/modules/mathlive/tooltip.cjs.js.map +1 -1
- package/lib/modules/mention/constants.cjs.js.map +1 -1
- package/lib/modules/mention/index.cjs.js +7 -0
- package/lib/modules/mention/index.cjs.js.map +1 -0
- package/lib/modules/mention/{MentionLink.cjs.js → mention-link.cjs.js} +15 -7
- package/lib/modules/mention/mention-link.cjs.js.map +1 -0
- package/lib/modules/mention/{Mention.cjs.js → mention.cjs.js} +30 -22
- package/lib/modules/mention/mention.cjs.js.map +1 -0
- package/lib/modules/shortcut-key/index.cjs.js +16 -0
- package/lib/modules/shortcut-key/index.cjs.js.map +1 -1
- package/lib/modules/syntax.cjs.js +4 -0
- package/lib/modules/syntax.cjs.js.map +1 -1
- package/lib/modules/table-up/index.cjs.js +21 -8
- package/lib/modules/table-up/index.cjs.js.map +1 -1
- package/lib/modules/toolbar/better-picker.cjs.js +5 -0
- package/lib/modules/toolbar/better-picker.cjs.js.map +1 -1
- package/lib/modules/toolbar/better-toolbar.cjs.js +138 -0
- package/lib/modules/toolbar/better-toolbar.cjs.js.map +1 -0
- package/lib/modules/toolbar/index.cjs.js +6 -136
- package/lib/modules/toolbar/index.cjs.js.map +1 -1
- package/lib/modules/toolbar/toolbar-tip.cjs.js +6 -1
- package/lib/modules/toolbar/toolbar-tip.cjs.js.map +1 -1
- package/lib/themes/snow.cjs.js +33 -16
- package/lib/themes/snow.cjs.js.map +1 -1
- package/lib/tools/format-painter.cjs.js +8 -2
- package/lib/tools/format-painter.cjs.js.map +1 -1
- package/lib/tools/fullscreen.cjs.js.map +1 -1
- package/lib/tools/screenshot.cjs.js.map +1 -1
- package/lib/ui/icons.cjs.js +1 -0
- package/lib/ui/icons.cjs.js.map +1 -1
- package/lib/ui/icons.config.cjs.js +53 -0
- package/lib/ui/icons.config.cjs.js.map +1 -1
- package/lib/utils/debounce.cjs.js.map +1 -1
- package/lib/utils/is.cjs.js +4 -0
- package/lib/utils/is.cjs.js.map +1 -1
- package/lib/utils/method.cjs.js.map +1 -1
- package/package.json +68 -59
- package/style.css +2359 -2251
- package/types/attributors/font-size.d.ts +1 -1
- package/types/attributors/font-style.d.ts +1 -1
- package/types/attributors/index.d.ts +4 -4
- package/types/attributors/line-height.d.ts +1 -1
- package/types/attributors/text-indent.d.ts +1 -1
- package/types/config/base64-image.d.ts +2 -2
- package/types/config/editor.config.d.ts +11 -285
- package/types/config/editor.utils.d.ts +40 -41
- package/types/config/i18n/en-us.d.ts +123 -136
- package/types/config/i18n/zh-cn.d.ts +123 -136
- package/types/config/index.d.ts +7 -6
- package/types/config/types/editor-config.interface.d.ts +11 -35
- package/types/config/types/editor-modules.interface.d.ts +41 -31
- package/types/config/types/index.d.ts +3 -23
- package/types/config/types/type.d.ts +2 -6
- package/types/core/fluent-editor.d.ts +11 -11
- package/types/fluent-editor.d.ts +1 -2
- package/types/formats/emoji.d.ts +8 -0
- package/types/formats/index.d.ts +4 -0
- package/types/formats/soft-break.d.ts +12 -14
- package/types/formats/strike.d.ts +8 -7
- package/types/formats/video.d.ts +13 -16
- package/types/index.d.ts +7 -6
- package/types/modules/ai/constants.d.ts +30 -0
- package/types/modules/ai/icons.d.ts +21 -0
- package/types/modules/ai/index.d.ts +96 -0
- package/types/modules/ai/types.d.ts +16 -0
- package/types/modules/collaborative-editing/awareness/awareness.d.ts +28 -0
- package/types/modules/collaborative-editing/awareness/index.d.ts +2 -0
- package/types/modules/collaborative-editing/awareness/y-indexeddb.d.ts +2 -0
- package/types/modules/collaborative-editing/collaborative-editing.d.ts +24 -0
- package/types/modules/collaborative-editing/index.d.ts +2 -0
- package/types/modules/collaborative-editing/module.d.ts +11 -0
- package/types/modules/collaborative-editing/provider/index.d.ts +3 -0
- package/types/modules/collaborative-editing/provider/providerRegistry.d.ts +25 -0
- package/types/modules/collaborative-editing/provider/webrtc.d.ts +36 -0
- package/types/modules/collaborative-editing/provider/websocket.d.ts +40 -0
- package/types/modules/collaborative-editing/types.d.ts +37 -0
- package/types/modules/counter.d.ts +22 -16
- package/types/modules/custom-clipboard.d.ts +23 -27
- package/types/modules/custom-image/actions/action.d.ts +8 -0
- package/types/modules/custom-image/actions/{CustomResizeAction.d.ts → custom-resize-action.d.ts} +23 -24
- package/types/modules/custom-image/actions/delete-action.d.ts +6 -0
- package/types/modules/custom-image/actions/image-toolbar-buttons.d.ts +16 -0
- package/types/modules/custom-image/actions/index.d.ts +6 -0
- package/types/modules/custom-image/actions/toolbar-action.d.ts +11 -0
- package/types/modules/custom-image/actions/toolbar.d.ts +19 -0
- package/types/modules/custom-image/blot-formatter.d.ts +23 -0
- package/types/modules/custom-image/image.d.ts +28 -28
- package/types/modules/custom-image/index.d.ts +4 -0
- package/types/modules/custom-image/options.d.ts +47 -0
- package/types/modules/custom-image/specs/blot-spec.d.ts +12 -0
- package/types/modules/custom-image/specs/{CustomImageSpec.d.ts → custom-image-spec.d.ts} +17 -21
- package/types/modules/custom-image/specs/image-spec.d.ts +8 -0
- package/types/modules/custom-image/specs/index.d.ts +3 -0
- package/types/modules/custom-uploader.d.ts +40 -31
- package/types/modules/divider.d.ts +8 -7
- package/types/modules/emoji.d.ts +39 -0
- package/types/modules/file/formats/file.d.ts +18 -15
- package/types/modules/file/index.d.ts +3 -11
- package/types/modules/file/modules/file-bar.d.ts +14 -14
- package/types/modules/file/modules/file-module.d.ts +9 -0
- package/types/modules/i18n.d.ts +13 -15
- package/types/modules/index.d.ts +16 -0
- package/types/modules/link/formats/link.d.ts +14 -15
- package/types/modules/link/index.d.ts +2 -6
- package/types/modules/link/modules/tooltip.d.ts +26 -32
- package/types/modules/mathlive/formats.d.ts +20 -21
- package/types/modules/mathlive/index.d.ts +3 -9
- package/types/modules/mathlive/module.d.ts +9 -0
- package/types/modules/mathlive/tooltip.d.ts +14 -15
- package/types/modules/mention/constants.d.ts +3 -3
- package/types/modules/mention/index.d.ts +2 -0
- package/types/modules/mention/{MentionLink.d.ts → mention-link.d.ts} +15 -15
- package/types/modules/mention/{Mention.d.ts → mention.d.ts} +52 -54
- package/types/modules/shortcut-key/index.d.ts +67 -93
- package/types/modules/syntax.d.ts +12 -13
- package/types/modules/table-up/index.d.ts +32 -64
- package/types/modules/toolbar/better-picker.d.ts +13 -14
- package/types/modules/toolbar/better-toolbar.d.ts +7 -0
- package/types/modules/toolbar/index.d.ts +3 -9
- package/types/modules/toolbar/toolbar-tip.d.ts +7 -8
- package/types/themes/snow.d.ts +9 -10
- package/types/tools/format-painter.d.ts +12 -14
- package/types/tools/fullscreen.d.ts +6 -3
- package/types/tools/screenshot.d.ts +17 -18
- package/types/ui/icons.config.d.ts +38 -36
- package/types/ui/icons.d.ts +6 -6
- package/types/utils/debounce.d.ts +6 -6
- package/types/utils/image.d.ts +1 -1
- package/types/utils/is.d.ts +6 -4
- package/types/utils/method.d.ts +6 -6
- package/types/utils/scroll-lock.d.ts +6 -6
- package/es/config/types/additional-toolbar-item.interface.es.js +0 -2
- package/es/config/types/additional-toolbar-item.interface.es.js.map +0 -1
- package/es/config/types/content-change.interface.es.js +0 -2
- package/es/config/types/content-change.interface.es.js.map +0 -1
- package/es/config/types/content-save.interface.es.js +0 -2
- package/es/config/types/content-save.interface.es.js.map +0 -1
- package/es/config/types/counter-option.interface.es.js +0 -2
- package/es/config/types/counter-option.interface.es.js.map +0 -1
- package/es/config/types/editor-toolbar.interface.es.js +0 -2
- package/es/config/types/editor-toolbar.interface.es.js.map +0 -1
- package/es/config/types/file-operation.interface.es.js +0 -2
- package/es/config/types/file-operation.interface.es.js.map +0 -1
- package/es/config/types/focus-change.interface.es.js +0 -2
- package/es/config/types/focus-change.interface.es.js.map +0 -1
- package/es/config/types/fullscreen-module.interface.es.js +0 -2
- package/es/config/types/fullscreen-module.interface.es.js.map +0 -1
- package/es/config/types/help-panel-item.interface.es.js +0 -2
- package/es/config/types/help-panel-item.interface.es.js.map +0 -1
- package/es/config/types/help-panel-option.interface.es.js +0 -2
- package/es/config/types/help-panel-option.interface.es.js.map +0 -1
- package/es/config/types/image-module.interface.es.js +0 -2
- package/es/config/types/image-module.interface.es.js.map +0 -1
- package/es/config/types/image-upload.interface.es.js +0 -2
- package/es/config/types/image-upload.interface.es.js.map +0 -1
- package/es/config/types/load-on-demand-module.interface.es.js +0 -2
- package/es/config/types/load-on-demand-module.interface.es.js.map +0 -1
- package/es/config/types/mention-module.interface.es.js +0 -2
- package/es/config/types/mention-module.interface.es.js.map +0 -1
- package/es/config/types/paste-change.interface.es.js +0 -2
- package/es/config/types/paste-change.interface.es.js.map +0 -1
- package/es/config/types/quick-menu-module.interface.es.js +0 -2
- package/es/config/types/quick-menu-module.interface.es.js.map +0 -1
- package/es/config/types/range.interface.es.js +0 -2
- package/es/config/types/range.interface.es.js.map +0 -1
- package/es/config/types/registry-options.interface.es.js +0 -2
- package/es/config/types/registry-options.interface.es.js.map +0 -1
- package/es/config/types/selection-change.interface.es.js +0 -2
- package/es/config/types/selection-change.interface.es.js.map +0 -1
- package/es/config/types/toolbar-item.interface.es.js +0 -2
- package/es/config/types/toolbar-item.interface.es.js.map +0 -1
- package/es/config/types/validate-error.interface.es.js +0 -2
- package/es/config/types/validate-error.interface.es.js.map +0 -1
- package/es/modules/custom-image/BlotFormatter.es.js.map +0 -1
- package/es/modules/custom-image/Options.es.js +0 -95
- package/es/modules/custom-image/Options.es.js.map +0 -1
- package/es/modules/custom-image/actions/Action.es.js +0 -15
- package/es/modules/custom-image/actions/Action.es.js.map +0 -1
- package/es/modules/custom-image/actions/CustomResizeAction.es.js.map +0 -1
- package/es/modules/custom-image/actions/DeleteAction.es.js.map +0 -1
- package/es/modules/custom-image/image-bar.es.js +0 -127
- package/es/modules/custom-image/image-bar.es.js.map +0 -1
- package/es/modules/custom-image/specs/BlotSpec.es.js +0 -27
- package/es/modules/custom-image/specs/BlotSpec.es.js.map +0 -1
- package/es/modules/custom-image/specs/CustomImageSpec.es.js.map +0 -1
- package/es/modules/custom-image/specs/ImageSpec.es.js +0 -29
- package/es/modules/custom-image/specs/ImageSpec.es.js.map +0 -1
- package/es/modules/emoji/emoji-list/index.es.js +0 -5
- package/es/modules/emoji/emoji-list/people.es.js +0 -114
- package/es/modules/emoji/emoji-list/people.es.js.map +0 -1
- package/es/modules/emoji/emoji-list.es.js +0 -9
- package/es/modules/emoji/emoji-list.es.js.map +0 -1
- package/es/modules/emoji/emoji-map.es.js +0 -9
- package/es/modules/emoji/emoji-map.es.js.map +0 -1
- package/es/modules/emoji/emoji-sprite.es.js +0 -5
- package/es/modules/emoji/emoji-sprite.es.js.map +0 -1
- package/es/modules/emoji/formats/emoji-blot.es.js +0 -41
- package/es/modules/emoji/formats/emoji-blot.es.js.map +0 -1
- package/es/modules/emoji/index.es.js +0 -8
- package/es/modules/emoji/index.es.js.map +0 -1
- package/es/modules/emoji/modules/emoji.es.js +0 -248
- package/es/modules/emoji/modules/emoji.es.js.map +0 -1
- package/es/modules/emoji/modules/toolbar-emoji.es.js +0 -153
- package/es/modules/emoji/modules/toolbar-emoji.es.js.map +0 -1
- package/es/modules/emoji/utils.es.js +0 -19
- package/es/modules/emoji/utils.es.js.map +0 -1
- package/es/modules/mention/Mention.es.js.map +0 -1
- package/es/modules/mention/MentionLink.es.js.map +0 -1
- package/lib/config/types/additional-toolbar-item.interface.cjs.js +0 -2
- package/lib/config/types/additional-toolbar-item.interface.cjs.js.map +0 -1
- package/lib/config/types/content-change.interface.cjs.js +0 -2
- package/lib/config/types/content-change.interface.cjs.js.map +0 -1
- package/lib/config/types/content-save.interface.cjs.js +0 -2
- package/lib/config/types/content-save.interface.cjs.js.map +0 -1
- package/lib/config/types/counter-option.interface.cjs.js +0 -2
- package/lib/config/types/counter-option.interface.cjs.js.map +0 -1
- package/lib/config/types/editor-toolbar.interface.cjs.js +0 -2
- package/lib/config/types/editor-toolbar.interface.cjs.js.map +0 -1
- package/lib/config/types/file-operation.interface.cjs.js +0 -2
- package/lib/config/types/file-operation.interface.cjs.js.map +0 -1
- package/lib/config/types/focus-change.interface.cjs.js +0 -2
- package/lib/config/types/focus-change.interface.cjs.js.map +0 -1
- package/lib/config/types/fullscreen-module.interface.cjs.js +0 -2
- package/lib/config/types/fullscreen-module.interface.cjs.js.map +0 -1
- package/lib/config/types/help-panel-item.interface.cjs.js +0 -2
- package/lib/config/types/help-panel-item.interface.cjs.js.map +0 -1
- package/lib/config/types/help-panel-option.interface.cjs.js +0 -2
- package/lib/config/types/help-panel-option.interface.cjs.js.map +0 -1
- package/lib/config/types/image-module.interface.cjs.js +0 -2
- package/lib/config/types/image-module.interface.cjs.js.map +0 -1
- package/lib/config/types/image-upload.interface.cjs.js +0 -2
- package/lib/config/types/image-upload.interface.cjs.js.map +0 -1
- package/lib/config/types/load-on-demand-module.interface.cjs.js +0 -2
- package/lib/config/types/load-on-demand-module.interface.cjs.js.map +0 -1
- package/lib/config/types/mention-module.interface.cjs.js +0 -2
- package/lib/config/types/mention-module.interface.cjs.js.map +0 -1
- package/lib/config/types/paste-change.interface.cjs.js +0 -2
- package/lib/config/types/paste-change.interface.cjs.js.map +0 -1
- package/lib/config/types/quick-menu-module.interface.cjs.js +0 -2
- package/lib/config/types/quick-menu-module.interface.cjs.js.map +0 -1
- package/lib/config/types/range.interface.cjs.js +0 -2
- package/lib/config/types/range.interface.cjs.js.map +0 -1
- package/lib/config/types/registry-options.interface.cjs.js +0 -2
- package/lib/config/types/registry-options.interface.cjs.js.map +0 -1
- package/lib/config/types/selection-change.interface.cjs.js +0 -2
- package/lib/config/types/selection-change.interface.cjs.js.map +0 -1
- package/lib/config/types/toolbar-item.interface.cjs.js +0 -2
- package/lib/config/types/toolbar-item.interface.cjs.js.map +0 -1
- package/lib/config/types/validate-error.interface.cjs.js +0 -2
- package/lib/config/types/validate-error.interface.cjs.js.map +0 -1
- package/lib/modules/custom-image/BlotFormatter.cjs.js.map +0 -1
- package/lib/modules/custom-image/Options.cjs.js +0 -95
- package/lib/modules/custom-image/Options.cjs.js.map +0 -1
- package/lib/modules/custom-image/actions/Action.cjs.js +0 -15
- package/lib/modules/custom-image/actions/Action.cjs.js.map +0 -1
- package/lib/modules/custom-image/actions/CustomResizeAction.cjs.js.map +0 -1
- package/lib/modules/custom-image/actions/DeleteAction.cjs.js.map +0 -1
- package/lib/modules/custom-image/image-bar.cjs.js +0 -127
- package/lib/modules/custom-image/image-bar.cjs.js.map +0 -1
- package/lib/modules/custom-image/specs/BlotSpec.cjs.js +0 -27
- package/lib/modules/custom-image/specs/BlotSpec.cjs.js.map +0 -1
- package/lib/modules/custom-image/specs/CustomImageSpec.cjs.js.map +0 -1
- package/lib/modules/custom-image/specs/ImageSpec.cjs.js +0 -29
- package/lib/modules/custom-image/specs/ImageSpec.cjs.js.map +0 -1
- package/lib/modules/emoji/emoji-list/index.cjs.js +0 -5
- package/lib/modules/emoji/emoji-list/people.cjs.js +0 -114
- package/lib/modules/emoji/emoji-list/people.cjs.js.map +0 -1
- package/lib/modules/emoji/emoji-list.cjs.js +0 -9
- package/lib/modules/emoji/emoji-list.cjs.js.map +0 -1
- package/lib/modules/emoji/emoji-map.cjs.js +0 -9
- package/lib/modules/emoji/emoji-map.cjs.js.map +0 -1
- package/lib/modules/emoji/emoji-sprite.cjs.js +0 -5
- package/lib/modules/emoji/emoji-sprite.cjs.js.map +0 -1
- package/lib/modules/emoji/formats/emoji-blot.cjs.js +0 -41
- package/lib/modules/emoji/formats/emoji-blot.cjs.js.map +0 -1
- package/lib/modules/emoji/index.cjs.js +0 -8
- package/lib/modules/emoji/index.cjs.js.map +0 -1
- package/lib/modules/emoji/modules/emoji.cjs.js +0 -248
- package/lib/modules/emoji/modules/emoji.cjs.js.map +0 -1
- package/lib/modules/emoji/modules/toolbar-emoji.cjs.js +0 -153
- package/lib/modules/emoji/modules/toolbar-emoji.cjs.js.map +0 -1
- package/lib/modules/emoji/utils.cjs.js +0 -19
- package/lib/modules/emoji/utils.cjs.js.map +0 -1
- package/lib/modules/mention/Mention.cjs.js.map +0 -1
- package/lib/modules/mention/MentionLink.cjs.js.map +0 -1
- package/types/config/types/additional-toolbar-item.interface.d.ts +0 -8
- package/types/config/types/content-change.interface.d.ts +0 -13
- package/types/config/types/content-save.interface.d.ts +0 -6
- package/types/config/types/counter-option.interface.d.ts +0 -9
- package/types/config/types/editor-toolbar.interface.d.ts +0 -6
- package/types/config/types/file-operation.interface.d.ts +0 -12
- package/types/config/types/focus-change.interface.d.ts +0 -4
- package/types/config/types/fullscreen-module.interface.d.ts +0 -4
- package/types/config/types/help-panel-item.interface.d.ts +0 -5
- package/types/config/types/help-panel-option.interface.d.ts +0 -7
- package/types/config/types/image-module.interface.d.ts +0 -3
- package/types/config/types/image-upload.interface.d.ts +0 -7
- package/types/config/types/load-on-demand-module.interface.d.ts +0 -5
- package/types/config/types/mention-module.interface.d.ts +0 -8
- package/types/config/types/paste-change.interface.d.ts +0 -6
- package/types/config/types/quick-menu-module.interface.d.ts +0 -3
- package/types/config/types/range.interface.d.ts +0 -4
- package/types/config/types/registry-options.interface.d.ts +0 -5
- package/types/config/types/selection-change.interface.d.ts +0 -8
- package/types/config/types/toolbar-item.interface.d.ts +0 -13
- package/types/config/types/validate-error.interface.d.ts +0 -13
- package/types/modules/custom-image/BlotFormatter.d.ts +0 -29
- package/types/modules/custom-image/Options.d.ts +0 -36
- package/types/modules/custom-image/actions/Action.d.ts +0 -7
- package/types/modules/custom-image/actions/DeleteAction.d.ts +0 -7
- package/types/modules/custom-image/image-bar.d.ts +0 -15
- package/types/modules/custom-image/specs/BlotSpec.d.ts +0 -13
- package/types/modules/custom-image/specs/ImageSpec.d.ts +0 -10
- package/types/modules/emoji/emoji-list/index.d.ts +0 -1
- package/types/modules/emoji/emoji-list/people.d.ts +0 -1
- package/types/modules/emoji/emoji-list.d.ts +0 -2
- package/types/modules/emoji/emoji-map.d.ts +0 -2
- package/types/modules/emoji/emoji-sprite.d.ts +0 -1
- package/types/modules/emoji/formats/emoji-blot.d.ts +0 -13
- package/types/modules/emoji/index.d.ts +0 -10
- package/types/modules/emoji/modules/emoji.d.ts +0 -38
- package/types/modules/emoji/modules/toolbar-emoji.d.ts +0 -8
- package/types/modules/emoji/utils.d.ts +0 -1
|
@@ -1,136 +1,123 @@
|
|
|
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
|
-
'
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
'
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
'
|
|
78
|
-
'
|
|
79
|
-
|
|
80
|
-
'
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'
|
|
91
|
-
'
|
|
92
|
-
'
|
|
93
|
-
'
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
CutCell: string;
|
|
125
|
-
InsertTop: string;
|
|
126
|
-
InsertRight: string;
|
|
127
|
-
InsertBottom: string;
|
|
128
|
-
InsertLeft: string;
|
|
129
|
-
MergeCell: string;
|
|
130
|
-
SplitCell: string;
|
|
131
|
-
DeleteRow: string;
|
|
132
|
-
DeleteColumn: string;
|
|
133
|
-
DeleteTable: string;
|
|
134
|
-
BackgroundColor: string;
|
|
135
|
-
BorderColor: string;
|
|
136
|
-
};
|
|
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
|
+
link: string;
|
|
62
|
+
code: string;
|
|
63
|
+
table: string;
|
|
64
|
+
'table-up': string;
|
|
65
|
+
'code-block': string;
|
|
66
|
+
formula: string;
|
|
67
|
+
'format-painter': string;
|
|
68
|
+
divider: string;
|
|
69
|
+
video: string;
|
|
70
|
+
color: string;
|
|
71
|
+
background: string;
|
|
72
|
+
font: string;
|
|
73
|
+
size: string;
|
|
74
|
+
list: string;
|
|
75
|
+
'list-ordered': string;
|
|
76
|
+
'list-bullet': string;
|
|
77
|
+
'list-check': string;
|
|
78
|
+
'align-left': string;
|
|
79
|
+
'align-center': string;
|
|
80
|
+
'align-right': string;
|
|
81
|
+
'align-justify': string;
|
|
82
|
+
'direction-ltr': string;
|
|
83
|
+
'direction-rtl': string;
|
|
84
|
+
'indent--1': string;
|
|
85
|
+
'indent-+1': string;
|
|
86
|
+
'script-super': string;
|
|
87
|
+
'script-sub': string;
|
|
88
|
+
'header-normal': string;
|
|
89
|
+
'header-1': string;
|
|
90
|
+
'header-2': string;
|
|
91
|
+
'header-3': string;
|
|
92
|
+
'header-4': string;
|
|
93
|
+
'header-5': string;
|
|
94
|
+
'header-6': string;
|
|
95
|
+
'header-list': string;
|
|
96
|
+
'input-recall-menu-placeholder': string;
|
|
97
|
+
'clear-color': string;
|
|
98
|
+
'custom-color': string;
|
|
99
|
+
fullCheckboxText: string;
|
|
100
|
+
customBtnText: string;
|
|
101
|
+
confirmText: string;
|
|
102
|
+
cancelText: string;
|
|
103
|
+
rowText: string;
|
|
104
|
+
colText: string;
|
|
105
|
+
notPositiveNumberError: string;
|
|
106
|
+
custom: string;
|
|
107
|
+
clear: string;
|
|
108
|
+
transparent: string;
|
|
109
|
+
perWidthInsufficient: string;
|
|
110
|
+
CopyCell: string;
|
|
111
|
+
CutCell: string;
|
|
112
|
+
InsertTop: string;
|
|
113
|
+
InsertRight: string;
|
|
114
|
+
InsertBottom: string;
|
|
115
|
+
InsertLeft: string;
|
|
116
|
+
MergeCell: string;
|
|
117
|
+
SplitCell: string;
|
|
118
|
+
DeleteRow: string;
|
|
119
|
+
DeleteColumn: string;
|
|
120
|
+
DeleteTable: string;
|
|
121
|
+
BackgroundColor: string;
|
|
122
|
+
BorderColor: string;
|
|
123
|
+
};
|
|
@@ -1,136 +1,123 @@
|
|
|
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
|
-
'
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
'
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
|
|
81
|
-
'
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'
|
|
91
|
-
'
|
|
92
|
-
'
|
|
93
|
-
'
|
|
94
|
-
'
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
CutCell: string;
|
|
125
|
-
InsertTop: string;
|
|
126
|
-
InsertRight: string;
|
|
127
|
-
InsertBottom: string;
|
|
128
|
-
InsertLeft: string;
|
|
129
|
-
MergeCell: string;
|
|
130
|
-
SplitCell: string;
|
|
131
|
-
DeleteRow: string;
|
|
132
|
-
DeleteColumn: string;
|
|
133
|
-
DeleteTable: string;
|
|
134
|
-
BackgroundColor: string;
|
|
135
|
-
BorderColor: string;
|
|
136
|
-
};
|
|
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
|
+
link: string;
|
|
62
|
+
divider: string;
|
|
63
|
+
code: string;
|
|
64
|
+
table: string;
|
|
65
|
+
'table-up': string;
|
|
66
|
+
'code-block': string;
|
|
67
|
+
formula: string;
|
|
68
|
+
'format-painter': string;
|
|
69
|
+
video: string;
|
|
70
|
+
color: string;
|
|
71
|
+
background: string;
|
|
72
|
+
font: string;
|
|
73
|
+
size: string;
|
|
74
|
+
list: string;
|
|
75
|
+
'list-ordered': string;
|
|
76
|
+
'list-bullet': string;
|
|
77
|
+
'list-check': string;
|
|
78
|
+
'align-left': string;
|
|
79
|
+
'align-center': string;
|
|
80
|
+
'align-right': string;
|
|
81
|
+
'align-justify': string;
|
|
82
|
+
'direction-ltr': string;
|
|
83
|
+
'direction-rtl': string;
|
|
84
|
+
'indent--1': string;
|
|
85
|
+
'indent-+1': string;
|
|
86
|
+
'script-super': string;
|
|
87
|
+
'script-sub': string;
|
|
88
|
+
'header-normal': string;
|
|
89
|
+
'header-1': string;
|
|
90
|
+
'header-2': string;
|
|
91
|
+
'header-3': string;
|
|
92
|
+
'header-4': string;
|
|
93
|
+
'header-5': string;
|
|
94
|
+
'header-6': string;
|
|
95
|
+
'header-list': string;
|
|
96
|
+
'input-recall-menu-placeholder': string;
|
|
97
|
+
'clear-color': string;
|
|
98
|
+
'custom-color': string;
|
|
99
|
+
fullCheckboxText: string;
|
|
100
|
+
customBtnText: string;
|
|
101
|
+
confirmText: string;
|
|
102
|
+
cancelText: string;
|
|
103
|
+
rowText: string;
|
|
104
|
+
colText: string;
|
|
105
|
+
notPositiveNumberError: string;
|
|
106
|
+
custom: string;
|
|
107
|
+
clear: string;
|
|
108
|
+
transparent: string;
|
|
109
|
+
perWidthInsufficient: string;
|
|
110
|
+
CopyCell: string;
|
|
111
|
+
CutCell: string;
|
|
112
|
+
InsertTop: string;
|
|
113
|
+
InsertRight: string;
|
|
114
|
+
InsertBottom: string;
|
|
115
|
+
InsertLeft: string;
|
|
116
|
+
MergeCell: string;
|
|
117
|
+
SplitCell: string;
|
|
118
|
+
DeleteRow: string;
|
|
119
|
+
DeleteColumn: string;
|
|
120
|
+
DeleteTable: string;
|
|
121
|
+
BackgroundColor: string;
|
|
122
|
+
BorderColor: string;
|
|
123
|
+
};
|
package/types/config/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export * from './editor.config';
|
|
2
|
-
export * from './editor.utils';
|
|
3
|
-
export
|
|
4
|
-
export declare function
|
|
5
|
-
|
|
6
|
-
|
|
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,38 +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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
imageUpload?: ({ file, callback, editor }: {
|
|
16
|
-
file: any;
|
|
17
|
-
callback: any;
|
|
18
|
-
editor: any;
|
|
19
|
-
}) => void;
|
|
20
|
-
imageAccept?: Array<string>[] | string;
|
|
21
|
-
fileAccept?: Array<string>[] | string;
|
|
22
|
-
fileUpload: ({ file, callback, editor }: {
|
|
23
|
-
file: any;
|
|
24
|
-
callback: any;
|
|
25
|
-
editor: any;
|
|
26
|
-
}) => void;
|
|
27
|
-
isVideoPlay?: boolean;
|
|
28
|
-
maxSize?: number;
|
|
29
|
-
success?: (file: File) => void;
|
|
30
|
-
fail?: (file: File) => void;
|
|
31
|
-
multiple?: boolean;
|
|
32
|
-
};
|
|
33
|
-
screenshot?: Partial<ScreenShotOptions>;
|
|
34
|
-
i18n?: {
|
|
35
|
-
lang?: string;
|
|
36
|
-
langText?: Record<string, string>;
|
|
37
|
-
};
|
|
38
|
-
}
|
|
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
|
+
}
|
|
@@ -1,31 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} | boolean;
|
|
31
|
-
|
|
1
|
+
import { ToolbarProps } from 'quill/modules/toolbar';
|
|
2
|
+
import { I18NOptions, ICounterOption, MentionOption, ShortCutKeyInputOptions } from '../../modules';
|
|
3
|
+
import { BlotFormatterOptionsInput } from '../../modules/custom-image/options';
|
|
4
|
+
import { FileUploaderOptions } from '../../modules/custom-uploader';
|
|
5
|
+
import { EmojiModuleOptions } from '../../modules/emoji';
|
|
6
|
+
export type ToolbarOptions = {
|
|
7
|
+
container?: HTMLElement | (Record<string, any>[] | string[] | (string | Record<string, any>)[])[];
|
|
8
|
+
} & ToolbarProps;
|
|
9
|
+
export interface IEditorModules {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
'clipboard'?: {
|
|
12
|
+
matchers?: any[];
|
|
13
|
+
matchVisual?: boolean;
|
|
14
|
+
} | boolean;
|
|
15
|
+
'history'?: {
|
|
16
|
+
delay?: number;
|
|
17
|
+
maxStack?: number;
|
|
18
|
+
userOnly?: boolean;
|
|
19
|
+
} | boolean;
|
|
20
|
+
'keyboard'?: {
|
|
21
|
+
bindings?: any;
|
|
22
|
+
} | boolean;
|
|
23
|
+
'syntax'?: {
|
|
24
|
+
interval?: number;
|
|
25
|
+
languages?: {
|
|
26
|
+
key: string;
|
|
27
|
+
label: string;
|
|
28
|
+
}[];
|
|
29
|
+
hljs?: any;
|
|
30
|
+
} | boolean;
|
|
31
|
+
'toolbar'?: boolean | ToolbarOptions | ToolbarOptions['container'] | string[];
|
|
32
|
+
'uploader'?: boolean | Partial<FileUploaderOptions>;
|
|
33
|
+
'shortcut-key'?: boolean | Partial<ShortCutKeyInputOptions>;
|
|
34
|
+
'mention'?: boolean | MentionOption;
|
|
35
|
+
'i18n'?: boolean | Partial<I18NOptions>;
|
|
36
|
+
'counter'?: boolean | ICounterOption;
|
|
37
|
+
'emoji'?: boolean | EmojiModuleOptions;
|
|
38
|
+
'file'?: boolean;
|
|
39
|
+
'mathlive'?: boolean;
|
|
40
|
+
'image'?: boolean | Partial<BlotFormatterOptionsInput>;
|
|
41
|
+
}
|