@opentiny/fluent-editor 3.20.2 → 3.20.4-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/es → es}/config/editor.utils.es.js +7 -0
- package/{dist/es → es}/config/editor.utils.es.js.map +1 -1
- package/{dist/es → es}/config/icons.config.es.js +6 -0
- package/{dist/es → es}/config/icons.config.es.js.map +1 -1
- package/{dist/es → es}/config/index.es.js +6 -3
- package/es/config/index.es.js.map +1 -0
- package/es/config/types/editor-toolbar.interface.es.js +2 -0
- package/es/config/types/editor-toolbar.interface.es.js.map +1 -0
- package/{dist/es → es}/config/types/index.es.js +1 -0
- package/{dist/es → es}/config/types/index.es.js.map +1 -1
- package/{dist/es → es}/custom-image/BlotFormatter.es.js +0 -1
- package/es/custom-image/BlotFormatter.es.js.map +1 -0
- package/{dist/es → es}/fluent-editor.es.js +7 -6
- package/es/fluent-editor.es.js.map +1 -0
- package/es/fullscreen/handler.es.js +51 -0
- package/es/fullscreen/handler.es.js.map +1 -0
- package/{dist/es → es}/index.es.js +3 -2
- package/{dist/es → es}/link/formats/link.es.js +11 -6
- package/es/link/formats/link.es.js.map +1 -0
- package/{dist/es → es}/link/index.es.js +3 -3
- package/es/link/index.es.js.map +1 -0
- package/{dist/es → es}/link/modules/tooltip.es.js +22 -7
- package/es/link/modules/tooltip.es.js.map +1 -0
- package/{dist/lib → lib}/config/editor.utils.cjs.js +7 -0
- package/{dist/lib → lib}/config/editor.utils.cjs.js.map +1 -1
- package/{dist/lib → lib}/config/icons.config.cjs.js +6 -0
- package/{dist/lib → lib}/config/icons.config.cjs.js.map +1 -1
- package/{dist/lib → lib}/config/index.cjs.js +4 -1
- package/lib/config/index.cjs.js.map +1 -0
- package/lib/config/types/editor-toolbar.interface.cjs.js +2 -0
- package/lib/config/types/editor-toolbar.interface.cjs.js.map +1 -0
- package/{dist/lib → lib}/config/types/index.cjs.js +1 -0
- package/{dist/lib → lib}/config/types/index.cjs.js.map +1 -1
- package/{dist/lib → lib}/custom-image/BlotFormatter.cjs.js +0 -1
- package/lib/custom-image/BlotFormatter.cjs.js.map +1 -0
- package/{dist/lib → lib}/fluent-editor.cjs.js +7 -6
- package/lib/fluent-editor.cjs.js.map +1 -0
- package/lib/fullscreen/handler.cjs.js +51 -0
- package/lib/fullscreen/handler.cjs.js.map +1 -0
- package/{dist/lib → lib}/index.cjs.js +1 -0
- package/{dist/lib → lib}/index.cjs.js.map +1 -1
- package/{dist/lib → lib}/link/formats/link.cjs.js +10 -5
- package/lib/link/formats/link.cjs.js.map +1 -0
- package/{dist/lib → lib}/link/index.cjs.js +3 -3
- package/lib/link/index.cjs.js.map +1 -0
- package/{dist/lib → lib}/link/modules/tooltip.cjs.js +24 -9
- package/lib/link/modules/tooltip.cjs.js.map +1 -0
- package/package.json +6 -4
- package/{dist/style.css → style.css} +28 -0
- package/types/attributors/index.d.ts +4 -0
- package/types/config/base64-image.d.ts +3 -0
- package/types/config/editor.config.d.ts +95 -0
- package/types/config/editor.utils.d.ts +42 -0
- package/types/config/i18n/en-us.d.ts +86 -0
- package/types/config/i18n/zh-cn.d.ts +86 -0
- package/types/config/icons.config.d.ts +34 -0
- package/types/config/index.d.ts +49 -0
- package/types/config/types/additional-toolbar-item.interface.d.ts +8 -0
- package/types/config/types/content-change.interface.d.ts +13 -0
- package/types/config/types/content-save.interface.d.ts +6 -0
- package/types/config/types/counter-option.interface.d.ts +9 -0
- package/types/config/types/editor-config.interface.d.ts +21 -0
- package/types/config/types/editor-modules.interface.d.ts +31 -0
- package/types/config/types/editor-toolbar.interface.d.ts +6 -0
- package/types/config/types/file-operation.interface.d.ts +12 -0
- package/types/config/types/focus-change.interface.d.ts +4 -0
- package/types/config/types/fullscreen-module.interface.d.ts +4 -0
- package/types/config/types/help-panel-item.interface.d.ts +5 -0
- package/types/config/types/help-panel-option.interface.d.ts +7 -0
- package/{src/config/types/image-module.interface.ts → types/config/types/image-module.interface.d.ts} +1 -1
- package/types/config/types/image-upload.interface.d.ts +7 -0
- package/types/config/types/index.d.ts +23 -0
- package/types/config/types/load-on-demand-module.interface.d.ts +5 -0
- package/types/config/types/mention-module.interface.d.ts +8 -0
- package/types/config/types/paste-change.interface.d.ts +6 -0
- package/{src/config/types/quick-menu-module.interface.ts → types/config/types/quick-menu-module.interface.d.ts} +1 -1
- package/types/config/types/range.interface.d.ts +4 -0
- package/types/config/types/registry-options.interface.d.ts +5 -0
- package/types/config/types/selection-change.interface.d.ts +8 -0
- package/types/config/types/toolbar-item.interface.d.ts +13 -0
- package/types/config/types/type.d.ts +5 -0
- package/types/config/types/validate-error.interface.d.ts +13 -0
- package/types/counter/index.d.ts +12 -0
- package/types/custom-clipboard.d.ts +26 -0
- package/types/custom-image/BlotFormatter.d.ts +24 -0
- package/types/custom-image/Options.d.ts +36 -0
- package/types/custom-image/actions/Action.d.ts +7 -0
- package/types/custom-image/actions/CustomResizeAction.d.ts +24 -0
- package/types/custom-image/actions/DeleteAction.d.ts +7 -0
- package/types/custom-image/image.d.ts +28 -0
- package/types/custom-image/specs/BlotSpec.d.ts +13 -0
- package/types/custom-image/specs/CustomImageSpec.d.ts +21 -0
- package/types/custom-image/specs/ImageSpec.d.ts +10 -0
- package/types/custom-uploader.d.ts +30 -0
- package/types/emoji/emoji-list/index.d.ts +1 -0
- package/types/emoji/emoji-list/people.d.ts +1 -0
- package/types/emoji/emoji-list.d.ts +2 -0
- package/types/emoji/emoji-map.d.ts +2 -0
- package/types/emoji/formats/emoji-blot.d.ts +13 -0
- package/types/emoji/index.d.ts +10 -0
- package/types/emoji/modules/emoji.d.ts +38 -0
- package/types/emoji/modules/toolbar-emoji.d.ts +8 -0
- package/types/emoji/utils.d.ts +1 -0
- package/types/file/formats/file.d.ts +15 -0
- package/types/file/index.d.ts +11 -0
- package/types/file/modules/file-bar.d.ts +14 -0
- package/types/fluent-editor.d.ts +9 -0
- package/types/format-painter/index.d.ts +15 -0
- package/types/fullscreen/handler.d.ts +3 -0
- package/types/global-link/constants.d.ts +3 -0
- package/types/global-link/formats/customer-widget-link.d.ts +14 -0
- package/types/global-link/formats/doc-link.d.ts +17 -0
- package/types/global-link/formats/wiki-link.d.ts +16 -0
- package/types/global-link/formats/work-item-link.d.ts +16 -0
- package/types/global-link/global-link-panel.d.ts +19 -0
- package/types/global-link/index.d.ts +18 -0
- package/types/global-link/utils/createTable.d.ts +1 -0
- package/types/index.d.ts +4 -0
- package/types/link/formats/link.d.ts +16 -0
- package/types/link/index.d.ts +6 -0
- package/types/link/modules/tooltip.d.ts +32 -0
- package/types/mention/Mention.d.ts +56 -0
- package/types/mention/MentionLink.d.ts +18 -0
- package/types/mention/constants.d.ts +3 -0
- package/types/quick-menu/index.d.ts +22 -0
- package/types/screenshot/index.d.ts +20 -0
- package/types/soft-break/index.d.ts +14 -0
- package/types/strike/index.d.ts +7 -0
- package/types/syntax/index.d.ts +14 -0
- package/types/table/better-table.d.ts +27 -0
- package/types/table/formats/header.d.ts +22 -0
- package/types/table/formats/list.d.ts +34 -0
- package/types/table/formats/table.d.ts +147 -0
- package/types/table/modules/table-column-tool.d.ts +23 -0
- package/types/table/modules/table-operation-menu.d.ts +32 -0
- package/types/table/modules/table-scroll-bar.d.ts +33 -0
- package/types/table/modules/table-selection.d.ts +37 -0
- package/types/table/table-config.d.ts +38 -0
- package/types/table/utils/index.d.ts +17 -0
- package/types/table/utils/node-matchers.d.ts +9 -0
- package/types/toolbar/better-picker.d.ts +1 -0
- package/types/toolbar/index.d.ts +8 -0
- package/types/utils/debounce.d.ts +6 -0
- package/types/utils/image.d.ts +1 -0
- package/types/utils/method.d.ts +7 -0
- package/types/utils/scroll-lock.d.ts +6 -0
- package/types/video/index.d.ts +16 -0
- package/dist/es/config/index.es.js.map +0 -1
- package/dist/es/custom-image/BlotFormatter.es.js.map +0 -1
- package/dist/es/fluent-editor.es.js.map +0 -1
- package/dist/es/link/formats/link.es.js.map +0 -1
- package/dist/es/link/index.es.js.map +0 -1
- package/dist/es/link/modules/tooltip.es.js.map +0 -1
- package/dist/lib/config/index.cjs.js.map +0 -1
- package/dist/lib/custom-image/BlotFormatter.cjs.js.map +0 -1
- package/dist/lib/fluent-editor.cjs.js.map +0 -1
- package/dist/lib/link/formats/link.cjs.js.map +0 -1
- package/dist/lib/link/index.cjs.js.map +0 -1
- package/dist/lib/link/modules/tooltip.cjs.js.map +0 -1
- package/dist/package.json +0 -52
- package/scripts/pre-release.js +0 -34
- package/src/assets/better-table.scss +0 -367
- package/src/assets/common.scss +0 -279
- package/src/assets/counter.scss +0 -19
- package/src/assets/custom-image.scss +0 -20
- package/src/assets/editor.scss +0 -365
- package/src/assets/emoji/emoji.scss +0 -461
- package/src/assets/emoji/style.scss +0 -252
- package/src/assets/fileBar.scss +0 -116
- package/src/assets/font.scss +0 -36
- package/src/assets/fullscreen.scss +0 -21
- 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/image1.png +0 -0
- package/src/assets/lineHeight.scss +0 -16
- package/src/assets/link.scss +0 -130
- package/src/assets/mention.scss +0 -48
- package/src/assets/screenshot.scss +0 -78
- package/src/assets/size.scss +0 -13
- package/src/assets/style.scss +0 -39
- package/src/assets/tasklist.scss +0 -76
- package/src/assets/toolbar.scss +0 -416
- 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 -8
- package/src/config/editor.config.ts +0 -88
- package/src/config/editor.utils.ts +0 -199
- package/src/config/i18n/en-us.ts +0 -106
- package/src/config/i18n/zh-cn.ts +0 -104
- package/src/config/icons.config.ts +0 -297
- package/src/config/index.ts +0 -171
- package/src/config/types/additional-toolbar-item.interface.ts +0 -8
- package/src/config/types/content-change.interface.ts +0 -13
- package/src/config/types/content-save.interface.ts +0 -6
- package/src/config/types/counter-option.interface.ts +0 -9
- package/src/config/types/editor-config.interface.ts +0 -22
- package/src/config/types/editor-modules.interface.ts +0 -41
- package/src/config/types/file-operation.interface.ts +0 -12
- package/src/config/types/focus-change.interface.ts +0 -4
- package/src/config/types/fullscreen-module.interface.ts +0 -4
- package/src/config/types/help-panel-item.interface.ts +0 -5
- package/src/config/types/help-panel-option.interface.ts +0 -7
- package/src/config/types/image-upload.interface.ts +0 -7
- package/src/config/types/index.ts +0 -22
- package/src/config/types/load-on-demand-module.interface.ts +0 -5
- package/src/config/types/mention-module.interface.ts +0 -8
- package/src/config/types/paste-change.interface.ts +0 -6
- package/src/config/types/range.interface.ts +0 -4
- package/src/config/types/registry-options.interface.ts +0 -5
- package/src/config/types/selection-change.interface.ts +0 -8
- package/src/config/types/toolbar-item.interface.ts +0 -13
- package/src/config/types/type.ts +0 -5
- package/src/config/types/validate-error.interface.ts +0 -11
- package/src/counter/index.ts +0 -69
- package/src/custom-clipboard.ts +0 -633
- package/src/custom-image/BlotFormatter.ts +0 -167
- package/src/custom-image/Options.ts +0 -150
- package/src/custom-image/actions/Action.ts +0 -13
- package/src/custom-image/actions/CustomResizeAction.ts +0 -207
- package/src/custom-image/actions/DeleteAction.ts +0 -29
- package/src/custom-image/image.ts +0 -118
- package/src/custom-image/specs/BlotSpec.ts +0 -30
- package/src/custom-image/specs/CustomImageSpec.ts +0 -139
- package/src/custom-image/specs/ImageSpec.ts +0 -33
- package/src/custom-uploader.ts +0 -199
- package/src/emoji/emoji-list/index.ts +0 -1
- package/src/emoji/emoji-list/people.ts +0 -111
- package/src/emoji/emoji-list.ts +0 -9
- package/src/emoji/emoji-map.ts +0 -9
- package/src/emoji/formats/emoji-blot.ts +0 -54
- package/src/emoji/index.ts +0 -5
- package/src/emoji/modules/emoji.ts +0 -318
- package/src/emoji/modules/toolbar-emoji.ts +0 -182
- package/src/emoji/utils.ts +0 -15
- package/src/file/formats/file.ts +0 -67
- package/src/file/index.ts +0 -38
- package/src/file/modules/file-bar.ts +0 -146
- package/src/fluent-editor.ts +0 -164
- package/src/format-painter/index.ts +0 -79
- package/src/global-link/constants.ts +0 -3
- package/src/global-link/formats/customer-widget-link.ts +0 -36
- package/src/global-link/formats/doc-link.ts +0 -55
- package/src/global-link/formats/wiki-link.ts +0 -45
- package/src/global-link/formats/work-item-link.ts +0 -47
- package/src/global-link/global-link-panel.ts +0 -20
- package/src/global-link/index.ts +0 -165
- package/src/global-link/utils/createTable.ts +0 -54
- package/src/index.ts +0 -5
- package/src/link/formats/link.ts +0 -44
- package/src/link/index.ts +0 -35
- package/src/link/modules/tooltip.ts +0 -318
- package/src/mention/Mention.ts +0 -406
- package/src/mention/MentionLink.ts +0 -51
- package/src/mention/constants.ts +0 -3
- package/src/quick-menu/index.ts +0 -100
- package/src/screenshot/index.ts +0 -231
- package/src/soft-break/index.ts +0 -34
- package/src/strike/index.ts +0 -16
- package/src/syntax/index.ts +0 -35
- package/src/table/better-table.ts +0 -553
- package/src/table/formats/header.ts +0 -129
- package/src/table/formats/list.ts +0 -229
- package/src/table/formats/table.ts +0 -1272
- package/src/table/modules/table-column-tool.ts +0 -492
- package/src/table/modules/table-operation-menu.ts +0 -584
- package/src/table/modules/table-scroll-bar.ts +0 -248
- package/src/table/modules/table-selection.ts +0 -387
- package/src/table/table-config.ts +0 -42
- package/src/table/utils/index.ts +0 -62
- package/src/table/utils/node-matchers.ts +0 -359
- package/src/toolbar/better-picker.ts +0 -370
- package/src/toolbar/index.ts +0 -180
- package/src/utils/debounce.ts +0 -149
- package/src/utils/image.ts +0 -22
- package/src/utils/method.ts +0 -82
- package/src/utils/scroll-lock.ts +0 -52
- package/src/video/index.ts +0 -62
- package/tsconfig.json +0 -26
- package/vite.config.theme.ts +0 -20
- package/vite.config.ts +0 -56
- /package/{dist/README.md → README.md} +0 -0
- /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/line-height.es.js.map +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/base64-image.es.js.map +0 -0
- /package/{dist/es → es}/config/editor.config.es.js +0 -0
- /package/{dist/es → es}/config/editor.config.es.js.map +0 -0
- /package/{dist/es → es}/config/i18n/en-us.es.js +0 -0
- /package/{dist/es → es}/config/i18n/en-us.es.js.map +0 -0
- /package/{dist/es → es}/config/i18n/zh-cn.es.js +0 -0
- /package/{dist/es → es}/config/i18n/zh-cn.es.js.map +0 -0
- /package/{dist/es → es}/config/types/additional-toolbar-item.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/additional-toolbar-item.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/content-change.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/content-change.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/content-save.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/content-save.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/counter-option.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/counter-option.interface.es.js.map +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/file-operation.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/file-operation.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/focus-change.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/focus-change.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/fullscreen-module.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/fullscreen-module.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/help-panel-item.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/help-panel-item.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/help-panel-option.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/help-panel-option.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/image-module.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/image-module.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/image-upload.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/image-upload.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/load-on-demand-module.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/load-on-demand-module.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/mention-module.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/mention-module.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/paste-change.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/paste-change.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/quick-menu-module.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/quick-menu-module.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/range.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/range.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/registry-options.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/registry-options.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/selection-change.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/selection-change.interface.es.js.map +0 -0
- /package/{dist/es → es}/config/types/toolbar-item.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/toolbar-item.interface.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}/config/types/validate-error.interface.es.js +0 -0
- /package/{dist/es → es}/config/types/validate-error.interface.es.js.map +0 -0
- /package/{dist/es → es}/counter/index.es.js +0 -0
- /package/{dist/es → es}/counter/index.es.js.map +0 -0
- /package/{dist/es → es}/custom-clipboard.es.js +0 -0
- /package/{dist/es → es}/custom-clipboard.es.js.map +0 -0
- /package/{dist/es → es}/custom-image/Options.es.js +0 -0
- /package/{dist/es → es}/custom-image/Options.es.js.map +0 -0
- /package/{dist/es → es}/custom-image/actions/Action.es.js +0 -0
- /package/{dist/es → es}/custom-image/actions/Action.es.js.map +0 -0
- /package/{dist/es → es}/custom-image/actions/CustomResizeAction.es.js +0 -0
- /package/{dist/es → es}/custom-image/actions/CustomResizeAction.es.js.map +0 -0
- /package/{dist/es → es}/custom-image/actions/DeleteAction.es.js +0 -0
- /package/{dist/es → es}/custom-image/actions/DeleteAction.es.js.map +0 -0
- /package/{dist/es → es}/custom-image/image.es.js +0 -0
- /package/{dist/es → es}/custom-image/image.es.js.map +0 -0
- /package/{dist/es → es}/custom-image/specs/BlotSpec.es.js +0 -0
- /package/{dist/es → es}/custom-image/specs/BlotSpec.es.js.map +0 -0
- /package/{dist/es → es}/custom-image/specs/CustomImageSpec.es.js +0 -0
- /package/{dist/es → es}/custom-image/specs/CustomImageSpec.es.js.map +0 -0
- /package/{dist/es → es}/custom-image/specs/ImageSpec.es.js +0 -0
- /package/{dist/es → es}/custom-image/specs/ImageSpec.es.js.map +0 -0
- /package/{dist/es → es}/custom-uploader.es.js +0 -0
- /package/{dist/es → es}/custom-uploader.es.js.map +0 -0
- /package/{dist/es → es}/emoji/emoji-list/index.es.js +0 -0
- /package/{dist/es → es}/emoji/emoji-list/index.es.js.map +0 -0
- /package/{dist/es → es}/emoji/emoji-list/people.es.js +0 -0
- /package/{dist/es → es}/emoji/emoji-list/people.es.js.map +0 -0
- /package/{dist/es → es}/emoji/emoji-list.es.js +0 -0
- /package/{dist/es → es}/emoji/emoji-list.es.js.map +0 -0
- /package/{dist/es → es}/emoji/emoji-map.es.js +0 -0
- /package/{dist/es → es}/emoji/emoji-map.es.js.map +0 -0
- /package/{dist/es → es}/emoji/formats/emoji-blot.es.js +0 -0
- /package/{dist/es → es}/emoji/formats/emoji-blot.es.js.map +0 -0
- /package/{dist/es → es}/emoji/index.es.js +0 -0
- /package/{dist/es → es}/emoji/index.es.js.map +0 -0
- /package/{dist/es → es}/emoji/modules/emoji.es.js +0 -0
- /package/{dist/es → es}/emoji/modules/emoji.es.js.map +0 -0
- /package/{dist/es → es}/emoji/modules/toolbar-emoji.es.js +0 -0
- /package/{dist/es → es}/emoji/modules/toolbar-emoji.es.js.map +0 -0
- /package/{dist/es → es}/emoji/utils.es.js +0 -0
- /package/{dist/es → es}/emoji/utils.es.js.map +0 -0
- /package/{dist/es → es}/file/formats/file.es.js +0 -0
- /package/{dist/es → es}/file/formats/file.es.js.map +0 -0
- /package/{dist/es → es}/file/index.es.js +0 -0
- /package/{dist/es → es}/file/index.es.js.map +0 -0
- /package/{dist/es → es}/file/modules/file-bar.es.js +0 -0
- /package/{dist/es → es}/file/modules/file-bar.es.js.map +0 -0
- /package/{dist/es → es}/format-painter/index.es.js +0 -0
- /package/{dist/es → es}/format-painter/index.es.js.map +0 -0
- /package/{dist/es → es}/global-link/constants.es.js +0 -0
- /package/{dist/es → es}/global-link/constants.es.js.map +0 -0
- /package/{dist/es → es}/global-link/formats/customer-widget-link.es.js +0 -0
- /package/{dist/es → es}/global-link/formats/customer-widget-link.es.js.map +0 -0
- /package/{dist/es → es}/global-link/formats/doc-link.es.js +0 -0
- /package/{dist/es → es}/global-link/formats/doc-link.es.js.map +0 -0
- /package/{dist/es → es}/global-link/formats/wiki-link.es.js +0 -0
- /package/{dist/es → es}/global-link/formats/wiki-link.es.js.map +0 -0
- /package/{dist/es → es}/global-link/formats/work-item-link.es.js +0 -0
- /package/{dist/es → es}/global-link/formats/work-item-link.es.js.map +0 -0
- /package/{dist/es → es}/global-link/global-link-panel.es.js +0 -0
- /package/{dist/es → es}/global-link/global-link-panel.es.js.map +0 -0
- /package/{dist/es → es}/global-link/index.es.js +0 -0
- /package/{dist/es → es}/global-link/index.es.js.map +0 -0
- /package/{dist/es → es}/global-link/utils/createTable.es.js +0 -0
- /package/{dist/es → es}/global-link/utils/createTable.es.js.map +0 -0
- /package/{dist/es → es}/index.es.js.map +0 -0
- /package/{dist/es → es}/mention/Mention.es.js +0 -0
- /package/{dist/es → es}/mention/Mention.es.js.map +0 -0
- /package/{dist/es → es}/mention/MentionLink.es.js +0 -0
- /package/{dist/es → es}/mention/MentionLink.es.js.map +0 -0
- /package/{dist/es → es}/mention/constants.es.js +0 -0
- /package/{dist/es → es}/mention/constants.es.js.map +0 -0
- /package/{dist/es → es}/quick-menu/index.es.js +0 -0
- /package/{dist/es → es}/quick-menu/index.es.js.map +0 -0
- /package/{dist/es → es}/screenshot/index.es.js +0 -0
- /package/{dist/es → es}/screenshot/index.es.js.map +0 -0
- /package/{dist/es → es}/soft-break/index.es.js +0 -0
- /package/{dist/es → es}/soft-break/index.es.js.map +0 -0
- /package/{dist/es → es}/strike/index.es.js +0 -0
- /package/{dist/es → es}/strike/index.es.js.map +0 -0
- /package/{dist/es → es}/syntax/index.es.js +0 -0
- /package/{dist/es → es}/syntax/index.es.js.map +0 -0
- /package/{dist/es → es}/table/better-table.es.js +0 -0
- /package/{dist/es → es}/table/better-table.es.js.map +0 -0
- /package/{dist/es → es}/table/formats/header.es.js +0 -0
- /package/{dist/es → es}/table/formats/header.es.js.map +0 -0
- /package/{dist/es → es}/table/formats/list.es.js +0 -0
- /package/{dist/es → es}/table/formats/list.es.js.map +0 -0
- /package/{dist/es → es}/table/formats/table.es.js +0 -0
- /package/{dist/es → es}/table/formats/table.es.js.map +0 -0
- /package/{dist/es → es}/table/modules/table-column-tool.es.js +0 -0
- /package/{dist/es → es}/table/modules/table-column-tool.es.js.map +0 -0
- /package/{dist/es → es}/table/modules/table-operation-menu.es.js +0 -0
- /package/{dist/es → es}/table/modules/table-operation-menu.es.js.map +0 -0
- /package/{dist/es → es}/table/modules/table-scroll-bar.es.js +0 -0
- /package/{dist/es → es}/table/modules/table-scroll-bar.es.js.map +0 -0
- /package/{dist/es → es}/table/modules/table-selection.es.js +0 -0
- /package/{dist/es → es}/table/modules/table-selection.es.js.map +0 -0
- /package/{dist/es → es}/table/table-config.es.js +0 -0
- /package/{dist/es → es}/table/table-config.es.js.map +0 -0
- /package/{dist/es → es}/table/utils/index.es.js +0 -0
- /package/{dist/es → es}/table/utils/index.es.js.map +0 -0
- /package/{dist/es → es}/table/utils/node-matchers.es.js +0 -0
- /package/{dist/es → es}/table/utils/node-matchers.es.js.map +0 -0
- /package/{dist/es → es}/toolbar/better-picker.es.js +0 -0
- /package/{dist/es → es}/toolbar/better-picker.es.js.map +0 -0
- /package/{dist/es → es}/toolbar/index.es.js +0 -0
- /package/{dist/es → es}/toolbar/index.es.js.map +0 -0
- /package/{dist/es → es}/utils/debounce.es.js +0 -0
- /package/{dist/es → es}/utils/debounce.es.js.map +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/method.es.js +0 -0
- /package/{dist/es → es}/utils/method.es.js.map +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/es → es}/video/index.es.js +0 -0
- /package/{dist/es → es}/video/index.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/line-height.cjs.js.map +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/base64-image.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/editor.config.cjs.js +0 -0
- /package/{dist/lib → lib}/config/editor.config.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/i18n/en-us.cjs.js +0 -0
- /package/{dist/lib → lib}/config/i18n/en-us.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/i18n/zh-cn.cjs.js +0 -0
- /package/{dist/lib → lib}/config/i18n/zh-cn.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/additional-toolbar-item.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/additional-toolbar-item.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/content-change.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/content-change.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/content-save.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/content-save.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/counter-option.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/counter-option.interface.cjs.js.map +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/file-operation.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/file-operation.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/focus-change.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/focus-change.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/fullscreen-module.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/fullscreen-module.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/help-panel-item.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/help-panel-item.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/help-panel-option.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/help-panel-option.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/image-module.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/image-module.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/image-upload.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/image-upload.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/load-on-demand-module.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/load-on-demand-module.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/mention-module.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/mention-module.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/paste-change.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/paste-change.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/quick-menu-module.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/quick-menu-module.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/range.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/range.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/registry-options.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/registry-options.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/selection-change.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/selection-change.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/config/types/toolbar-item.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/toolbar-item.interface.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}/config/types/validate-error.interface.cjs.js +0 -0
- /package/{dist/lib → lib}/config/types/validate-error.interface.cjs.js.map +0 -0
- /package/{dist/lib → lib}/counter/index.cjs.js +0 -0
- /package/{dist/lib → lib}/counter/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/custom-clipboard.cjs.js +0 -0
- /package/{dist/lib → lib}/custom-clipboard.cjs.js.map +0 -0
- /package/{dist/lib → lib}/custom-image/Options.cjs.js +0 -0
- /package/{dist/lib → lib}/custom-image/Options.cjs.js.map +0 -0
- /package/{dist/lib → lib}/custom-image/actions/Action.cjs.js +0 -0
- /package/{dist/lib → lib}/custom-image/actions/Action.cjs.js.map +0 -0
- /package/{dist/lib → lib}/custom-image/actions/CustomResizeAction.cjs.js +0 -0
- /package/{dist/lib → lib}/custom-image/actions/CustomResizeAction.cjs.js.map +0 -0
- /package/{dist/lib → lib}/custom-image/actions/DeleteAction.cjs.js +0 -0
- /package/{dist/lib → lib}/custom-image/actions/DeleteAction.cjs.js.map +0 -0
- /package/{dist/lib → lib}/custom-image/image.cjs.js +0 -0
- /package/{dist/lib → lib}/custom-image/image.cjs.js.map +0 -0
- /package/{dist/lib → lib}/custom-image/specs/BlotSpec.cjs.js +0 -0
- /package/{dist/lib → lib}/custom-image/specs/BlotSpec.cjs.js.map +0 -0
- /package/{dist/lib → lib}/custom-image/specs/CustomImageSpec.cjs.js +0 -0
- /package/{dist/lib → lib}/custom-image/specs/CustomImageSpec.cjs.js.map +0 -0
- /package/{dist/lib → lib}/custom-image/specs/ImageSpec.cjs.js +0 -0
- /package/{dist/lib → lib}/custom-image/specs/ImageSpec.cjs.js.map +0 -0
- /package/{dist/lib → lib}/custom-uploader.cjs.js +0 -0
- /package/{dist/lib → lib}/custom-uploader.cjs.js.map +0 -0
- /package/{dist/lib → lib}/emoji/emoji-list/index.cjs.js +0 -0
- /package/{dist/lib → lib}/emoji/emoji-list/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/emoji/emoji-list/people.cjs.js +0 -0
- /package/{dist/lib → lib}/emoji/emoji-list/people.cjs.js.map +0 -0
- /package/{dist/lib → lib}/emoji/emoji-list.cjs.js +0 -0
- /package/{dist/lib → lib}/emoji/emoji-list.cjs.js.map +0 -0
- /package/{dist/lib → lib}/emoji/emoji-map.cjs.js +0 -0
- /package/{dist/lib → lib}/emoji/emoji-map.cjs.js.map +0 -0
- /package/{dist/lib → lib}/emoji/formats/emoji-blot.cjs.js +0 -0
- /package/{dist/lib → lib}/emoji/formats/emoji-blot.cjs.js.map +0 -0
- /package/{dist/lib → lib}/emoji/index.cjs.js +0 -0
- /package/{dist/lib → lib}/emoji/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/emoji/modules/emoji.cjs.js +0 -0
- /package/{dist/lib → lib}/emoji/modules/emoji.cjs.js.map +0 -0
- /package/{dist/lib → lib}/emoji/modules/toolbar-emoji.cjs.js +0 -0
- /package/{dist/lib → lib}/emoji/modules/toolbar-emoji.cjs.js.map +0 -0
- /package/{dist/lib → lib}/emoji/utils.cjs.js +0 -0
- /package/{dist/lib → lib}/emoji/utils.cjs.js.map +0 -0
- /package/{dist/lib → lib}/file/formats/file.cjs.js +0 -0
- /package/{dist/lib → lib}/file/formats/file.cjs.js.map +0 -0
- /package/{dist/lib → lib}/file/index.cjs.js +0 -0
- /package/{dist/lib → lib}/file/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/file/modules/file-bar.cjs.js +0 -0
- /package/{dist/lib → lib}/file/modules/file-bar.cjs.js.map +0 -0
- /package/{dist/lib → lib}/format-painter/index.cjs.js +0 -0
- /package/{dist/lib → lib}/format-painter/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/global-link/constants.cjs.js +0 -0
- /package/{dist/lib → lib}/global-link/constants.cjs.js.map +0 -0
- /package/{dist/lib → lib}/global-link/formats/customer-widget-link.cjs.js +0 -0
- /package/{dist/lib → lib}/global-link/formats/customer-widget-link.cjs.js.map +0 -0
- /package/{dist/lib → lib}/global-link/formats/doc-link.cjs.js +0 -0
- /package/{dist/lib → lib}/global-link/formats/doc-link.cjs.js.map +0 -0
- /package/{dist/lib → lib}/global-link/formats/wiki-link.cjs.js +0 -0
- /package/{dist/lib → lib}/global-link/formats/wiki-link.cjs.js.map +0 -0
- /package/{dist/lib → lib}/global-link/formats/work-item-link.cjs.js +0 -0
- /package/{dist/lib → lib}/global-link/formats/work-item-link.cjs.js.map +0 -0
- /package/{dist/lib → lib}/global-link/global-link-panel.cjs.js +0 -0
- /package/{dist/lib → lib}/global-link/global-link-panel.cjs.js.map +0 -0
- /package/{dist/lib → lib}/global-link/index.cjs.js +0 -0
- /package/{dist/lib → lib}/global-link/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/global-link/utils/createTable.cjs.js +0 -0
- /package/{dist/lib → lib}/global-link/utils/createTable.cjs.js.map +0 -0
- /package/{dist/lib → lib}/mention/Mention.cjs.js +0 -0
- /package/{dist/lib → lib}/mention/Mention.cjs.js.map +0 -0
- /package/{dist/lib → lib}/mention/MentionLink.cjs.js +0 -0
- /package/{dist/lib → lib}/mention/MentionLink.cjs.js.map +0 -0
- /package/{dist/lib → lib}/mention/constants.cjs.js +0 -0
- /package/{dist/lib → lib}/mention/constants.cjs.js.map +0 -0
- /package/{dist/lib → lib}/quick-menu/index.cjs.js +0 -0
- /package/{dist/lib → lib}/quick-menu/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/screenshot/index.cjs.js +0 -0
- /package/{dist/lib → lib}/screenshot/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/soft-break/index.cjs.js +0 -0
- /package/{dist/lib → lib}/soft-break/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/strike/index.cjs.js +0 -0
- /package/{dist/lib → lib}/strike/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/syntax/index.cjs.js +0 -0
- /package/{dist/lib → lib}/syntax/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/table/better-table.cjs.js +0 -0
- /package/{dist/lib → lib}/table/better-table.cjs.js.map +0 -0
- /package/{dist/lib → lib}/table/formats/header.cjs.js +0 -0
- /package/{dist/lib → lib}/table/formats/header.cjs.js.map +0 -0
- /package/{dist/lib → lib}/table/formats/list.cjs.js +0 -0
- /package/{dist/lib → lib}/table/formats/list.cjs.js.map +0 -0
- /package/{dist/lib → lib}/table/formats/table.cjs.js +0 -0
- /package/{dist/lib → lib}/table/formats/table.cjs.js.map +0 -0
- /package/{dist/lib → lib}/table/modules/table-column-tool.cjs.js +0 -0
- /package/{dist/lib → lib}/table/modules/table-column-tool.cjs.js.map +0 -0
- /package/{dist/lib → lib}/table/modules/table-operation-menu.cjs.js +0 -0
- /package/{dist/lib → lib}/table/modules/table-operation-menu.cjs.js.map +0 -0
- /package/{dist/lib → lib}/table/modules/table-scroll-bar.cjs.js +0 -0
- /package/{dist/lib → lib}/table/modules/table-scroll-bar.cjs.js.map +0 -0
- /package/{dist/lib → lib}/table/modules/table-selection.cjs.js +0 -0
- /package/{dist/lib → lib}/table/modules/table-selection.cjs.js.map +0 -0
- /package/{dist/lib → lib}/table/table-config.cjs.js +0 -0
- /package/{dist/lib → lib}/table/table-config.cjs.js.map +0 -0
- /package/{dist/lib → lib}/table/utils/index.cjs.js +0 -0
- /package/{dist/lib → lib}/table/utils/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/table/utils/node-matchers.cjs.js +0 -0
- /package/{dist/lib → lib}/table/utils/node-matchers.cjs.js.map +0 -0
- /package/{dist/lib → lib}/toolbar/better-picker.cjs.js +0 -0
- /package/{dist/lib → lib}/toolbar/better-picker.cjs.js.map +0 -0
- /package/{dist/lib → lib}/toolbar/index.cjs.js +0 -0
- /package/{dist/lib → lib}/toolbar/index.cjs.js.map +0 -0
- /package/{dist/lib → lib}/utils/debounce.cjs.js +0 -0
- /package/{dist/lib → lib}/utils/debounce.cjs.js.map +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/method.cjs.js +0 -0
- /package/{dist/lib → lib}/utils/method.cjs.js.map +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/lib → lib}/video/index.cjs.js +0 -0
- /package/{dist/lib → lib}/video/index.cjs.js.map +0 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export declare const EN_US: {
|
|
2
|
+
undo: string;
|
|
3
|
+
redo: string;
|
|
4
|
+
clean: string;
|
|
5
|
+
header: string;
|
|
6
|
+
normal: string;
|
|
7
|
+
h1: string;
|
|
8
|
+
h2: string;
|
|
9
|
+
h3: string;
|
|
10
|
+
h4: string;
|
|
11
|
+
h5: string;
|
|
12
|
+
h6: string;
|
|
13
|
+
font: string;
|
|
14
|
+
size: string;
|
|
15
|
+
lineheight: string;
|
|
16
|
+
songti: string;
|
|
17
|
+
yahei: string;
|
|
18
|
+
kaiti: string;
|
|
19
|
+
heiti: string;
|
|
20
|
+
lishu: string;
|
|
21
|
+
bold: string;
|
|
22
|
+
italic: string;
|
|
23
|
+
underline: string;
|
|
24
|
+
strike: string;
|
|
25
|
+
color: string;
|
|
26
|
+
background: string;
|
|
27
|
+
orderedlist: string;
|
|
28
|
+
bulletlist: string;
|
|
29
|
+
checklist: string;
|
|
30
|
+
left: string;
|
|
31
|
+
center: string;
|
|
32
|
+
right: string;
|
|
33
|
+
image: string;
|
|
34
|
+
file: string;
|
|
35
|
+
table: string;
|
|
36
|
+
link: string;
|
|
37
|
+
code: string;
|
|
38
|
+
codeblock: string;
|
|
39
|
+
blockquote: string;
|
|
40
|
+
superscript: string;
|
|
41
|
+
subscript: string;
|
|
42
|
+
globallink: string;
|
|
43
|
+
emoji: string;
|
|
44
|
+
fullscreen: string;
|
|
45
|
+
'exit-fullscreen': string;
|
|
46
|
+
help: string;
|
|
47
|
+
more: string;
|
|
48
|
+
'help-format': string;
|
|
49
|
+
'help-insert': string;
|
|
50
|
+
'help-operation': string;
|
|
51
|
+
mention: string;
|
|
52
|
+
'quick-menu': string;
|
|
53
|
+
'toggle-help-panel': string;
|
|
54
|
+
'scroll-table': string;
|
|
55
|
+
'mouse-wheel': string;
|
|
56
|
+
save: string;
|
|
57
|
+
'copy-cells': string;
|
|
58
|
+
'copy-table': string;
|
|
59
|
+
'cut-cells': string;
|
|
60
|
+
'empty-cells': string;
|
|
61
|
+
'insert-row-up': string;
|
|
62
|
+
'insert-row-down': string;
|
|
63
|
+
'insert-column-left': string;
|
|
64
|
+
'insert-column-right': string;
|
|
65
|
+
'merge-cells': string;
|
|
66
|
+
'unmerge-cells': string;
|
|
67
|
+
'delete-row': string;
|
|
68
|
+
'delete-column': string;
|
|
69
|
+
'delete-table': string;
|
|
70
|
+
'default-link-text': string;
|
|
71
|
+
basicblock: string;
|
|
72
|
+
linkplaceholder: string;
|
|
73
|
+
'counter-template': string;
|
|
74
|
+
char: string;
|
|
75
|
+
word: string;
|
|
76
|
+
'counter-limit-tips': string;
|
|
77
|
+
'ie-msg': string;
|
|
78
|
+
loading: string;
|
|
79
|
+
pasting: string;
|
|
80
|
+
'img-error': string;
|
|
81
|
+
'img-error-info': string;
|
|
82
|
+
lastModified: string;
|
|
83
|
+
screenshot: string;
|
|
84
|
+
uploading: string;
|
|
85
|
+
subTitleBgColor: string;
|
|
86
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export declare const ZH_CN: {
|
|
2
|
+
undo: string;
|
|
3
|
+
redo: string;
|
|
4
|
+
clean: string;
|
|
5
|
+
header: string;
|
|
6
|
+
normal: string;
|
|
7
|
+
h1: string;
|
|
8
|
+
h2: string;
|
|
9
|
+
h3: string;
|
|
10
|
+
h4: string;
|
|
11
|
+
h5: string;
|
|
12
|
+
h6: string;
|
|
13
|
+
font: string;
|
|
14
|
+
size: string;
|
|
15
|
+
lineheight: string;
|
|
16
|
+
songti: string;
|
|
17
|
+
yahei: string;
|
|
18
|
+
kaiti: string;
|
|
19
|
+
heiti: string;
|
|
20
|
+
lishu: string;
|
|
21
|
+
bold: string;
|
|
22
|
+
italic: string;
|
|
23
|
+
underline: string;
|
|
24
|
+
strike: string;
|
|
25
|
+
color: string;
|
|
26
|
+
background: string;
|
|
27
|
+
orderedlist: string;
|
|
28
|
+
bulletlist: string;
|
|
29
|
+
checklist: string;
|
|
30
|
+
left: string;
|
|
31
|
+
center: string;
|
|
32
|
+
right: string;
|
|
33
|
+
image: string;
|
|
34
|
+
file: string;
|
|
35
|
+
table: string;
|
|
36
|
+
link: string;
|
|
37
|
+
code: string;
|
|
38
|
+
codeblock: string;
|
|
39
|
+
blockquote: string;
|
|
40
|
+
superscript: string;
|
|
41
|
+
subscript: string;
|
|
42
|
+
globallink: string;
|
|
43
|
+
emoji: string;
|
|
44
|
+
fullscreen: string;
|
|
45
|
+
'exit-fullscreen': string;
|
|
46
|
+
help: string;
|
|
47
|
+
more: string;
|
|
48
|
+
'help-format': string;
|
|
49
|
+
'help-insert': string;
|
|
50
|
+
'help-operation': string;
|
|
51
|
+
mention: string;
|
|
52
|
+
'quick-menu': string;
|
|
53
|
+
'toggle-help-panel': string;
|
|
54
|
+
'scroll-table': string;
|
|
55
|
+
'mouse-wheel': string;
|
|
56
|
+
save: string;
|
|
57
|
+
'copy-cells': string;
|
|
58
|
+
'copy-table': string;
|
|
59
|
+
'cut-cells': string;
|
|
60
|
+
'empty-cells': string;
|
|
61
|
+
'insert-row-up': string;
|
|
62
|
+
'insert-row-down': string;
|
|
63
|
+
'insert-column-left': string;
|
|
64
|
+
'insert-column-right': string;
|
|
65
|
+
'merge-cells': string;
|
|
66
|
+
'unmerge-cells': string;
|
|
67
|
+
'delete-row': string;
|
|
68
|
+
'delete-column': string;
|
|
69
|
+
'delete-table': string;
|
|
70
|
+
'default-link-text': string;
|
|
71
|
+
basicblock: string;
|
|
72
|
+
linkplaceholder: string;
|
|
73
|
+
'counter-template': string;
|
|
74
|
+
char: string;
|
|
75
|
+
word: string;
|
|
76
|
+
'counter-limit-tips': string;
|
|
77
|
+
'ie-msg': string;
|
|
78
|
+
loading: string;
|
|
79
|
+
pasting: string;
|
|
80
|
+
'img-error': string;
|
|
81
|
+
'img-error-info': string;
|
|
82
|
+
lastModified: string;
|
|
83
|
+
screenshot: string;
|
|
84
|
+
uploading: string;
|
|
85
|
+
subTitleBgColor: string;
|
|
86
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const UNDO_ICON = "<svg width=\"16px\" height=\"14px\" viewBox=\"0 0 16 14\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(0.000000, -1.000000)\" fill=\"#293040\">\n <path d=\"M11,5 C13.7614237,5 16,7.23857625 16,10 C16,12.7614237 13.7614237,15 11,15 L7,15 L7,14 L11,14\n C13.209139,14 15,12.209139 15,10 C15,7.790861 13.209139,6 11,6 L5,6 L5,10 L0,5.5 L5,1 L5,5 L11,5 Z\"></path>\n </g>\n</g>\n</svg>";
|
|
2
|
+
export declare const REDO_ICON = "<svg width=\"16px\" height=\"14px\" viewBox=\"0 0 16 14\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(0.000000, -1.000000)\" fill=\"#293040\">\n <path d=\"M5,5 L11,5 L11,1 L16,5.5 L11,10 L11,6 L5,6 C2.790861,6 1,7.790861 1,10 C1,12.209139 2.790861,14 5,14 L9,14\n L9,15 L5,15 C2.23857625,15 0,12.7614237 0,10 C0,7.23857625 2.23857625,5 5,5 Z\"></path>\n </g>\n</g>\n</svg>";
|
|
3
|
+
export declare const CLEAN_ICON = "<svg width=\"16px\" height=\"15px\" viewBox=\"0 0 16 15\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g fill=\"#293040\">\n <path d=\"M4.32708124,14 L8.37150583,14 L10.5729409,11.5550586 L4.6297198,6.20375828 L1.25465311,9.95542661\n C1.09078634,10.1375782 1.0006437,10.3742369 1.00180556,10.6192474 C1.00295568,10.8617824 1.10621221,11.092615\n 1.28624979,11.2551297 L4.32708124,14 Z M16,14 L16,15 L3.93760008,15 L0.597250175,11.9923354 C0.217072683,11.6500221\n 1.59049582e-13,11.1091757 1.59428026e-13,10.6149383 C1.59806471e-13,10.1207008 0.183000942,9.64396706 0.513710349,9.27667705\n L8.56855175,0.330869394 L16,7.02217546 L9.71713856,14 L16,14 Z\"></path>\n </g>\n</g>\n</svg>";
|
|
4
|
+
export declare const BOLD_ICON = "<svg width=\"12px\" height=\"16px\" viewBox=\"0 0 12 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(-2.000000, 0.000000)\" fill=\"#293040\" fill-rule=\"nonzero\">\n <path d=\"M11.540636,7.0842147 C13.0068647,7.89340318 14,9.45459285 14,11.2477417 C14,13.8723415 11.8723415,16\n 9.2477417,16 L2,16 L2,7.99258423 L2,-5.06261699e-14 L9.00370789,-4.75175455e-14 C11.2107991,-4.79229815e-14 13,1.78920092\n 13,3.99629211 C13,5.24014846 12.4317244,6.35127692 11.540636,7.0842147 Z M3.5,1.5 L3.5,6.49258423 L9.00370789,6.49258423\n C10.382372,6.49258423 11.5,5.37495618 11.5,3.99629211 C11.5,2.61762805 10.382372,1.5 9.00370789,1.5 L3.5,1.5 Z M3.5,14.5\n L9.2477417,14.5 C11.0439144,14.5 12.5,13.0439144 12.5,11.2477417 C12.5,9.45156904 11.0439144,7.9954834 9.2477417,7.9954834\n L3.5,7.9954834 L3.5,14.5 Z\"></path>\n </g>\n</g>\n</svg>";
|
|
5
|
+
export declare const ITALIC_ICON = "<svg width=\"9px\" height=\"16px\" viewBox=\"0 0 9 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(-4.000000, 0.000000)\" fill=\"#293040\">\n <path d=\"M10.2565501,1.5 L8.41332415,14.5 L12,14.5 L12,16 L4,16 L4,14.5 L6.90083611,14.5 L8.74406208,1.5 L5,1.5\n L5,0 L13,0 L13,1.5 L10.2565501,1.5 Z\"></path>\n </g>\n</g>\n</svg>";
|
|
6
|
+
export declare const UNDERLINE_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <polygon fill=\"#293040\" points=\"2 14 14 14 14 16 2 16\"></polygon>\n <path d=\"M4.5,3 L4.5,7 C4.5,8.93299662 6.06700338,10.5 8,10.5 C9.93299662,10.5 11.5,8.93299662 11.5,7 L11.5,1.5\n L11.4998322,0 L13,0 L13,7 C13,9.76142375 10.7614237,12 8,12 C5.23857625,12 3,9.76142375 3,7 L3,0 L4.49893188,0\n L4.49893188,3 L4.5,3 Z\" fill=\"#293040\" fill-rule=\"nonzero\"></path>\n</g>\n</svg>";
|
|
7
|
+
export declare const STRIKE_ICON = "<svg width=\"14px\" height=\"16px\" viewBox=\"0 0 14 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(-1.000000, 0.000000)\" fill=\"#293040\">\n <path d=\"M9.93321102,9 L1,9 L1,7 L3.84197169,7 C3.31015092,6.28495098 3,5.42507332 3,4.5 C3,2.01471863\n 5.23857625,0 8,0 C10.5736409,0 12.6931261,1.75002477 12.969484,4 L11.4507289,4 C11.1737591,2.60626201 9.76011738,1.5 8,1.5\n C6.03382604,1.5 4.5,2.88044344 4.5,4.5 C4.5,5.52604325 5.11562351,6.45611494 6.06678898,7 L15,7 L15,9 L12.1580283,9\n C12.6898491,9.71504902 13,10.5749267 13,11.5 C13,13.9852814 10.7614237,16 8,16 C5.42635908,16 3.30687393,14.2499752\n 3.03051599,12 L4.54927112,12 C4.82624092,13.393738 6.23988262,14.5 8,14.5 C9.96617396,14.5 11.5,13.1195566 11.5,11.5\n C11.5,10.4739568 10.8843765,9.54388506 9.93321102,9 Z\"></path>\n </g>\n</g>\n</svg>";
|
|
8
|
+
export declare const COLOR_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <polygon fill=\"#293040\" points=\"2 14 14 14 14 16 2 16\"></polygon>\n <path d=\"M10.9166667,8.5 L5.08333333,8.5 L4.26618123,10.461165 L3.62338765,12 L2,12 L7,0 L9,0 L14,12 L12.3824972,12\n L11.5753038,10.0807292 L10.9166667,8.5 Z M10.2916667,7 L8,1.5 L5.70833333,7 L10.2916667,7 Z\"\n fill=\"#293040\" fill-rule=\"nonzero\"></path>\n</g>\n</svg>";
|
|
9
|
+
export declare const BACKGROUND_COLOR_ICON = " <svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <path d=\"M4.64447006,9.66583547 L3.17597929,8.33216965 L6.15933183,5.11039074 L5.42508645,4.44355783\n L9.39179153,1.0658141e-13 L16,6.00149616 L12.0332949,10.445054 L11.2990495,9.77822108 L8.31569698,13 L6.84720621,11.6663342\n L5.69344476,12.9587937 L2.36400649,12.9587937 L2,12.6282074 L4.64447006,9.66583547 Z M4.57134219,8.25840959\n L8.24256911,11.5925741 L10.5648041,9.11138818 L6.89357722,5.77722364 L4.57134219,8.25840959 Z M14.6046371,6.07525623\n L9.4649194,1.40742588 L6.82044935,4.36979777 L11.960167,9.03762811 L14.6046371,6.07525623 Z M2,14 L14,14 L14,16 L2,16 L2,14 Z\"\n fill=\"#293040\"></path>\n</g>\n</svg>";
|
|
10
|
+
export declare const ALIGN_LEFT_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <path d=\"M0,0 L1.5,0 L1.5,16 L0,16 L0,0 Z M4,3 L13,3 L13,7 L4,7 L4,3 Z M5,4 L5,6 L12,6 L12,4 L5,4 Z M4,9 L16,9\n L16,13 L4,13 L4,9 Z M5,10 L5,12 L15,12 L15,10 L5,10 Z\" fill=\"#293040\"></path>\n</g>\n</svg>";
|
|
11
|
+
export declare const ALIGN_CENTER_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <path d=\"M8.75,7 L8.75,9 L16,9 L16,13 L8.75,13 L8.75,16 L7.25,16 L7.25,13 L0,13 L0,9 L7.25,9 L7.25,7 L2,7\n L2,3 L7.25,3 L7.25,0 L8.75,0 L8.75,3 L14,3 L14,7 L8.75,7 Z M1,10 L1,12 L15,12 L15,10 L1,10 Z M3,4 L3,6 L13,6\n L13,4 L3,4 Z\" fill=\"#293040\"></path>\n</g>\n</svg>";
|
|
12
|
+
export declare const ALIGN_RIGHT_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <path d=\"M14.5,0 L16,0 L16,16 L14.5,16 L14.5,0 Z M3,3 L12,3 L12,7 L3,7 L3,3 Z M4,4 L4,6 L11,6 L11,4 L4,4 Z\n M0,9 L12,9 L12,13 L0,13 L0,9 Z M1,10 L1,12 L11,12 L11,10 L1,10 Z\" fill=\"#293040\"></path>\n</g>\n</svg>";
|
|
13
|
+
export declare const LIST_UNORDERED_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g fill=\"#293040\">\n <path d=\"M5,1 L16,1 L16,2.5 L5,2.5 L5,1 Z M2,4 C0.8954305,4 0,3.1045695 0,2 C0,0.8954305 0.8954305,0 2,0\n C3.1045695,0 4,0.8954305 4,2 C4,3.1045695 3.1045695,4 2,4 Z M2,3 C2.55228475,3 3,2.55228475 3,2 C3,1.44771525\n 2.55228475,1 2,1 C1.44771525,1 1,1.44771525 1,2 C1,2.55228475 1.44771525,3 2,3 Z M2,10 C0.8954305,10 0,9.1045695\n 0,8 C0,6.8954305 0.8954305,6 2,6 C3.1045695,6 4,6.8954305 4,8 C4,9.1045695 3.1045695,10 2,10 Z M2,9 C2.55228475,9\n 3,8.55228475 3,8 C3,7.44771525 2.55228475,7 2,7 C1.44771525,7 1,7.44771525 1,8 C1,8.55228475 1.44771525,9 2,9 Z\n M2,16 C0.8954305,16 0,15.1045695 0,14 C0,12.8954305 0.8954305,12 2,12 C3.1045695,12 4,12.8954305 4,14 C4,15.1045695\n 3.1045695,16 2,16 Z M2,15 C2.55228475,15 3,14.5522847 3,14 C3,13.4477153 2.55228475,13 2,13 C1.44771525,13 1,13.4477153\n 1,14 C1,14.5522847 1.44771525,15 2,15 Z M5,7 L16,7 L16,8.5 L5,8.5 L5,7 Z M5,13 L16,13 L16,14.5 L5,14.5 L5,13 Z\"></path>\n </g>\n</g>\n</svg>";
|
|
14
|
+
export declare const LIST_ORDERED_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g fill=\"#293040\">\n <path d=\"M5,1 L16,1 L16,2.5 L5,2.5 L5,1 Z M0,0 L2,0 L2,3 L3,3 L3,4 L0,4 L0,3 L1,3 L1,1 L0,1 L0,0 Z M5,7 L16,7\n L16,8.5 L5,8.5 L5,7 Z M5,13 L16,13 L16,14.5 L5,14.5 L5,13 Z M0,15 L1.75,15 C1.88807119,15 2,14.8880712 2,14.75\n C2,14.6119288 1.88807119,14.5 1.75,14.5 L0,14.5 L0,13.5 L1.75,13.5 C1.88807119,13.5 2,13.3880712 2,13.25 C2,13.1119288\n 1.88807119,13 1.75,13 L0,13 L0,12 L1.5,12 C2.32842712,12 3,12.6715729 3,13.5 C3,13.6753177 2.96992289,13.8436105\n 2.91464715,14 C2.96992289,14.1563895 3,14.3246823 3,14.5 C3,15.3284271 2.32842712,16 1.5,16 L0,16 L0,15 Z M2,7.5\n C2,7.35127258 1.9375,7.22627258 1.84375,7.13845444 C1.76307119,7.05596441 1.63807119,7 1.5,7 C1.22385763,7 1,7.22385763\n 1,7.5 L1.62630326e-19,7.5 C0.147399902,6.5 0.647399902,6 1.5,6 C2.32842712,6 3,6.67157288 3,7.5 C3,8.07312512\n 2.50016007,8.55650475 2.22821045,8.74661255 C1.95626083,8.93672035 1.77325955,8.99789088 1.76769962,9 L3,9 L3,10\n L0,10 L1.62630326e-19,9 C0.619515577,8.77257137 1.06188822,8.55939591 1.32711792,8.36047363 C1.6371448,8.12795347\n 1.87259637,7.91592701 1.96143498,7.69289356 C1.98627694,7.633537 2,7.5683711 2,7.5 Z\"></path>\n </g>\n</g>\n</svg>";
|
|
15
|
+
export declare const LIST_CHECK_ICON = "<svg width=\"15px\" height=\"14px\" viewBox=\"0 0 15 14\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(-1058.000000, -97.000000)\">\n <g transform=\"translate(407.000000, 93.000000)\">\n <g transform=\"translate(650.000000, 2.000000)\">\n <rect x=\"0\" y=\"0\" width=\"16\" height=\"16\"></rect>\n <polygon fill=\"#293040\" fill-rule=\"nonzero\" points=\"14 15 14 9.37100497 15 9.37100497 15\n 16 1 16 1 2 10.1946467 2 10.1946467 3 2 3 2 15\"></polygon>\n <path d=\"M14.4525049,2.48740937 C14.7356009,2.1850362 15.8305911,3.21021745 15.5474951,3.51259063\n L8.45990379,11.0828057 L4.46558382,7.02621226 C4.17496481,6.73106236 4.17863783,6.25620283 4.47378774,5.96558382\n C4.76893764,5.67496481 5.24379717,5.67863783 5.53441618,5.97378774 L8.43263799,8.91719429 L14.4525049,2.48740937 Z\"\n fill=\"#293040\" fill-rule=\"nonzero\"></path>\n </g>\n </g>\n </g>\n</g>\n</svg>";
|
|
16
|
+
export declare const CODE_BLOCK_ICON = "<svg t=\"1565073788159\" class=\"icon\" viewBox=\"0 0 1024 1024\" width=\"16\" height=\"16\">\n<path d=\"M110.78 469.52l70.44-39.24A60 60 0 0 0 212 377.9L212 212a120 120 0 0 1 120-120l60 0a30\n30 0 0 1 0 60L332 152a60 60 0 0 0-59.99999999 60l0 175.38a120 120 0 0\n1-63.48000001 105.9L173.42 512l35.1 18.72A120 120 0 0 1 272 636.56L272.00000001 812a60 60 0 0 0 59.99999999 60l60 0a30 30\n0 1 1 0 60L332 932a120 120 0 0 1-120-120l0-165.9a60\n60 0 0 0-30.78-52.38l-70.44-39.24a45 45 0 0 1 0-84.96z m742.44 1e-8a45 45 0 0 1 0 84.95999998l-70.44 39.24000001a60\n60 0 0 0-30.78000001 52.38L751.99999999 812a120 120 0 0 1-119.99999999 120L572 932a30 30\n0 1 1 0-60l60 0a60 60 0 0 0 60-60l0-175.38a120 120\n0 0 1 63.48-105.9L790.58 512l-35.1-18.72A120 120 0 0 1 692 387.44L692 212a60 60 0 0 0-60-60L572 152a30\n30 0 0 1 0-60l60 0a120 120 0 0 1 119.99999999 120l0 165.9a60 60 0 0 0 30.78000001 52.38l70.44 39.24000001z\"></path></svg>";
|
|
17
|
+
export declare const BLOCKQUOTE_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(0.000000, 1.000000)\" fill=\"#000000\" fill-rule=\"nonzero\">\n <path d=\"M6.86733556,12.5574136 L6.86733556,7.99108138 L2.52931996,7.99108138 C2.41516165,5.02296544\n 3.10011148,3.42474916 5.72575251,2.0548495 L5.72575251,0 C1.84437012,1.36989967 -0.0963210702,3.88138239 0.0178372352,7.76276477\n L0.0178372352,12.5574136 L6.86733556,12.5574136 Z M16,12.5574136 L16,7.99108138 L11.6619844,7.99108138 C11.5478261,5.02296544\n 12.2327759,3.42474916 14.8584169,2.0548495 L14.8584169,0 C10.9770346,1.36989967 9.03634337,3.88138239 9.15050167,7.76276477\n L9.15050167,12.5574136 L16,12.5574136 Z\"></path>\n </g>\n</g>\n</svg>";
|
|
18
|
+
export declare const IMAGE_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(-1196.000000, -96.000000)\" fill=\"#293040\" fill-rule=\"nonzero\">\n <g transform=\"translate(407.000000, 93.000000)\">\n <path d=\"M804,4 L790,4 L790,11.940983 L794.058237,9.91186456 L798.536534,13.3949845 L801.014076,11.908459\n L804,13.8990748 L804,4 Z M803.72265,14.9160251 L800.985924,13.091541 L798.463466,14.6050155 L793.941763,11.0881354\n L790.223607,12.9472136 C790.151699,12.9831673 790.07527,13.000168 790,13.0001094 L790,18 L804,18 L804,15.0000529\n C803.90455,15.0001406 803.80803,14.9729453 803.72265,14.9160251 Z M789,19 L789,3 L805,3 L805,19 L789,19 Z M801,9\n C800.447715,9 800,8.55228475 800,8 C800,7.44771525 800.447715,7 801,7 C801.552285,7 802,7.44771525 802,8 C802,8.55228475\n 801.552285,9 801,9 Z\"></path>\n </g>\n </g>\n</g>\n</svg>";
|
|
19
|
+
export declare const FILE_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" >\n<g id=\"icon/01\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <path d=\"M16,16 L1,16 L1,0 L12,0 L16,4 L16,16 Z M11,1 L2,1 L2,15 L15,15 L15,\n 5 L11,5 L11,1 Z M12,1.533 L12,4 L14.52,4 L12,1.533 Z\"\n id=\"Combined-Shape\" fill=\"#293040\" fill-rule=\"nonzero\">\n </path>\n <polygon id=\"path\" fill=\"#293040\" points=\"8 8 6 8 8.5 5 11 8 9 8 9 12 8 12\"></polygon>\n</g>\n</svg>";
|
|
20
|
+
export declare const TABLE_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(-1227.000000, -96.000000)\" fill=\"#293040\">\n <g transform=\"translate(407.000000, 93.000000)\">\n <path d=\"M820,3 L836,3 L836,19 L820,19 L820,3 Z M821,4 L821,8 L835,8 L835,4 L821,4 Z M821,9 L821,13 L825,\n 13 L825,9 L821,9 Z M821,14 L821,18 L825,18 L825,14 L821,14 Z M826,9 L826,13 L830,13 L830,9 L826,9 Z M826,\n 14 L826,18 L830,18 L830,14 L826,14 Z M831,9 L831,13 L835,13 L835,9 L831,9 Z M831,14 L831,18 L835,18 L835,\n 14 L831,14 Z\"></path>\n </g>\n </g>\n</g>\n</svg>";
|
|
21
|
+
export declare const LINK_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(-1258.000000, -96.000000)\" fill=\"#293040\" fill-rule=\"nonzero\">\n <g transform=\"translate(407.000000, 93.000000)\">\n <path d=\"M855.499,13.863 L861.863,7.499 L862.573,8.209 L856.209,14.573 L855.499,13.863 Z M854.646498,9.99452063\n C854.661947,10.0108615 854.677673,10.0270363 854.693676,10.0430391 L855.388521,10.7378841 L852.802248,13.3241571\n C851.732584,14.3938208 851.732584,16.1280884 852.802248,17.1977522 C853.871912,18.2674159 855.606179,18.2674159\n 856.675843,17.1977522 L859.262116,14.6114792 L859.956961,15.3063242 C859.972964,15.3223269 859.989138,15.3380528\n 860.005479,15.3535018 L857.468863,17.8901187 C855.989021,19.3699604 853.589723,19.3699604 852.109881,17.8901187\n C850.63004,16.4102769 850.63004,14.0109793 852.109881,12.5311375 L854.646498,9.99452063 Z M857.994521,6.64649819\n L860.531137,4.10988134 C862.010979,2.63003955 864.410277,2.63003955 865.890119,4.10988134 C867.36996,5.58972313\n 867.36996,7.98902073 865.890119,9.46886252 L863.353502,12.0054794 C863.338053,11.9891385 863.322327,11.9729637\n 863.306324,11.9569609 L862.611479,11.2621159 L865.197752,8.67584293 C866.267416,7.60617918 866.267416,5.87191157\n 865.197752,4.80224782 C864.128088,3.73258406 862.393821,3.73258406 861.324157,4.80224782 L858.737884,7.38852082\n L858.043039,6.69367584 C858.027036,6.67767307 858.010862,6.66194719 857.994521,6.64649819 Z\"></path>\n </g>\n </g>\n</g>\n</svg>";
|
|
22
|
+
export declare const EMOJI_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <path d=\"M8,16 C3.581722,16 0,12.418278 0,8 C0,3.581722 3.581722,0 8,0 C12.418278,0 16,3.581722 16,8 C16,12.418278\n 12.418278,16 8,16 Z M8,15 C11.8659932,15 15,11.8659932 15,8 C15,4.13400675 11.8659932,1 8,1 C4.13400675,1 1,4.13400675\n 1,8 C1,11.8659932 4.13400675,15 8,15 Z M5,7 C4.44771525,7 4,6.55228475 4,6 C4,5.44771525 4.44771525,5 5,5 C5.55228475,5\n 6,5.44771525 6,6 C6,6.55228475 5.55228475,7 5,7 Z M11,7 C10.4477153,7 10,6.55228475 10,6 C10,5.44771525 10.4477153,5 11,5\n C11.5522847,5 12,5.44771525 12,6 C12,6.55228475 11.5522847,7 11,7 Z M4,10 L12,10 C11.5415129,11.7252272 9.9244686,13 8,13\n C6.0755314,13 4.45848714,11.7252272 4,10 Z\" fill=\"#293040\"></path>\n</g>\n</svg>";
|
|
23
|
+
export declare const SCREENSHOT_ICON = "<svg width=\"16px\" height=\"16px\" viewBox=\"0 0 16 16\" version=\"1.1\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g transform=\"translate(-1529.000000, -96.000000)\">\n <g transform=\"translate(1529.000000, 96.000000)\">\n <rect fill=\"#000000\" fill-rule=\"nonzero\" opacity=\"0\" x=\"0\" y=\"0\" width=\"16\" height=\"16\"></rect>\n <polyline stroke=\"currentColor\" points=\"16 14 2 14 2 0 2 0\"></polyline>\n <polyline stroke=\"currentColor\" points=\"4 2 14 2 14 12\"></polyline>\n <rect fill=\"currentColor\" x=\"0\" y=\"1.5\" width=\"2\" height=\"1\"></rect>\n <rect fill=\"currentColor\"\n transform=\"translate(14.000000, 15.000000)\n rotate(-90.000000)\n translate(-14.000000, -15.000000) \" x=\"13\" y=\"14.5\" width=\"2\" height=\"1\">\n </rect>\n </g>\n </g>\n</g>\n</svg>";
|
|
24
|
+
export declare const CODE_ICON = "<svg t=\"1721956397010\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"4254\" width=\"20\" height=\"20\"><path d=\"M438.4 849.1l222.7-646.7c0.2-0.5 0.3-1.1 0.4-1.6L438.4 849.1z\" opacity=\".224\" p-id=\"4255\"></path><path d=\"M661.2 168.7h-67.5c-3.4 0-6.5 2.2-7.6 5.4L354.7 846c-0.3 0.8-0.4 1.7-0.4 2.6 0 4.4 3.6 8 8 8h67.8c3.4 0 6.5-2.2 7.6-5.4l0.7-2.1 223.1-648.3 7.4-21.4c0.3-0.8 0.4-1.7 0.4-2.6-0.1-4.5-3.6-8.1-8.1-8.1zM954.6 502.1c-0.8-1-1.7-1.9-2.7-2.7l-219-171.3c-3.5-2.7-8.5-2.1-11.2 1.4-1.1 1.4-1.7 3.1-1.7 4.9v81.3c0 2.5 1.1 4.8 3.1 6.3l115 90-115 90c-1.9 1.5-3.1 3.8-3.1 6.3v81.3c0 4.4 3.6 8 8 8 1.8 0 3.5-0.6 4.9-1.7l219-171.3c6.9-5.4 8.2-15.5 2.7-22.5zM291.1 328.1l-219 171.3c-1 0.8-1.9 1.7-2.7 2.7-5.4 7-4.2 17 2.7 22.5l219 171.3c1.4 1.1 3.1 1.7 4.9 1.7 4.4 0 8-3.6 8-8v-81.3c0-2.5-1.1-4.8-3.1-6.3l-115-90 115-90c1.9-1.5 3.1-3.8 3.1-6.3v-81.3c0-1.8-0.6-3.5-1.7-4.9-2.7-3.5-7.7-4.1-11.2-1.4z\" p-id=\"4256\"></path></svg>";
|
|
25
|
+
export declare const MENTION_ICON = "<i class=\"icon-set-keyword\"></i>";
|
|
26
|
+
export declare const QUICK_MENU_ICON = "<i class=\"icon-publish\"></i>";
|
|
27
|
+
export declare const SAVE_ICON = "<i class=\"icon-save\"></i>";
|
|
28
|
+
export declare const HELP_ICON = "<svg t=\"1721963829631\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"9764\" width=\"20\" height=\"20\"><path d=\"M512 74.666667C270.933333 74.666667 74.666667 270.933333 74.666667 512S270.933333 949.333333 512 949.333333 949.333333 753.066667 949.333333 512 753.066667 74.666667 512 74.666667z m0 810.666666c-204.8 0-373.333333-168.533333-373.333333-373.333333S307.2 138.666667 512 138.666667 885.333333 307.2 885.333333 512 716.8 885.333333 512 885.333333z\" fill=\"#000000\" p-id=\"9765\"></path><path d=\"M512 746.666667m-42.666667 0a42.666667 42.666667 0 1 0 85.333334 0 42.666667 42.666667 0 1 0-85.333334 0Z\" fill=\"#000000\" p-id=\"9766\"></path><path d=\"M512 245.333333c-76.8 0-138.666667 61.866667-138.666667 138.666667 0 17.066667 14.933333 32 32 32s32-14.933333 32-32c0-40.533333 34.133333-74.666667 74.666667-74.666667s74.666667 34.133333 74.666667 74.666667c0 27.733333-53.333333 76.8-91.733334 100.266667-8.533333 6.4-14.933333 17.066667-14.933333 27.733333v106.666667c0 17.066667 14.933333 32 32 32s32-14.933333 32-32v-89.6c34.133333-25.6 106.666667-83.2 106.666667-145.066667 0-76.8-61.866667-138.666667-138.666667-138.666667z\" fill=\"#000000\" p-id=\"9767\"></path></svg>";
|
|
29
|
+
export declare const SCROLL_TABLE_ICON = "<i class=\"icon-switch\"></i>";
|
|
30
|
+
export declare const GLOBAL_LINK_ICON = "<svg t=\"1721963743677\" class=\"icon\" viewBox=\"0 0 1024 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"8628\" width=\"20\" height=\"20\"><path d=\"M713.130667 283.221333V228.352a9.159111 9.159111 0 0 0-9.130667-9.130667H265.102222a9.159111 9.159111 0 0 0-9.102222 9.130667v54.869333c0 5.034667 4.096 9.130667 9.130667 9.130667H704a9.159111 9.159111 0 0 0 9.130667-9.130667z m-448 100.579556a9.130667 9.130667 0 0 0-9.130667 9.130667v54.869333c0 5.006222 4.096 9.130667 9.130667 9.130667h210.289777a9.159111 9.159111 0 0 0 9.159112-9.130667v-54.869333a9.159111 9.159111 0 0 0-9.159112-9.130667H265.130667z m164.579555 516.551111H164.579556V95.800889h640v279.352889c0 5.034667 4.096 9.159111 9.130666 9.159111h64a9.159111 9.159111 0 0 0 9.130667-9.159111V50.090667c0-20.252444-16.327111-36.579556-36.551111-36.579556H118.840889c-20.195556 0-36.551111 16.327111-36.551111 36.579556v896c0 20.195556 16.327111 36.551111 36.551111 36.551111h310.869333a9.159111 9.159111 0 0 0 9.130667-9.130667v-64a9.159111 9.159111 0 0 0-9.130667-9.159111z\" fill=\"#000000\" fill-opacity=\".85\" p-id=\"8629\"></path><path d=\"M837.859556 656.298667l-107.861334 186.794666-68.977778-39.822222 107.861334-186.794667 68.977778 39.822223z\" fill=\"#000000\" p-id=\"8630\"></path><path d=\"M691.114667 514.844444a159.146667 159.146667 0 0 1 217.315555-58.225777 159.061333 159.061333 0 0 1 58.197334 217.315555l-55.637334 96.369778-68.977778-39.822222 55.637334-96.369778a79.416889 79.416889 0 1 0-137.557334-79.416889l-55.637333 96.369778-68.977778-39.822222 55.637334-96.369778V514.844444z m-28.558223 208.782223l-56.462222 97.792a79.416889 79.416889 0 0 0 137.557334 79.388444l56.462222-97.763555 68.977778 39.822222-56.462223 97.763555a159.061333 159.061333 0 1 1-275.484444-159.061333l56.433778-97.763556 68.977777 39.822223z\" fill=\"#000000\" p-id=\"8631\"></path></svg>";
|
|
31
|
+
export declare const FULLSCREEN_ICON = "<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"icon\" width=\"100%\" height=\"100%\" viewBox=\"0 0 1024 1024\" version=\"1.1\">\n <path fill=\"#333333\" d=\"M64 384h96V160h224.2V64H64zM639.8 64v96H864v224h96V64zM864 864H639.8v96H960V639.61h-96zM160 639.61H64V960h320.2v-96H160z\"/>\n</svg>";
|
|
32
|
+
export declare const FULLSCREEN_EXIT_ICON = "\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 24 24\">\n <path fill=\"currentColor\" d=\"M6 21v-3H3v-2h5v5zm10 0v-5h5v2h-3v3zM3 8V6h3V3h2v5zm13 0V3h2v3h3v2z\"/>\n </svg>\n";
|
|
33
|
+
export declare const TRIANGLE_DOWN_ICON = "<i class=\"icon-triangle-down\"></i>";
|
|
34
|
+
export declare const FORMAT_PAINTER_ICON = "<svg viewBox=\"0 0 32 32\"><path fill=\"currentColor\" d=\"M28.83 23.17L23 17.33V13a1 1 0 0 0-.29-.71l-10-10a1 1 0 0 0-1.42 0l-9 9a1 1 0 0 0 0 1.42l10 10A1 1 0 0 0 13 23h4.34l5.83 5.84a4 4 0 0 0 5.66-5.66ZM6 10.41l2.29 2.3l1.42-1.42L7.41 9L9 7.41l4.29 4.3l1.42-1.42L10.41 6L12 4.41L18.59 11L11 18.59L4.41 12Zm21.41 17a2 2 0 0 1-2.82 0l-6.13-6.12a1.8 1.8 0 0 0-.71-.29h-4.34l-1-1L20 12.41l1 1v4.34a1 1 0 0 0 .29.7l6.12 6.14a2 2 0 0 1 0 2.82\"/></svg>";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export * from './editor.config';
|
|
2
|
+
export declare const ICONS_CONFIG: {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
};
|
|
5
|
+
export declare const TABLE_RIGHT_MENU_CONFIG: {
|
|
6
|
+
copyCells: {
|
|
7
|
+
text: string;
|
|
8
|
+
};
|
|
9
|
+
copyTable: {
|
|
10
|
+
text: string;
|
|
11
|
+
};
|
|
12
|
+
cutCells: {
|
|
13
|
+
text: string;
|
|
14
|
+
};
|
|
15
|
+
emptyCells: {
|
|
16
|
+
text: string;
|
|
17
|
+
};
|
|
18
|
+
insertRowUp: {
|
|
19
|
+
text: string;
|
|
20
|
+
};
|
|
21
|
+
insertRowDown: {
|
|
22
|
+
text: string;
|
|
23
|
+
};
|
|
24
|
+
insertColumnLeft: {
|
|
25
|
+
text: string;
|
|
26
|
+
};
|
|
27
|
+
insertColumnRight: {
|
|
28
|
+
text: string;
|
|
29
|
+
};
|
|
30
|
+
mergeCells: {
|
|
31
|
+
text: string;
|
|
32
|
+
};
|
|
33
|
+
unmergeCells: {
|
|
34
|
+
text: string;
|
|
35
|
+
};
|
|
36
|
+
deleteRow: {
|
|
37
|
+
text: string;
|
|
38
|
+
};
|
|
39
|
+
deleteColumn: {
|
|
40
|
+
text: string;
|
|
41
|
+
};
|
|
42
|
+
deleteTable: {
|
|
43
|
+
text: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare function inputFile(type: any, accept: any): void;
|
|
47
|
+
export declare function getListValue(value: any, preListValue: any): any;
|
|
48
|
+
/** css namespace */
|
|
49
|
+
export declare const namespace = "fe";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { QuillOptions } from 'quill';
|
|
2
|
+
import { ScreenShotOptions } from '../../screenshot';
|
|
3
|
+
import { IEditorModules } from './editor-modules.interface';
|
|
4
|
+
import { EditorFormat } from './type';
|
|
5
|
+
|
|
6
|
+
export interface IEditorConfig extends QuillOptions {
|
|
7
|
+
format?: EditorFormat;
|
|
8
|
+
modules?: IEditorModules;
|
|
9
|
+
screenshotOnStaticPage?: boolean;
|
|
10
|
+
scrollingContainer?: HTMLElement | string | null;
|
|
11
|
+
trackChanges?: 'user' | 'all';
|
|
12
|
+
autoProtocol?: boolean | string;
|
|
13
|
+
editorPaste?: any;
|
|
14
|
+
uploadOption?: {
|
|
15
|
+
imageUploadToServer?: boolean;
|
|
16
|
+
imageAccept?: Array<string>[] | string;
|
|
17
|
+
fileAccept?: Array<string>[] | string;
|
|
18
|
+
isVideoPlay?: boolean;
|
|
19
|
+
};
|
|
20
|
+
screenshot?: Partial<ScreenShotOptions>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ToolbarOption } from './type';
|
|
2
|
+
|
|
3
|
+
export interface IEditorModules {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
clipboard?: {
|
|
6
|
+
matchers?: any[];
|
|
7
|
+
matchVisual?: boolean;
|
|
8
|
+
} | boolean;
|
|
9
|
+
history?: {
|
|
10
|
+
delay?: number;
|
|
11
|
+
maxStack?: number;
|
|
12
|
+
userOnly?: boolean;
|
|
13
|
+
} | boolean;
|
|
14
|
+
keyboard?: {
|
|
15
|
+
bindings?: any;
|
|
16
|
+
} | boolean;
|
|
17
|
+
syntax?: {
|
|
18
|
+
interval?: number;
|
|
19
|
+
languages?: {
|
|
20
|
+
key: string;
|
|
21
|
+
label: string;
|
|
22
|
+
}[];
|
|
23
|
+
hljs?: any;
|
|
24
|
+
} | boolean;
|
|
25
|
+
toolbar?: (string | string[])[][] | ToolbarOption | string | {
|
|
26
|
+
container?: string | string[] | ToolbarOption;
|
|
27
|
+
handlers?: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
} | boolean;
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from './additional-toolbar-item.interface';
|
|
2
|
+
export * from './content-change.interface';
|
|
3
|
+
export * from './content-save.interface';
|
|
4
|
+
export * from './counter-option.interface';
|
|
5
|
+
export * from './editor-config.interface';
|
|
6
|
+
export * from './editor-modules.interface';
|
|
7
|
+
export * from './editor-toolbar.interface';
|
|
8
|
+
export * from './file-operation.interface';
|
|
9
|
+
export * from './focus-change.interface';
|
|
10
|
+
export * from './fullscreen-module.interface';
|
|
11
|
+
export * from './help-panel-option.interface';
|
|
12
|
+
export * from './image-module.interface';
|
|
13
|
+
export * from './image-upload.interface';
|
|
14
|
+
export * from './load-on-demand-module.interface';
|
|
15
|
+
export * from './mention-module.interface';
|
|
16
|
+
export * from './paste-change.interface';
|
|
17
|
+
export * from './quick-menu-module.interface';
|
|
18
|
+
export * from './range.interface';
|
|
19
|
+
export * from './registry-options.interface';
|
|
20
|
+
export * from './selection-change.interface';
|
|
21
|
+
export * from './toolbar-item.interface';
|
|
22
|
+
export * from './type';
|
|
23
|
+
export * from './validate-error.interface';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface IToolbarItem {
|
|
2
|
+
indent?: string;
|
|
3
|
+
list?: string;
|
|
4
|
+
direction?: string;
|
|
5
|
+
header?: number | (boolean | number)[];
|
|
6
|
+
color?: string[];
|
|
7
|
+
background?: string[];
|
|
8
|
+
align?: string[];
|
|
9
|
+
script?: string;
|
|
10
|
+
font?: string[];
|
|
11
|
+
size?: boolean[] | string[];
|
|
12
|
+
lineheight?: number[];
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ICounterOption } from '../config/types';
|
|
2
|
+
import { default as Quill } from 'quill';
|
|
3
|
+
|
|
4
|
+
export default class Counter {
|
|
5
|
+
private quill;
|
|
6
|
+
container: HTMLDivElement;
|
|
7
|
+
options: ICounterOption;
|
|
8
|
+
defaultOptions: ICounterOption;
|
|
9
|
+
constructor(quill: Quill, options: ICounterOption);
|
|
10
|
+
renderCount: () => void;
|
|
11
|
+
getContentLength(format: any): number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const Clipboard: unknown;
|
|
2
|
+
declare class CustomClipboard extends Clipboard {
|
|
3
|
+
quill: any;
|
|
4
|
+
convert: any;
|
|
5
|
+
onCopy: any;
|
|
6
|
+
matchers: any;
|
|
7
|
+
prepareMatching(container: any, nodeMatches: any): any[][];
|
|
8
|
+
onCaptureCopy(e: any, isCut?: boolean): void;
|
|
9
|
+
onCapturePaste(e: any): void;
|
|
10
|
+
onPaste(range: any, { html, text, files: clipboardFiles, rtf }: {
|
|
11
|
+
html: any;
|
|
12
|
+
text: any;
|
|
13
|
+
files: any;
|
|
14
|
+
rtf: any;
|
|
15
|
+
}): void;
|
|
16
|
+
files2urls(files: any, placeholders: any, originalUrls: any, pastedDelta: any, imageIndexs: any): Promise<any[]>;
|
|
17
|
+
flipFilesArray(filesArr: any): any[][];
|
|
18
|
+
convertHexToBase64(hexString: any): string;
|
|
19
|
+
extractImageDataFromRtf(rtfData: any): any[];
|
|
20
|
+
extractFilesFromDelta(delta: any, clipboardFiles: any, hexImages?: any): Promise<any[]>;
|
|
21
|
+
getImgSelection(delta: any, imageIndex: any): {
|
|
22
|
+
index: number;
|
|
23
|
+
length: number;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export default CustomClipboard;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { default as Action } from './actions/Action';
|
|
2
|
+
import { Options } from './Options';
|
|
3
|
+
import { default as BlotSpec } from './specs/BlotSpec';
|
|
4
|
+
|
|
5
|
+
export default class BlotFormatter {
|
|
6
|
+
quill: any;
|
|
7
|
+
options: Options;
|
|
8
|
+
currentSpec: BlotSpec;
|
|
9
|
+
specs: BlotSpec[];
|
|
10
|
+
overlay: HTMLElement;
|
|
11
|
+
actions: Action[];
|
|
12
|
+
observer: any;
|
|
13
|
+
static register(): void;
|
|
14
|
+
constructor(quill: any, options?: any);
|
|
15
|
+
show(spec: BlotSpec): void;
|
|
16
|
+
hide(): void;
|
|
17
|
+
update(): void;
|
|
18
|
+
createActions(spec: BlotSpec): void;
|
|
19
|
+
destroyActions(): void;
|
|
20
|
+
repositionOverlay(): void;
|
|
21
|
+
setUserSelect(value: string): void;
|
|
22
|
+
onClick: () => void;
|
|
23
|
+
hideImageOverlay: (event: any) => void;
|
|
24
|
+
}
|