@opentiny/fluent-editor 4.0.0-alpha.8 → 4.0.0-alpha.9
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/{dist/README.md → README.md} +88 -88
- package/es/attributors/line-height.es.js.map +1 -0
- package/es/config/base64-image.es.js.map +1 -0
- package/es/config/editor.config.es.js.map +1 -0
- package/es/config/editor.utils.es.js.map +1 -0
- package/es/config/i18n/en-us.es.js.map +1 -0
- package/es/config/i18n/zh-cn.es.js.map +1 -0
- package/es/config/index.es.js.map +1 -0
- package/es/core/fluent-editor.es.js.map +1 -0
- package/es/fluent-editor.es.js.map +1 -0
- package/es/formats/emoji.es.js.map +1 -0
- package/es/formats/soft-break.es.js.map +1 -0
- package/es/formats/strike.es.js.map +1 -0
- package/es/formats/video.es.js.map +1 -0
- package/es/modules/ai/constants.es.js.map +1 -0
- package/es/modules/ai/icons.es.js.map +1 -0
- package/es/modules/ai/index.es.js.map +1 -0
- package/es/modules/collaborative-editing/awareness/awareness.es.js.map +1 -0
- package/es/modules/collaborative-editing/awareness/y-indexeddb.es.js.map +1 -0
- package/es/modules/collaborative-editing/collaborative-editing.es.js.map +1 -0
- package/es/modules/collaborative-editing/module.es.js.map +1 -0
- package/es/modules/collaborative-editing/provider/providerRegistry.es.js.map +1 -0
- package/es/modules/collaborative-editing/provider/webrtc.es.js.map +1 -0
- package/es/modules/collaborative-editing/provider/websocket.es.js.map +1 -0
- package/es/modules/counter.es.js.map +1 -0
- package/es/modules/custom-clipboard.es.js.map +1 -0
- package/es/modules/custom-image/actions/action.es.js.map +1 -0
- package/es/modules/custom-image/actions/custom-resize-action.es.js.map +1 -0
- package/es/modules/custom-image/actions/delete-action.es.js.map +1 -0
- package/es/modules/custom-image/blot-formatter.es.js.map +1 -0
- package/es/modules/custom-image/image.es.js.map +1 -0
- package/es/modules/custom-image/options.es.js.map +1 -0
- package/es/modules/custom-image/specs/blot-spec.es.js.map +1 -0
- package/es/modules/custom-image/specs/custom-image-spec.es.js.map +1 -0
- package/es/modules/custom-image/specs/image-spec.es.js.map +1 -0
- package/es/modules/divider.es.js.map +1 -0
- package/es/modules/emoji.es.js.map +1 -0
- package/es/modules/file/formats/file.es.js.map +1 -0
- package/es/modules/file/modules/file-bar.es.js.map +1 -0
- package/es/modules/file/modules/file-module.es.js.map +1 -0
- package/es/modules/link/formats/link.es.js.map +1 -0
- package/es/modules/link/modules/tooltip.es.js.map +1 -0
- package/es/modules/mathlive/formats.es.js.map +1 -0
- package/es/modules/mathlive/tooltip.es.js.map +1 -0
- package/es/modules/mention/constants.es.js.map +1 -0
- package/es/modules/mention/mention-link.es.js.map +1 -0
- package/es/modules/mention/mention.es.js.map +1 -0
- package/es/modules/syntax.es.js.map +1 -0
- package/es/modules/toolbar/better-picker.es.js.map +1 -0
- package/es/themes/snow.es.js.map +1 -0
- package/es/tools/screenshot.es.js.map +1 -0
- package/es/ui/icons.config.es.js.map +1 -0
- package/es/ui/icons.es.js.map +1 -0
- package/es/utils/debounce.es.js.map +1 -0
- package/es/utils/method.es.js.map +1 -0
- package/lib/attributors/line-height.cjs.js.map +1 -0
- package/lib/config/base64-image.cjs.js.map +1 -0
- package/lib/config/editor.config.cjs.js.map +1 -0
- package/lib/config/editor.utils.cjs.js.map +1 -0
- package/lib/config/i18n/en-us.cjs.js.map +1 -0
- package/lib/config/i18n/zh-cn.cjs.js.map +1 -0
- package/lib/config/index.cjs.js.map +1 -0
- package/lib/core/fluent-editor.cjs.js.map +1 -0
- package/lib/fluent-editor.cjs.js.map +1 -0
- package/lib/formats/emoji.cjs.js.map +1 -0
- package/lib/formats/soft-break.cjs.js.map +1 -0
- package/lib/formats/strike.cjs.js.map +1 -0
- package/lib/formats/video.cjs.js.map +1 -0
- package/lib/modules/ai/constants.cjs.js.map +1 -0
- package/lib/modules/ai/icons.cjs.js.map +1 -0
- package/lib/modules/ai/index.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/awareness/awareness.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/collaborative-editing.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/module.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/provider/providerRegistry.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/provider/webrtc.cjs.js.map +1 -0
- package/lib/modules/collaborative-editing/provider/websocket.cjs.js.map +1 -0
- package/lib/modules/counter.cjs.js.map +1 -0
- package/lib/modules/custom-clipboard.cjs.js.map +1 -0
- package/lib/modules/custom-image/actions/action.cjs.js.map +1 -0
- package/lib/modules/custom-image/actions/custom-resize-action.cjs.js.map +1 -0
- package/lib/modules/custom-image/actions/delete-action.cjs.js.map +1 -0
- package/lib/modules/custom-image/blot-formatter.cjs.js.map +1 -0
- package/lib/modules/custom-image/image.cjs.js.map +1 -0
- package/lib/modules/custom-image/options.cjs.js.map +1 -0
- package/lib/modules/custom-image/specs/blot-spec.cjs.js.map +1 -0
- package/lib/modules/custom-image/specs/custom-image-spec.cjs.js.map +1 -0
- package/lib/modules/custom-image/specs/image-spec.cjs.js.map +1 -0
- package/lib/modules/divider.cjs.js.map +1 -0
- package/lib/modules/emoji.cjs.js.map +1 -0
- package/lib/modules/file/formats/file.cjs.js.map +1 -0
- package/lib/modules/file/modules/file-bar.cjs.js.map +1 -0
- package/lib/modules/file/modules/file-module.cjs.js.map +1 -0
- package/lib/modules/link/formats/link.cjs.js.map +1 -0
- package/lib/modules/link/modules/tooltip.cjs.js.map +1 -0
- package/lib/modules/mathlive/formats.cjs.js.map +1 -0
- package/lib/modules/mathlive/tooltip.cjs.js.map +1 -0
- package/lib/modules/mention/constants.cjs.js.map +1 -0
- package/lib/modules/mention/mention-link.cjs.js.map +1 -0
- package/lib/modules/mention/mention.cjs.js.map +1 -0
- package/lib/modules/syntax.cjs.js.map +1 -0
- package/lib/modules/toolbar/better-picker.cjs.js.map +1 -0
- package/lib/themes/snow.cjs.js.map +1 -0
- package/lib/tools/screenshot.cjs.js.map +1 -0
- package/lib/ui/icons.cjs.js.map +1 -0
- package/lib/ui/icons.config.cjs.js.map +1 -0
- package/lib/utils/debounce.cjs.js.map +1 -0
- package/lib/utils/method.cjs.js.map +1 -0
- package/package.json +67 -67
- package/{dist/types → types}/attributors/font-size.d.ts +1 -1
- package/{dist/types → types}/attributors/font-style.d.ts +1 -1
- package/{dist/types → types}/attributors/index.d.ts +4 -4
- package/{dist/types → types}/attributors/line-height.d.ts +1 -1
- package/{dist/types → types}/attributors/text-indent.d.ts +1 -1
- package/{dist/types → types}/config/base64-image.d.ts +2 -2
- package/{dist/types → types}/config/editor.config.d.ts +11 -11
- package/{dist/types → types}/config/editor.utils.d.ts +40 -40
- package/{dist/types → types}/config/i18n/en-us.d.ts +123 -123
- package/{dist/types → types}/config/i18n/zh-cn.d.ts +123 -123
- package/{dist/types → types}/config/index.d.ts +7 -7
- package/{dist/types → types}/config/types/editor-config.interface.d.ts +12 -11
- package/{dist/types → types}/config/types/editor-modules.interface.d.ts +37 -36
- package/{dist/types → types}/config/types/index.d.ts +3 -3
- package/{dist/types → types}/config/types/type.d.ts +2 -2
- package/{dist/types → types}/core/fluent-editor.d.ts +11 -10
- package/{dist/types → types}/fluent-editor.d.ts +2 -1
- package/{dist/types → types}/formats/emoji.d.ts +8 -7
- package/{dist/types → types}/formats/index.d.ts +4 -4
- package/{dist/types → types}/formats/soft-break.d.ts +12 -11
- package/{dist/types → types}/formats/strike.d.ts +8 -7
- package/{dist/types → types}/formats/video.d.ts +13 -12
- package/{dist/types → types}/index.d.ts +8 -7
- package/{dist/types → types}/modules/ai/constants.d.ts +30 -30
- package/{dist/types → types}/modules/ai/icons.d.ts +21 -21
- package/{dist/types → types}/modules/ai/index.d.ts +94 -93
- package/{dist/types → types}/modules/ai/types.d.ts +16 -16
- package/{dist/types → types}/modules/collaborative-editing/awareness/awareness.d.ts +26 -25
- package/{dist/types → types}/modules/collaborative-editing/awareness/index.d.ts +2 -2
- package/{dist/types → types}/modules/collaborative-editing/awareness/y-indexeddb.d.ts +2 -1
- package/{dist/types → types}/modules/collaborative-editing/collaborative-editing.d.ts +20 -19
- package/{dist/types → types}/modules/collaborative-editing/index.d.ts +2 -2
- package/{dist/types → types}/modules/collaborative-editing/module.d.ts +11 -10
- package/{dist/types → types}/modules/collaborative-editing/provider/index.d.ts +3 -3
- package/{dist/types → types}/modules/collaborative-editing/provider/providerRegistry.d.ts +24 -23
- package/{dist/types → types}/modules/collaborative-editing/provider/webrtc.d.ts +33 -32
- package/{dist/types → types}/modules/collaborative-editing/provider/websocket.d.ts +37 -36
- package/{dist/types → types}/modules/collaborative-editing/types.d.ts +35 -35
- package/{dist/types → types}/modules/counter.d.ts +22 -21
- package/{dist/types → types}/modules/custom-clipboard.d.ts +24 -23
- package/{dist/types → types}/modules/custom-image/actions/action.d.ts +8 -7
- package/{dist/types → types}/modules/custom-image/actions/custom-resize-action.d.ts +23 -22
- package/{dist/types → types}/modules/custom-image/actions/delete-action.d.ts +6 -5
- package/{dist/types → types}/modules/custom-image/actions/image-toolbar-buttons.d.ts +16 -15
- package/{dist/types → types}/modules/custom-image/actions/index.d.ts +6 -6
- package/{dist/types → types}/modules/custom-image/actions/toolbar-action.d.ts +8 -7
- package/{dist/types → types}/modules/custom-image/actions/toolbar.d.ts +17 -16
- package/{dist/types → types}/modules/custom-image/blot-formatter.d.ts +20 -19
- package/{dist/types → types}/modules/custom-image/image.d.ts +27 -26
- package/{dist/types → types}/modules/custom-image/index.d.ts +4 -4
- package/{dist/types → types}/modules/custom-image/options.d.ts +46 -45
- package/{dist/types → types}/modules/custom-image/specs/blot-spec.d.ts +11 -10
- package/{dist/types → types}/modules/custom-image/specs/custom-image-spec.d.ts +16 -15
- package/{dist/types → types}/modules/custom-image/specs/image-spec.d.ts +8 -7
- package/{dist/types → types}/modules/custom-image/specs/index.d.ts +3 -3
- package/{dist/types → types}/modules/custom-uploader.d.ts +38 -37
- package/{dist/types → types}/modules/divider.d.ts +8 -7
- package/{dist/types → types}/modules/emoji.d.ts +36 -35
- package/{dist/types → types}/modules/file/formats/file.d.ts +18 -17
- package/{dist/types → types}/modules/file/index.d.ts +3 -3
- package/{dist/types → types}/modules/file/modules/file-bar.d.ts +14 -14
- package/{dist/types → types}/modules/file/modules/file-module.d.ts +8 -7
- package/{dist/types → types}/modules/i18n.d.ts +14 -13
- package/{dist/types → types}/modules/index.d.ts +16 -16
- package/{dist/types → types}/modules/link/formats/link.d.ts +15 -14
- package/{dist/types → types}/modules/link/index.d.ts +2 -2
- package/{dist/types → types}/modules/link/modules/tooltip.d.ts +26 -25
- package/{dist/types → types}/modules/mathlive/formats.d.ts +21 -20
- package/{dist/types → types}/modules/mathlive/index.d.ts +3 -3
- package/{dist/types → types}/modules/mathlive/module.d.ts +8 -7
- package/{dist/types → types}/modules/mathlive/tooltip.d.ts +15 -14
- package/{dist/types → types}/modules/mention/constants.d.ts +3 -3
- package/{dist/types → types}/modules/mention/index.d.ts +2 -2
- package/{dist/types → types}/modules/mention/mention-link.d.ts +15 -14
- package/{dist/types → types}/modules/mention/mention.d.ts +53 -52
- package/{dist/types → types}/modules/shortcut-key/index.d.ts +68 -67
- package/{dist/types → types}/modules/syntax.d.ts +13 -12
- package/{dist/types → types}/modules/table-up/index.d.ts +33 -32
- package/{dist/types → types}/modules/toolbar/better-picker.d.ts +14 -13
- package/{dist/types → types}/modules/toolbar/better-toolbar.d.ts +7 -6
- package/{dist/types → types}/modules/toolbar/index.d.ts +3 -3
- package/{dist/types → types}/modules/toolbar/toolbar-tip.d.ts +8 -7
- package/{dist/types → types}/themes/snow.d.ts +10 -9
- package/{dist/types → types}/tools/format-painter.d.ts +13 -12
- package/{dist/types → types}/tools/fullscreen.d.ts +5 -4
- package/{dist/types → types}/tools/screenshot.d.ts +18 -17
- package/{dist/types → types}/ui/icons.config.d.ts +38 -38
- package/{dist/types → types}/ui/icons.d.ts +6 -6
- package/{dist/types → types}/utils/debounce.d.ts +6 -6
- package/{dist/types → types}/utils/image.d.ts +1 -1
- package/{dist/types → types}/utils/is.d.ts +6 -6
- package/{dist/types → types}/utils/method.d.ts +6 -6
- package/{dist/types → types}/utils/scroll-lock.d.ts +6 -6
- package/LICENSE +0 -21
- package/dist/es/attributors/line-height.es.js.map +0 -1
- package/dist/es/config/base64-image.es.js.map +0 -1
- package/dist/es/config/editor.config.es.js.map +0 -1
- package/dist/es/config/editor.utils.es.js.map +0 -1
- package/dist/es/config/i18n/en-us.es.js.map +0 -1
- package/dist/es/config/i18n/zh-cn.es.js.map +0 -1
- package/dist/es/config/index.es.js.map +0 -1
- package/dist/es/core/fluent-editor.es.js.map +0 -1
- package/dist/es/fluent-editor.es.js.map +0 -1
- package/dist/es/formats/emoji.es.js.map +0 -1
- package/dist/es/formats/soft-break.es.js.map +0 -1
- package/dist/es/formats/strike.es.js.map +0 -1
- package/dist/es/formats/video.es.js.map +0 -1
- package/dist/es/modules/ai/constants.es.js.map +0 -1
- package/dist/es/modules/ai/icons.es.js.map +0 -1
- package/dist/es/modules/ai/index.es.js.map +0 -1
- package/dist/es/modules/collaborative-editing/awareness/awareness.es.js.map +0 -1
- package/dist/es/modules/collaborative-editing/awareness/y-indexeddb.es.js.map +0 -1
- package/dist/es/modules/collaborative-editing/collaborative-editing.es.js.map +0 -1
- package/dist/es/modules/collaborative-editing/module.es.js.map +0 -1
- package/dist/es/modules/collaborative-editing/provider/providerRegistry.es.js.map +0 -1
- package/dist/es/modules/collaborative-editing/provider/webrtc.es.js.map +0 -1
- package/dist/es/modules/collaborative-editing/provider/websocket.es.js.map +0 -1
- package/dist/es/modules/counter.es.js.map +0 -1
- package/dist/es/modules/custom-clipboard.es.js.map +0 -1
- package/dist/es/modules/custom-image/actions/action.es.js.map +0 -1
- package/dist/es/modules/custom-image/actions/custom-resize-action.es.js.map +0 -1
- package/dist/es/modules/custom-image/actions/delete-action.es.js.map +0 -1
- package/dist/es/modules/custom-image/blot-formatter.es.js.map +0 -1
- package/dist/es/modules/custom-image/image.es.js.map +0 -1
- package/dist/es/modules/custom-image/options.es.js.map +0 -1
- package/dist/es/modules/custom-image/specs/blot-spec.es.js.map +0 -1
- package/dist/es/modules/custom-image/specs/custom-image-spec.es.js.map +0 -1
- package/dist/es/modules/custom-image/specs/image-spec.es.js.map +0 -1
- package/dist/es/modules/divider.es.js.map +0 -1
- package/dist/es/modules/emoji.es.js.map +0 -1
- package/dist/es/modules/file/formats/file.es.js.map +0 -1
- package/dist/es/modules/file/modules/file-bar.es.js.map +0 -1
- package/dist/es/modules/file/modules/file-module.es.js.map +0 -1
- package/dist/es/modules/link/formats/link.es.js.map +0 -1
- package/dist/es/modules/link/modules/tooltip.es.js.map +0 -1
- package/dist/es/modules/mathlive/formats.es.js.map +0 -1
- package/dist/es/modules/mathlive/tooltip.es.js.map +0 -1
- package/dist/es/modules/mention/constants.es.js.map +0 -1
- package/dist/es/modules/mention/mention-link.es.js.map +0 -1
- package/dist/es/modules/mention/mention.es.js.map +0 -1
- package/dist/es/modules/syntax.es.js.map +0 -1
- package/dist/es/modules/toolbar/better-picker.es.js.map +0 -1
- package/dist/es/themes/snow.es.js.map +0 -1
- package/dist/es/tools/screenshot.es.js.map +0 -1
- package/dist/es/ui/icons.config.es.js.map +0 -1
- package/dist/es/ui/icons.es.js.map +0 -1
- package/dist/es/utils/debounce.es.js.map +0 -1
- package/dist/es/utils/method.es.js.map +0 -1
- package/dist/lib/attributors/line-height.cjs.js.map +0 -1
- package/dist/lib/config/base64-image.cjs.js.map +0 -1
- package/dist/lib/config/editor.config.cjs.js.map +0 -1
- package/dist/lib/config/editor.utils.cjs.js.map +0 -1
- package/dist/lib/config/i18n/en-us.cjs.js.map +0 -1
- package/dist/lib/config/i18n/zh-cn.cjs.js.map +0 -1
- package/dist/lib/config/index.cjs.js.map +0 -1
- package/dist/lib/core/fluent-editor.cjs.js.map +0 -1
- package/dist/lib/fluent-editor.cjs.js.map +0 -1
- package/dist/lib/formats/emoji.cjs.js.map +0 -1
- package/dist/lib/formats/soft-break.cjs.js.map +0 -1
- package/dist/lib/formats/strike.cjs.js.map +0 -1
- package/dist/lib/formats/video.cjs.js.map +0 -1
- package/dist/lib/modules/ai/constants.cjs.js.map +0 -1
- package/dist/lib/modules/ai/icons.cjs.js.map +0 -1
- package/dist/lib/modules/ai/index.cjs.js.map +0 -1
- package/dist/lib/modules/collaborative-editing/awareness/awareness.cjs.js.map +0 -1
- package/dist/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js.map +0 -1
- package/dist/lib/modules/collaborative-editing/collaborative-editing.cjs.js.map +0 -1
- package/dist/lib/modules/collaborative-editing/module.cjs.js.map +0 -1
- package/dist/lib/modules/collaborative-editing/provider/providerRegistry.cjs.js.map +0 -1
- package/dist/lib/modules/collaborative-editing/provider/webrtc.cjs.js.map +0 -1
- package/dist/lib/modules/collaborative-editing/provider/websocket.cjs.js.map +0 -1
- package/dist/lib/modules/counter.cjs.js.map +0 -1
- package/dist/lib/modules/custom-clipboard.cjs.js.map +0 -1
- package/dist/lib/modules/custom-image/actions/action.cjs.js.map +0 -1
- package/dist/lib/modules/custom-image/actions/custom-resize-action.cjs.js.map +0 -1
- package/dist/lib/modules/custom-image/actions/delete-action.cjs.js.map +0 -1
- package/dist/lib/modules/custom-image/blot-formatter.cjs.js.map +0 -1
- package/dist/lib/modules/custom-image/image.cjs.js.map +0 -1
- package/dist/lib/modules/custom-image/options.cjs.js.map +0 -1
- package/dist/lib/modules/custom-image/specs/blot-spec.cjs.js.map +0 -1
- package/dist/lib/modules/custom-image/specs/custom-image-spec.cjs.js.map +0 -1
- package/dist/lib/modules/custom-image/specs/image-spec.cjs.js.map +0 -1
- package/dist/lib/modules/divider.cjs.js.map +0 -1
- package/dist/lib/modules/emoji.cjs.js.map +0 -1
- package/dist/lib/modules/file/formats/file.cjs.js.map +0 -1
- package/dist/lib/modules/file/modules/file-bar.cjs.js.map +0 -1
- package/dist/lib/modules/file/modules/file-module.cjs.js.map +0 -1
- package/dist/lib/modules/link/formats/link.cjs.js.map +0 -1
- package/dist/lib/modules/link/modules/tooltip.cjs.js.map +0 -1
- package/dist/lib/modules/mathlive/formats.cjs.js.map +0 -1
- package/dist/lib/modules/mathlive/tooltip.cjs.js.map +0 -1
- package/dist/lib/modules/mention/constants.cjs.js.map +0 -1
- package/dist/lib/modules/mention/mention-link.cjs.js.map +0 -1
- package/dist/lib/modules/mention/mention.cjs.js.map +0 -1
- package/dist/lib/modules/syntax.cjs.js.map +0 -1
- package/dist/lib/modules/toolbar/better-picker.cjs.js.map +0 -1
- package/dist/lib/themes/snow.cjs.js.map +0 -1
- package/dist/lib/tools/screenshot.cjs.js.map +0 -1
- package/dist/lib/ui/icons.cjs.js.map +0 -1
- package/dist/lib/ui/icons.config.cjs.js.map +0 -1
- package/dist/lib/utils/debounce.cjs.js.map +0 -1
- package/dist/lib/utils/method.cjs.js.map +0 -1
- package/dist/package.json +0 -67
- package/scripts/pre-release.cjs +0 -35
- package/src/assets/ai.scss +0 -451
- package/src/assets/common/config.scss +0 -4
- package/src/assets/common.scss +0 -132
- package/src/assets/counter.scss +0 -16
- package/src/assets/custom-image.scss +0 -19
- package/src/assets/editor.scss +0 -351
- package/src/assets/fileBar.scss +0 -107
- package/src/assets/font.scss +0 -18
- package/src/assets/fullscreen.scss +0 -50
- package/src/assets/iconfont/iconfont.ttf +0 -0
- package/src/assets/iconfont/iconfont.woff +0 -0
- package/src/assets/iconfont/iconfont.woff2 +0 -0
- package/src/assets/imageBar.scss +0 -98
- package/src/assets/lineHeight.scss +0 -15
- package/src/assets/link.scss +0 -120
- package/src/assets/mathlive.scss +0 -40
- package/src/assets/mention.scss +0 -48
- package/src/assets/screenshot.scss +0 -78
- package/src/assets/size.scss +0 -11
- package/src/assets/style.scss +0 -46
- package/src/assets/svgs/align-center.svg +0 -41
- package/src/assets/svgs/align-justify.svg +0 -8
- package/src/assets/svgs/arrow-down.svg +0 -6
- package/src/assets/svgs/background-color.svg +0 -7
- package/src/assets/svgs/clean.svg +0 -8
- package/src/assets/svgs/code-block.svg +0 -5
- package/src/assets/svgs/code.svg +0 -25
- package/src/assets/svgs/color.svg +0 -7
- package/src/assets/svgs/direction-ltr.svg +0 -8
- package/src/assets/svgs/direction-rtl.svg +0 -8
- package/src/assets/svgs/divider.svg +0 -4
- package/src/assets/svgs/emoji.svg +0 -53
- package/src/assets/svgs/file.svg +0 -12
- package/src/assets/svgs/format-painter.svg +0 -10
- package/src/assets/svgs/formula.svg +0 -6
- package/src/assets/svgs/fullscreen.svg +0 -43
- package/src/assets/svgs/image.svg +0 -17
- package/src/assets/svgs/italic.svg +0 -6
- package/src/assets/svgs/link.svg +0 -9
- package/src/assets/svgs/list-bullet.svg +0 -16
- package/src/assets/svgs/list-ordered.svg +0 -18
- package/src/assets/svgs/list-task.svg +0 -5
- package/src/assets/svgs/redo.svg +0 -8
- package/src/assets/svgs/screenshot.svg +0 -17
- package/src/assets/svgs/script-sub.svg +0 -15
- package/src/assets/svgs/script-super.svg +0 -15
- package/src/assets/svgs/strike.svg +0 -6
- package/src/assets/svgs/underline.svg +0 -13
- package/src/assets/svgs/undo.svg +0 -8
- package/src/assets/svgs/video.svg +0 -10
- package/src/assets/tasklist.scss +0 -76
- package/src/assets/toolbar.scss +0 -385
- package/src/assets/variable.scss +0 -9
- package/src/assets/video.scss +0 -5
- package/src/attributors/font-size.ts +0 -6
- package/src/attributors/font-style.ts +0 -6
- package/src/attributors/index.ts +0 -4
- package/src/attributors/line-height.ts +0 -6
- package/src/attributors/text-indent.ts +0 -6
- package/src/config/base64-image.ts +0 -5
- package/src/config/editor.config.ts +0 -86
- package/src/config/editor.utils.ts +0 -193
- package/src/config/i18n/en-us.ts +0 -138
- package/src/config/i18n/zh-cn.ts +0 -137
- package/src/config/index.ts +0 -44
- package/src/config/types/editor-config.interface.ts +0 -16
- package/src/config/types/editor-modules.interface.ts +0 -47
- package/src/config/types/index.ts +0 -3
- package/src/config/types/type.ts +0 -2
- package/src/core/fluent-editor.ts +0 -31
- package/src/fluent-editor.ts +0 -72
- package/src/formats/emoji.ts +0 -10
- package/src/formats/index.ts +0 -4
- package/src/formats/soft-break.ts +0 -27
- package/src/formats/strike.ts +0 -11
- package/src/formats/video.ts +0 -53
- package/src/index.ts +0 -9
- package/src/modules/ai/constants.ts +0 -43
- package/src/modules/ai/icons.ts +0 -333
- package/src/modules/ai/index.ts +0 -850
- package/src/modules/ai/types.ts +0 -18
- package/src/modules/collaborative-editing/awareness/awareness.ts +0 -141
- package/src/modules/collaborative-editing/awareness/index.ts +0 -2
- package/src/modules/collaborative-editing/awareness/y-indexeddb.ts +0 -12
- package/src/modules/collaborative-editing/collaborative-editing.ts +0 -115
- package/src/modules/collaborative-editing/index.ts +0 -2
- package/src/modules/collaborative-editing/module.ts +0 -32
- package/src/modules/collaborative-editing/provider/index.ts +0 -3
- package/src/modules/collaborative-editing/provider/providerRegistry.ts +0 -57
- package/src/modules/collaborative-editing/provider/webrtc.ts +0 -125
- package/src/modules/collaborative-editing/provider/websocket.ts +0 -142
- package/src/modules/collaborative-editing/types.ts +0 -44
- package/src/modules/counter.ts +0 -84
- package/src/modules/custom-clipboard.ts +0 -537
- package/src/modules/custom-image/actions/action.ts +0 -15
- package/src/modules/custom-image/actions/custom-resize-action.ts +0 -207
- package/src/modules/custom-image/actions/delete-action.ts +0 -32
- package/src/modules/custom-image/actions/image-toolbar-buttons.ts +0 -135
- package/src/modules/custom-image/actions/index.ts +0 -6
- package/src/modules/custom-image/actions/toolbar-action.ts +0 -32
- package/src/modules/custom-image/actions/toolbar.ts +0 -145
- package/src/modules/custom-image/blot-formatter.ts +0 -158
- package/src/modules/custom-image/image.ts +0 -132
- package/src/modules/custom-image/index.ts +0 -4
- package/src/modules/custom-image/options.ts +0 -139
- package/src/modules/custom-image/specs/blot-spec.ts +0 -30
- package/src/modules/custom-image/specs/custom-image-spec.ts +0 -131
- package/src/modules/custom-image/specs/image-spec.ts +0 -28
- package/src/modules/custom-image/specs/index.ts +0 -3
- package/src/modules/custom-uploader.ts +0 -101
- package/src/modules/divider.ts +0 -15
- package/src/modules/emoji.ts +0 -230
- package/src/modules/file/formats/file.ts +0 -61
- package/src/modules/file/index.ts +0 -3
- package/src/modules/file/modules/file-bar.ts +0 -146
- package/src/modules/file/modules/file-module.ts +0 -33
- package/src/modules/i18n.ts +0 -66
- package/src/modules/index.ts +0 -16
- package/src/modules/link/formats/link.ts +0 -43
- package/src/modules/link/index.ts +0 -2
- package/src/modules/link/modules/tooltip.ts +0 -341
- package/src/modules/mathlive/formats.ts +0 -39
- package/src/modules/mathlive/index.ts +0 -3
- package/src/modules/mathlive/module.ts +0 -37
- package/src/modules/mathlive/tooltip.ts +0 -87
- package/src/modules/mention/constants.ts +0 -3
- package/src/modules/mention/index.ts +0 -2
- package/src/modules/mention/mention-link.ts +0 -64
- package/src/modules/mention/mention.ts +0 -404
- package/src/modules/shortcut-key/index.ts +0 -237
- package/src/modules/syntax.ts +0 -35
- package/src/modules/table-up/index.ts +0 -83
- package/src/modules/toolbar/better-picker.ts +0 -67
- package/src/modules/toolbar/better-toolbar.ts +0 -176
- package/src/modules/toolbar/index.ts +0 -3
- package/src/modules/toolbar/toolbar-tip.ts +0 -142
- package/src/themes/snow.ts +0 -309
- package/src/tools/format-painter.ts +0 -85
- package/src/tools/fullscreen.ts +0 -66
- package/src/tools/screenshot.ts +0 -231
- package/src/ui/icons.config.ts +0 -361
- package/src/ui/icons.ts +0 -89
- package/src/utils/debounce.ts +0 -150
- package/src/utils/image.ts +0 -22
- package/src/utils/is.ts +0 -9
- package/src/utils/method.ts +0 -77
- package/src/utils/scroll-lock.ts +0 -52
- package/tsconfig.json +0 -25
- package/vite.config.ts +0 -83
- /package/{dist/es → es}/attributors/font-size.es.js +0 -0
- /package/{dist/es → es}/attributors/font-size.es.js.map +0 -0
- /package/{dist/es → es}/attributors/font-style.es.js +0 -0
- /package/{dist/es → es}/attributors/font-style.es.js.map +0 -0
- /package/{dist/es → es}/attributors/index.es.js +0 -0
- /package/{dist/es → es}/attributors/index.es.js.map +0 -0
- /package/{dist/es → es}/attributors/line-height.es.js +0 -0
- /package/{dist/es → es}/attributors/text-indent.es.js +0 -0
- /package/{dist/es → es}/attributors/text-indent.es.js.map +0 -0
- /package/{dist/es → es}/config/base64-image.es.js +0 -0
- /package/{dist/es → es}/config/editor.config.es.js +0 -0
- /package/{dist/es → es}/config/editor.utils.es.js +0 -0
- /package/{dist/es → es}/config/i18n/en-us.es.js +0 -0
- /package/{dist/es → es}/config/i18n/zh-cn.es.js +0 -0
- /package/{dist/es → es}/config/index.es.js +0 -0
- /package/{dist/es → es}/config/types/editor-config.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/editor-config.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/editor-modules.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/editor-modules.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/index.es.js +0 -0
- /package/{dist/es → es}/config/types/index.es.js.map +0 -0
- /package/{dist/es → es}/config/types/type.es.js +0 -0
- /package/{dist/es → es}/config/types/type.es.js.map +0 -0
- /package/{dist/es → es}/core/fluent-editor.es.js +0 -0
- /package/{dist/es → es}/fluent-editor.es.js +0 -0
- /package/{dist/es → es}/formats/emoji.es.js +0 -0
- /package/{dist/es → es}/formats/index.es.js +0 -0
- /package/{dist/es → es}/formats/index.es.js.map +0 -0
- /package/{dist/es → es}/formats/soft-break.es.js +0 -0
- /package/{dist/es → es}/formats/strike.es.js +0 -0
- /package/{dist/es → es}/formats/video.es.js +0 -0
- /package/{dist/es → es}/index.es.js +0 -0
- /package/{dist/es → es}/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/ai/constants.es.js +0 -0
- /package/{dist/es → es}/modules/ai/icons.es.js +0 -0
- /package/{dist/es → es}/modules/ai/index.es.js +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/awareness/awareness.es.js +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/awareness/index.es.js +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/awareness/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/awareness/y-indexeddb.es.js +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/collaborative-editing.es.js +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/index.es.js +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/module.es.js +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/provider/providerRegistry.es.js +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/provider/webrtc.es.js +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/provider/websocket.es.js +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/types.es.js +0 -0
- /package/{dist/es → es}/modules/collaborative-editing/types.es.js.map +0 -0
- /package/{dist/es → es}/modules/counter.es.js +0 -0
- /package/{dist/es → es}/modules/custom-clipboard.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/actions/action.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/actions/custom-resize-action.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/actions/delete-action.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/actions/image-toolbar-buttons.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/actions/image-toolbar-buttons.es.js.map +0 -0
- /package/{dist/es → es}/modules/custom-image/actions/index.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/actions/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/custom-image/actions/toolbar-action.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/actions/toolbar-action.es.js.map +0 -0
- /package/{dist/es → es}/modules/custom-image/actions/toolbar.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/actions/toolbar.es.js.map +0 -0
- /package/{dist/es → es}/modules/custom-image/blot-formatter.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/image.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/index.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/custom-image/options.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/specs/blot-spec.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/specs/custom-image-spec.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/specs/image-spec.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/specs/index.es.js +0 -0
- /package/{dist/es → es}/modules/custom-image/specs/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/custom-uploader.es.js +0 -0
- /package/{dist/es → es}/modules/custom-uploader.es.js.map +0 -0
- /package/{dist/es → es}/modules/divider.es.js +0 -0
- /package/{dist/es → es}/modules/emoji.es.js +0 -0
- /package/{dist/es → es}/modules/file/formats/file.es.js +0 -0
- /package/{dist/es → es}/modules/file/index.es.js +0 -0
- /package/{dist/es → es}/modules/file/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/file/modules/file-bar.es.js +0 -0
- /package/{dist/es → es}/modules/file/modules/file-module.es.js +0 -0
- /package/{dist/es → es}/modules/i18n.es.js +0 -0
- /package/{dist/es → es}/modules/i18n.es.js.map +0 -0
- /package/{dist/es → es}/modules/index.es.js +0 -0
- /package/{dist/es → es}/modules/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/link/formats/link.es.js +0 -0
- /package/{dist/es → es}/modules/link/index.es.js +0 -0
- /package/{dist/es → es}/modules/link/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/link/modules/tooltip.es.js +0 -0
- /package/{dist/es → es}/modules/mathlive/formats.es.js +0 -0
- /package/{dist/es → es}/modules/mathlive/index.es.js +0 -0
- /package/{dist/es → es}/modules/mathlive/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/mathlive/module.es.js +0 -0
- /package/{dist/es → es}/modules/mathlive/module.es.js.map +0 -0
- /package/{dist/es → es}/modules/mathlive/tooltip.es.js +0 -0
- /package/{dist/es → es}/modules/mention/constants.es.js +0 -0
- /package/{dist/es → es}/modules/mention/index.es.js +0 -0
- /package/{dist/es → es}/modules/mention/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/mention/mention-link.es.js +0 -0
- /package/{dist/es → es}/modules/mention/mention.es.js +0 -0
- /package/{dist/es → es}/modules/shortcut-key/index.es.js +0 -0
- /package/{dist/es → es}/modules/shortcut-key/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/syntax.es.js +0 -0
- /package/{dist/es → es}/modules/table-up/index.es.js +0 -0
- /package/{dist/es → es}/modules/table-up/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/toolbar/better-picker.es.js +0 -0
- /package/{dist/es → es}/modules/toolbar/better-toolbar.es.js +0 -0
- /package/{dist/es → es}/modules/toolbar/better-toolbar.es.js.map +0 -0
- /package/{dist/es → es}/modules/toolbar/index.es.js +0 -0
- /package/{dist/es → es}/modules/toolbar/index.es.js.map +0 -0
- /package/{dist/es → es}/modules/toolbar/toolbar-tip.es.js +0 -0
- /package/{dist/es → es}/modules/toolbar/toolbar-tip.es.js.map +0 -0
- /package/{dist/es → es}/themes/snow.es.js +0 -0
- /package/{dist/es → es}/tools/format-painter.es.js +0 -0
- /package/{dist/es → es}/tools/format-painter.es.js.map +0 -0
- /package/{dist/es → es}/tools/fullscreen.es.js +0 -0
- /package/{dist/es → es}/tools/fullscreen.es.js.map +0 -0
- /package/{dist/es → es}/tools/screenshot.es.js +0 -0
- /package/{dist/es → es}/ui/icons.config.es.js +0 -0
- /package/{dist/es → es}/ui/icons.es.js +0 -0
- /package/{dist/es → es}/utils/debounce.es.js +0 -0
- /package/{dist/es → es}/utils/image.es.js +0 -0
- /package/{dist/es → es}/utils/image.es.js.map +0 -0
- /package/{dist/es → es}/utils/is.es.js +0 -0
- /package/{dist/es → es}/utils/is.es.js.map +0 -0
- /package/{dist/es → es}/utils/method.es.js +0 -0
- /package/{dist/es → es}/utils/scroll-lock.es.js +0 -0
- /package/{dist/es → es}/utils/scroll-lock.es.js.map +0 -0
- /package/{dist/lib → lib}/attributors/font-size.cjs.js +0 -0
- /package/{dist/lib → lib}/attributors/font-size.cjs.js.map +0 -0
- /package/{dist/lib → lib}/attributors/font-style.cjs.js +0 -0
- /package/{dist/lib → lib}/attributors/font-style.cjs.js.map +0 -0
- /package/{dist/lib → lib}/attributors/index.cjs.js +0 -0
- /package/{dist/lib → lib}/attributors/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/attributors/line-height.cjs.js +0 -0
- /package/{dist/lib → lib}/attributors/text-indent.cjs.js +0 -0
- /package/{dist/lib → lib}/attributors/text-indent.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/base64-image.cjs.js +0 -0
- /package/{dist/lib → lib}/config/editor.config.cjs.js +0 -0
- /package/{dist/lib → lib}/config/editor.utils.cjs.js +0 -0
- /package/{dist/lib → lib}/config/i18n/en-us.cjs.js +0 -0
- /package/{dist/lib → lib}/config/i18n/zh-cn.cjs.js +0 -0
- /package/{dist/lib → lib}/config/index.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/editor-config.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/editor-config.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/editor-modules.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/editor-modules.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/index.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/type.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/type.cjs.js.map +0 -0
- /package/{dist/lib → lib}/core/fluent-editor.cjs.js +0 -0
- /package/{dist/lib → lib}/fluent-editor.cjs.js +0 -0
- /package/{dist/lib → lib}/formats/emoji.cjs.js +0 -0
- /package/{dist/lib → lib}/formats/index.cjs.js +0 -0
- /package/{dist/lib → lib}/formats/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/formats/soft-break.cjs.js +0 -0
- /package/{dist/lib → lib}/formats/strike.cjs.js +0 -0
- /package/{dist/lib → lib}/formats/video.cjs.js +0 -0
- /package/{dist/lib → lib}/index.cjs.js +0 -0
- /package/{dist/lib → lib}/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/ai/constants.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/ai/icons.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/ai/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/awareness/awareness.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/awareness/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/awareness/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/awareness/y-indexeddb.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/collaborative-editing.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/module.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/provider/providerRegistry.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/provider/webrtc.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/provider/websocket.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/types.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/collaborative-editing/types.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/counter.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-clipboard.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/actions/action.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/actions/custom-resize-action.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/actions/delete-action.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/actions/image-toolbar-buttons.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/actions/image-toolbar-buttons.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/custom-image/actions/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/actions/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/custom-image/actions/toolbar-action.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/actions/toolbar-action.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/custom-image/actions/toolbar.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/actions/toolbar.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/custom-image/blot-formatter.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/image.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/custom-image/options.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/specs/blot-spec.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/specs/custom-image-spec.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/specs/image-spec.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/specs/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-image/specs/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/custom-uploader.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/custom-uploader.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/divider.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/emoji.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/file/formats/file.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/file/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/file/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/file/modules/file-bar.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/file/modules/file-module.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/i18n.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/i18n.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/link/formats/link.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/link/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/link/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/link/modules/tooltip.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/mathlive/formats.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/mathlive/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/mathlive/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/mathlive/module.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/mathlive/module.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/mathlive/tooltip.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/mention/constants.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/mention/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/mention/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/mention/mention-link.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/mention/mention.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/shortcut-key/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/shortcut-key/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/syntax.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/table-up/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/table-up/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/toolbar/better-picker.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/toolbar/better-toolbar.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/toolbar/better-toolbar.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/toolbar/index.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/toolbar/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/modules/toolbar/toolbar-tip.cjs.js +0 -0
- /package/{dist/lib → lib}/modules/toolbar/toolbar-tip.cjs.js.map +0 -0
- /package/{dist/lib → lib}/themes/snow.cjs.js +0 -0
- /package/{dist/lib → lib}/tools/format-painter.cjs.js +0 -0
- /package/{dist/lib → lib}/tools/format-painter.cjs.js.map +0 -0
- /package/{dist/lib → lib}/tools/fullscreen.cjs.js +0 -0
- /package/{dist/lib → lib}/tools/fullscreen.cjs.js.map +0 -0
- /package/{dist/lib → lib}/tools/screenshot.cjs.js +0 -0
- /package/{dist/lib → lib}/ui/icons.cjs.js +0 -0
- /package/{dist/lib → lib}/ui/icons.config.cjs.js +0 -0
- /package/{dist/lib → lib}/utils/debounce.cjs.js +0 -0
- /package/{dist/lib → lib}/utils/image.cjs.js +0 -0
- /package/{dist/lib → lib}/utils/image.cjs.js.map +0 -0
- /package/{dist/lib → lib}/utils/is.cjs.js +0 -0
- /package/{dist/lib → lib}/utils/is.cjs.js.map +0 -0
- /package/{dist/lib → lib}/utils/method.cjs.js +0 -0
- /package/{dist/lib → lib}/utils/scroll-lock.cjs.js +0 -0
- /package/{dist/lib → lib}/utils/scroll-lock.cjs.js.map +0 -0
- /package/{dist/style.css → style.css} +0 -0
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
export declare function hexToRgbA(hex: string): string;
|
|
2
|
-
/**
|
|
3
|
-
* 将File格式的图片转换成Url格式
|
|
4
|
-
* @param imageFile File格式的图片
|
|
5
|
-
*/
|
|
6
|
-
export declare function imageFileToUrl(imageFile: any): Promise<unknown>;
|
|
7
|
-
/**
|
|
8
|
-
* 将Url格式的图片转换成File格式
|
|
9
|
-
* @param imageUrl 图片的URL
|
|
10
|
-
*/
|
|
11
|
-
export declare function imageUrlToFile(imageUrl: any, isErrorImage?: boolean): Promise<unknown>;
|
|
12
|
-
export declare function isNullOrUndefined(param: any): boolean;
|
|
13
|
-
/**
|
|
14
|
-
* omit
|
|
15
|
-
* @param obj target Object
|
|
16
|
-
* @param uselessKeys keys of removed properties
|
|
17
|
-
* @return new Object without useless properties
|
|
18
|
-
*/
|
|
19
|
-
export declare function omit(obj: any, uselessKeys: any): {};
|
|
20
|
-
/**
|
|
21
|
-
* 将delta中的图片替换成制定的图片数组,用于图片上传到服务器的场景
|
|
22
|
-
* @param delta 原始delta
|
|
23
|
-
* @param imageUrls 图片数组
|
|
24
|
-
* @param imagePlaceholder 标识是否是占位图的数组,与图片数组一一对应
|
|
25
|
-
* @return 替换之后的delta
|
|
26
|
-
*/
|
|
27
|
-
export declare function replaceDeltaImage(delta: any, imageUrls: any, imagePlaceholder: any): any;
|
|
28
|
-
export declare function splitWithBreak(insertContent: string): any[];
|
|
29
|
-
/**
|
|
30
|
-
* getEventComposedPath
|
|
31
|
-
* compatibility fixed for Event.path/Event.composedPath
|
|
32
|
-
* Event.path is only for chrome/opera
|
|
33
|
-
* Event.composedPath is for Safari, FF
|
|
34
|
-
* Neither for Micro Edge
|
|
35
|
-
* @return an array of event.path
|
|
36
|
-
*/
|
|
37
|
-
export declare function getEventComposedPath(evt: any): any;
|
|
38
|
-
export declare function sanitize(url: any, protocols: any): any;
|
|
39
|
-
export declare function hadProtocol(url: string): boolean;
|
|
40
|
-
export declare function isInside(position: any, dom: any): boolean;
|
|
1
|
+
export declare function hexToRgbA(hex: string): string;
|
|
2
|
+
/**
|
|
3
|
+
* 将File格式的图片转换成Url格式
|
|
4
|
+
* @param imageFile File格式的图片
|
|
5
|
+
*/
|
|
6
|
+
export declare function imageFileToUrl(imageFile: any): Promise<unknown>;
|
|
7
|
+
/**
|
|
8
|
+
* 将Url格式的图片转换成File格式
|
|
9
|
+
* @param imageUrl 图片的URL
|
|
10
|
+
*/
|
|
11
|
+
export declare function imageUrlToFile(imageUrl: any, isErrorImage?: boolean): Promise<unknown>;
|
|
12
|
+
export declare function isNullOrUndefined(param: any): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* omit
|
|
15
|
+
* @param obj target Object
|
|
16
|
+
* @param uselessKeys keys of removed properties
|
|
17
|
+
* @return new Object without useless properties
|
|
18
|
+
*/
|
|
19
|
+
export declare function omit(obj: any, uselessKeys: any): {};
|
|
20
|
+
/**
|
|
21
|
+
* 将delta中的图片替换成制定的图片数组,用于图片上传到服务器的场景
|
|
22
|
+
* @param delta 原始delta
|
|
23
|
+
* @param imageUrls 图片数组
|
|
24
|
+
* @param imagePlaceholder 标识是否是占位图的数组,与图片数组一一对应
|
|
25
|
+
* @return 替换之后的delta
|
|
26
|
+
*/
|
|
27
|
+
export declare function replaceDeltaImage(delta: any, imageUrls: any, imagePlaceholder: any): any;
|
|
28
|
+
export declare function splitWithBreak(insertContent: string): any[];
|
|
29
|
+
/**
|
|
30
|
+
* getEventComposedPath
|
|
31
|
+
* compatibility fixed for Event.path/Event.composedPath
|
|
32
|
+
* Event.path is only for chrome/opera
|
|
33
|
+
* Event.composedPath is for Safari, FF
|
|
34
|
+
* Neither for Micro Edge
|
|
35
|
+
* @return an array of event.path
|
|
36
|
+
*/
|
|
37
|
+
export declare function getEventComposedPath(evt: any): any;
|
|
38
|
+
export declare function sanitize(url: any, protocols: any): any;
|
|
39
|
+
export declare function hadProtocol(url: string): boolean;
|
|
40
|
+
export declare function isInside(position: any, dom: any): boolean;
|
|
@@ -1,123 +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
|
-
'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
|
+
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,123 +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
|
-
'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
|
-
};
|
|
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
|
+
};
|
|
@@ -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,14 +1,15 @@
|
|
|
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
|
-
}
|
|
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
|
+
}
|