vue-editify 0.2.17 → 0.2.19
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/examples/App.vue +4 -12
 - package/lib/components/colors/colors.vue.d.ts +9 -0
 - package/lib/components/colors/props.d.ts +4 -0
 - package/lib/components/tooltip/tooltip.vue.d.ts +1 -1
 - package/lib/core/function.d.ts +112 -64
 - package/lib/core/rule.d.ts +23 -17
 - package/lib/core/shortcut.d.ts +36 -0
 - package/lib/core/tool.d.ts +12 -16
 - package/lib/editify/editify.vue.d.ts +162 -15
 - package/lib/editify/props.d.ts +1 -5
 - package/lib/editify/toolbar/props.d.ts +1 -1
 - package/lib/editify/toolbar/toolbar.vue.d.ts +3 -3
 - package/lib/editify.es.js +13660 -12954
 - package/lib/editify.umd.js +2 -2
 - package/lib/feature/align.d.ts +0 -14
 - package/lib/feature/heading.d.ts +0 -14
 - package/lib/feature/lineHeight.d.ts +0 -14
 - package/lib/feature/orderList.d.ts +1 -3
 - package/lib/feature/task.d.ts +0 -14
 - package/lib/feature/unorderList.d.ts +1 -3
 - package/lib/index.d.ts +164 -17
 - package/package.json +2 -2
 - package/src/components/button/button.vue +3 -3
 - package/src/components/checkbox/checkbox.vue +1 -1
 - package/src/components/colors/colors.vue +4 -4
 - package/src/components/colors/props.ts +6 -1
 - package/src/components/insertAttachment/insertAttachment.vue +1 -1
 - package/src/components/insertImage/insertImage.vue +1 -1
 - package/src/components/insertLink/insertLink.vue +1 -1
 - package/src/components/insertVideo/insertVideo.vue +1 -1
 - package/src/components/layer/layer.vue +9 -3
 - package/src/components/tooltip/tooltip.vue +1 -1
 - package/src/components/updateLink/updateLink.vue +1 -1
 - package/src/core/function.ts +873 -491
 - package/src/core/rule.ts +86 -368
 - package/src/core/shortcut.ts +386 -0
 - package/src/core/tool.ts +111 -159
 - package/src/css/var.less +0 -10
 - package/src/editify/editify.less +85 -39
 - package/src/editify/editify.vue +204 -88
 - package/src/editify/menu/menu.vue +2 -3
 - package/src/editify/props.ts +1 -6
 - package/src/editify/toolbar/props.ts +2 -2
 - package/src/editify/toolbar/toolbar.vue +12 -12
 - package/src/feature/align.ts +2 -62
 - package/src/feature/attachment.ts +14 -27
 - package/src/feature/backColor.ts +2 -1
 - package/src/feature/bold.ts +1 -1
 - package/src/feature/code.ts +1 -1
 - package/src/feature/codeBlock.ts +3 -3
 - package/src/feature/fontFamily.ts +1 -1
 - package/src/feature/fontSize.ts +1 -1
 - package/src/feature/foreColor.ts +2 -1
 - package/src/feature/formatClear.ts +1 -1
 - package/src/feature/fullScreen.ts +1 -1
 - package/src/feature/heading.ts +5 -76
 - package/src/feature/image.ts +1 -1
 - package/src/feature/indent.ts +1 -1
 - package/src/feature/infoBlock.ts +6 -37
 - package/src/feature/italic.ts +1 -1
 - package/src/feature/lineHeight.ts +2 -78
 - package/src/feature/link.ts +1 -1
 - package/src/feature/mathformula.ts +4 -51
 - package/src/feature/orderList.ts +168 -37
 - package/src/feature/quote.ts +3 -3
 - package/src/feature/redo.ts +1 -1
 - package/src/feature/separator.ts +1 -1
 - package/src/feature/sourceView.ts +1 -1
 - package/src/feature/strikethrough.ts +1 -1
 - package/src/feature/sub.ts +1 -1
 - package/src/feature/super.ts +1 -1
 - package/src/feature/table.ts +3 -3
 - package/src/feature/task.ts +4 -58
 - package/src/feature/underline.ts +1 -1
 - package/src/feature/undo.ts +1 -1
 - package/src/feature/unorderList.ts +108 -37
 - package/src/feature/video.ts +1 -1
 - package/src/icon/iconfont.css +39 -3
 - package/src/icon/iconfont.ttf +0 -0
 - package/src/icon/iconfont.woff +0 -0
 - package/src/index.ts +13 -11
 - package/src/locale/en_US.ts +109 -110
 - package/src/locale/zh_CN.ts +11 -12
 - package/lib/feature/panel.d.ts +0 -18
 - package/src/feature/panel.ts +0 -107
 
| 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { defineComponent, h, inject, PropType, Ref 
     | 
| 
       2 
     | 
    
         
            -
            import { AlexElementsRangeType, AlexEditor } from 'alex-editor'
         
     | 
| 
      
 1 
     | 
    
         
            +
            import { computed, defineComponent, h, inject, PropType, Ref } from 'vue'
         
     | 
| 
      
 2 
     | 
    
         
            +
            import { AlexElementsRangeType, AlexEditor, AlexElement } from 'alex-editor'
         
     | 
| 
       3 
3 
     | 
    
         
             
            import { MenuButtonType } from '@/core/tool'
         
     | 
| 
       4 
     | 
    
         
            -
            import {  
     | 
| 
      
 4 
     | 
    
         
            +
            import { elementIsList, getMatchElementByRange, hasPreInRange, hasTableInRange, rangeIsInList, setList } from '@/core/function'
         
     | 
| 
       5 
5 
     | 
    
         
             
            import { Button } from '@/components/button'
         
     | 
| 
       6 
6 
     | 
    
         
             
            import { Icon } from '@/components/icon'
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
         @@ -10,47 +10,119 @@ import { Icon } from '@/components/icon' 
     | 
|
| 
       10 
10 
     | 
    
         
             
             */
         
     | 
| 
       11 
11 
     | 
    
         
             
            const FEATURE_NAME = 'unorderList'
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
      
 13 
     | 
    
         
            +
            type orderType = 'disc' | 'circle' | 'square'
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
       13 
15 
     | 
    
         
             
            /**
         
     | 
| 
       14 
16 
     | 
    
         
             
             * 工具栏 - 无序列表
         
     | 
| 
       15 
17 
     | 
    
         
             
             */
         
     | 
| 
       16 
     | 
    
         
            -
            export const  
     | 
| 
       17 
     | 
    
         
            -
            	 
     | 
| 
      
 18 
     | 
    
         
            +
            export const UnorderListToolbar = defineComponent(
         
     | 
| 
      
 19 
     | 
    
         
            +
            	props => {
         
     | 
| 
       18 
20 
     | 
    
         
             
            		const editor = inject<Ref<AlexEditor>>('editor')!
         
     | 
| 
       19 
21 
     | 
    
         
             
            		const dataRangeCaches = inject<Ref<AlexElementsRangeType>>('dataRangeCaches')!
         
     | 
| 
       20 
22 
     | 
    
         
             
            		const $editTrans = inject<(key: string) => any>('$editTrans')!
         
     | 
| 
       21 
23 
     | 
    
         | 
| 
       22 
     | 
    
         
            -
            		const  
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
      
 24 
     | 
    
         
            +
            		const active = computed<(val: orderType) => boolean>(() => {
         
     | 
| 
      
 25 
     | 
    
         
            +
            			return val => {
         
     | 
| 
      
 26 
     | 
    
         
            +
            				const el = getMatchElementByRange(editor.value, dataRangeCaches.value, {
         
     | 
| 
      
 27 
     | 
    
         
            +
            					parsedom: 'div',
         
     | 
| 
      
 28 
     | 
    
         
            +
            					marks: {
         
     | 
| 
      
 29 
     | 
    
         
            +
            						'data-editify-list': 'ul'
         
     | 
| 
      
 30 
     | 
    
         
            +
            					}
         
     | 
| 
      
 31 
     | 
    
         
            +
            				})
         
     | 
| 
      
 32 
     | 
    
         
            +
            				if (el && el.marks!['data-editify-list-style']) {
         
     | 
| 
      
 33 
     | 
    
         
            +
            					return el.marks!['data-editify-list-style'] == val
         
     | 
| 
      
 34 
     | 
    
         
            +
            				}
         
     | 
| 
      
 35 
     | 
    
         
            +
            				return val == 'disc'
         
     | 
| 
      
 36 
     | 
    
         
            +
            			}
         
     | 
| 
       26 
37 
     | 
    
         
             
            		})
         
     | 
| 
       27 
38 
     | 
    
         | 
| 
      
 39 
     | 
    
         
            +
            		//设置前面列表的序标样式
         
     | 
| 
      
 40 
     | 
    
         
            +
            		const setPreviouseListStyle = (element: AlexElement, val: orderType) => {
         
     | 
| 
      
 41 
     | 
    
         
            +
            			element.marks!['data-editify-list-style'] = val
         
     | 
| 
      
 42 
     | 
    
         
            +
            			const previousElement = editor.value.getPreviousElement(element)
         
     | 
| 
      
 43 
     | 
    
         
            +
            			if (previousElement && elementIsList(previousElement, false)) {
         
     | 
| 
      
 44 
     | 
    
         
            +
            				setPreviouseListStyle(previousElement, val)
         
     | 
| 
      
 45 
     | 
    
         
            +
            			}
         
     | 
| 
      
 46 
     | 
    
         
            +
            		}
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
            		//设置后面列表的序标样式
         
     | 
| 
      
 49 
     | 
    
         
            +
            		const setNextListStyle = (element: AlexElement, val: orderType) => {
         
     | 
| 
      
 50 
     | 
    
         
            +
            			element.marks!['data-editify-list-style'] = val
         
     | 
| 
      
 51 
     | 
    
         
            +
            			const nextElement = editor.value.getNextElement(element)
         
     | 
| 
      
 52 
     | 
    
         
            +
            			if (nextElement && elementIsList(nextElement, false)) {
         
     | 
| 
      
 53 
     | 
    
         
            +
            				setNextListStyle(nextElement, val)
         
     | 
| 
      
 54 
     | 
    
         
            +
            			}
         
     | 
| 
      
 55 
     | 
    
         
            +
            		}
         
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
            		//设置列表序标样式
         
     | 
| 
      
 58 
     | 
    
         
            +
            		const setListStyle = (val: orderType) => {
         
     | 
| 
      
 59 
     | 
    
         
            +
            			const el = getMatchElementByRange(editor.value, dataRangeCaches.value, {
         
     | 
| 
      
 60 
     | 
    
         
            +
            				parsedom: 'div',
         
     | 
| 
      
 61 
     | 
    
         
            +
            				marks: {
         
     | 
| 
      
 62 
     | 
    
         
            +
            					'data-editify-list': 'ul'
         
     | 
| 
      
 63 
     | 
    
         
            +
            				}
         
     | 
| 
      
 64 
     | 
    
         
            +
            			})!
         
     | 
| 
      
 65 
     | 
    
         
            +
            			el.marks!['data-editify-list-style'] = val
         
     | 
| 
      
 66 
     | 
    
         
            +
            			const previousElement = editor.value.getPreviousElement(el)
         
     | 
| 
      
 67 
     | 
    
         
            +
            			const nextElement = editor.value.getNextElement(el)
         
     | 
| 
      
 68 
     | 
    
         
            +
            			if (previousElement && elementIsList(previousElement, false)) {
         
     | 
| 
      
 69 
     | 
    
         
            +
            				setPreviouseListStyle(previousElement, val)
         
     | 
| 
      
 70 
     | 
    
         
            +
            			}
         
     | 
| 
      
 71 
     | 
    
         
            +
            			if (nextElement && elementIsList(nextElement, false)) {
         
     | 
| 
      
 72 
     | 
    
         
            +
            				setNextListStyle(nextElement, val)
         
     | 
| 
      
 73 
     | 
    
         
            +
            			}
         
     | 
| 
      
 74 
     | 
    
         
            +
            			editor.value.domRender()
         
     | 
| 
      
 75 
     | 
    
         
            +
            			editor.value.rangeRender()
         
     | 
| 
      
 76 
     | 
    
         
            +
            		}
         
     | 
| 
      
 77 
     | 
    
         
            +
             
     | 
| 
       28 
78 
     | 
    
         
             
            		return () => {
         
     | 
| 
       29 
     | 
    
         
            -
            			return  
     | 
| 
       30 
     | 
    
         
            -
            				 
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
       38 
     | 
    
         
            -
             
     | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
       45 
     | 
    
         
            -
             
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
            						 
     | 
| 
       49 
     | 
    
         
            -
            						 
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
            						 
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
      
 79 
     | 
    
         
            +
            			return [
         
     | 
| 
      
 80 
     | 
    
         
            +
            				h(
         
     | 
| 
      
 81 
     | 
    
         
            +
            					Button,
         
     | 
| 
      
 82 
     | 
    
         
            +
            					{
         
     | 
| 
      
 83 
     | 
    
         
            +
            						name: 'disc',
         
     | 
| 
      
 84 
     | 
    
         
            +
            						title: $editTrans('disc'),
         
     | 
| 
      
 85 
     | 
    
         
            +
            						tooltip: props.tooltip,
         
     | 
| 
      
 86 
     | 
    
         
            +
            						color: props.color,
         
     | 
| 
      
 87 
     | 
    
         
            +
            						zIndex: props.zIndex,
         
     | 
| 
      
 88 
     | 
    
         
            +
            						active: active.value('disc'),
         
     | 
| 
      
 89 
     | 
    
         
            +
            						onOperate: () => setListStyle('disc')
         
     | 
| 
      
 90 
     | 
    
         
            +
            					},
         
     | 
| 
      
 91 
     | 
    
         
            +
            					{
         
     | 
| 
      
 92 
     | 
    
         
            +
            						default: () => h(Icon, { value: 'list-disc', style: { fontSize: '18px' } })
         
     | 
| 
      
 93 
     | 
    
         
            +
            					}
         
     | 
| 
      
 94 
     | 
    
         
            +
            				),
         
     | 
| 
      
 95 
     | 
    
         
            +
            				h(
         
     | 
| 
      
 96 
     | 
    
         
            +
            					Button,
         
     | 
| 
      
 97 
     | 
    
         
            +
            					{
         
     | 
| 
      
 98 
     | 
    
         
            +
            						name: 'circle',
         
     | 
| 
      
 99 
     | 
    
         
            +
            						title: $editTrans('circle'),
         
     | 
| 
      
 100 
     | 
    
         
            +
            						tooltip: props.tooltip,
         
     | 
| 
      
 101 
     | 
    
         
            +
            						color: props.color,
         
     | 
| 
      
 102 
     | 
    
         
            +
            						zIndex: props.zIndex,
         
     | 
| 
      
 103 
     | 
    
         
            +
            						active: active.value('circle'),
         
     | 
| 
      
 104 
     | 
    
         
            +
            						onOperate: () => setListStyle('circle')
         
     | 
| 
      
 105 
     | 
    
         
            +
            					},
         
     | 
| 
      
 106 
     | 
    
         
            +
            					{
         
     | 
| 
      
 107 
     | 
    
         
            +
            						default: () => h(Icon, { value: 'list-circle', style: { fontSize: '18px' } })
         
     | 
| 
      
 108 
     | 
    
         
            +
            					}
         
     | 
| 
      
 109 
     | 
    
         
            +
            				),
         
     | 
| 
      
 110 
     | 
    
         
            +
            				h(
         
     | 
| 
      
 111 
     | 
    
         
            +
            					Button,
         
     | 
| 
      
 112 
     | 
    
         
            +
            					{
         
     | 
| 
      
 113 
     | 
    
         
            +
            						name: 'square',
         
     | 
| 
      
 114 
     | 
    
         
            +
            						title: $editTrans('square'),
         
     | 
| 
      
 115 
     | 
    
         
            +
            						tooltip: props.tooltip,
         
     | 
| 
      
 116 
     | 
    
         
            +
            						color: props.color,
         
     | 
| 
      
 117 
     | 
    
         
            +
            						zIndex: props.zIndex,
         
     | 
| 
      
 118 
     | 
    
         
            +
            						active: active.value('square'),
         
     | 
| 
      
 119 
     | 
    
         
            +
            						onOperate: () => setListStyle('square')
         
     | 
| 
      
 120 
     | 
    
         
            +
            					},
         
     | 
| 
      
 121 
     | 
    
         
            +
            					{
         
     | 
| 
      
 122 
     | 
    
         
            +
            						default: () => h(Icon, { value: 'list-square', style: { fontSize: '18px' } })
         
     | 
| 
      
 123 
     | 
    
         
            +
            					}
         
     | 
| 
      
 124 
     | 
    
         
            +
            				)
         
     | 
| 
      
 125 
     | 
    
         
            +
            			]
         
     | 
| 
       54 
126 
     | 
    
         
             
            		}
         
     | 
| 
       55 
127 
     | 
    
         
             
            	},
         
     | 
| 
       56 
128 
     | 
    
         
             
            	{
         
     | 
| 
         @@ -58,7 +130,6 @@ export const UnorderListToolbarButton = defineComponent( 
     | 
|
| 
       58 
130 
     | 
    
         
             
            		props: {
         
     | 
| 
       59 
131 
     | 
    
         
             
            			color: String,
         
     | 
| 
       60 
132 
     | 
    
         
             
            			zIndex: Number,
         
     | 
| 
       61 
     | 
    
         
            -
            			config: Object as PropType<MenuButtonType>,
         
     | 
| 
       62 
133 
     | 
    
         
             
            			tooltip: Boolean
         
     | 
| 
       63 
134 
     | 
    
         
             
            		}
         
     | 
| 
       64 
135 
     | 
    
         
             
            	}
         
     | 
| 
         @@ -83,11 +154,11 @@ export const UnorderListMenuButton = defineComponent( 
     | 
|
| 
       83 
154 
     | 
    
         
             
            							tooltip: props.tooltip,
         
     | 
| 
       84 
155 
     | 
    
         
             
            							color: props.color,
         
     | 
| 
       85 
156 
     | 
    
         
             
            							zIndex: props.zIndex,
         
     | 
| 
       86 
     | 
    
         
            -
            							title: $editTrans('unorderList') 
     | 
| 
      
 157 
     | 
    
         
            +
            							title: `${$editTrans('unorderList')}${props.config.shortcut?.title ? `【${props.config.shortcut?.title}】` : ''}`,
         
     | 
| 
       87 
158 
     | 
    
         
             
            							leftBorder: props.config.leftBorder,
         
     | 
| 
       88 
159 
     | 
    
         
             
            							rightBorder: props.config.rightBorder,
         
     | 
| 
       89 
160 
     | 
    
         
             
            							active: rangeIsInList(editor.value, dataRangeCaches.value, false),
         
     | 
| 
       90 
     | 
    
         
            -
            							disabled: props.disabled || isSourceView.value || hasPreInRange(editor.value, dataRangeCaches.value) || hasTableInRange(editor.value, dataRangeCaches.value) ||  
     | 
| 
      
 161 
     | 
    
         
            +
            							disabled: props.disabled || isSourceView.value || hasPreInRange(editor.value, dataRangeCaches.value) || hasTableInRange(editor.value, dataRangeCaches.value) || props.config.disabled,
         
     | 
| 
       91 
162 
     | 
    
         
             
            							onOperate: () => {
         
     | 
| 
       92 
163 
     | 
    
         
             
            								setList(editor.value, dataRangeCaches.value, false)
         
     | 
| 
       93 
164 
     | 
    
         
             
            								editor.value.domRender()
         
     | 
    
        package/src/feature/video.ts
    CHANGED
    
    | 
         @@ -278,7 +278,7 @@ export const VideoMenuButton = defineComponent( 
     | 
|
| 
       278 
278 
     | 
    
         
             
            							zIndex: props.zIndex,
         
     | 
| 
       279 
279 
     | 
    
         
             
            							type: 'select',
         
     | 
| 
       280 
280 
     | 
    
         
             
            							hideScroll: true,
         
     | 
| 
       281 
     | 
    
         
            -
            							title: $editTrans(' 
     | 
| 
      
 281 
     | 
    
         
            +
            							title: `${$editTrans('insertVideo')}${props.config.shortcut?.title ? `【${props.config.shortcut?.title}】` : ''}`,
         
     | 
| 
       282 
282 
     | 
    
         
             
            							leftBorder: props.config.leftBorder,
         
     | 
| 
       283 
283 
     | 
    
         
             
            							rightBorder: props.config.rightBorder,
         
     | 
| 
       284 
284 
     | 
    
         
             
            							active: false,
         
     | 
    
        package/src/icon/iconfont.css
    CHANGED
    
    | 
         @@ -1,9 +1,45 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            .editify-icon-info:before {
         
     | 
| 
       2 
     | 
    
         
            -
            	content: '\ 
     | 
| 
      
 2 
     | 
    
         
            +
            	content: '\e600';
         
     | 
| 
       3 
3 
     | 
    
         
             
            }
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
     | 
    
         
            -
            .editify-icon- 
     | 
| 
       6 
     | 
    
         
            -
            	content: '\ 
     | 
| 
      
 5 
     | 
    
         
            +
            .editify-icon-list-square:before {
         
     | 
| 
      
 6 
     | 
    
         
            +
            	content: '\e659';
         
     | 
| 
      
 7 
     | 
    
         
            +
            }
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            .editify-icon-list-circle:before {
         
     | 
| 
      
 10 
     | 
    
         
            +
            	content: '\e65a';
         
     | 
| 
      
 11 
     | 
    
         
            +
            }
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            .editify-icon-list-disc:before {
         
     | 
| 
      
 14 
     | 
    
         
            +
            	content: '\e65b';
         
     | 
| 
      
 15 
     | 
    
         
            +
            }
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            .editify-icon-list-cjk-ideographic:before {
         
     | 
| 
      
 18 
     | 
    
         
            +
            	content: '\e658';
         
     | 
| 
      
 19 
     | 
    
         
            +
            }
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            .editify-icon-list-lower-roman:before {
         
     | 
| 
      
 22 
     | 
    
         
            +
            	content: '\e653';
         
     | 
| 
      
 23 
     | 
    
         
            +
            }
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            .editify-icon-list-lower-greek:before {
         
     | 
| 
      
 26 
     | 
    
         
            +
            	content: '\e654';
         
     | 
| 
      
 27 
     | 
    
         
            +
            }
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
            .editify-icon-list-upper-roman:before {
         
     | 
| 
      
 30 
     | 
    
         
            +
            	content: '\e655';
         
     | 
| 
      
 31 
     | 
    
         
            +
            }
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
            .editify-icon-list-decimal:before {
         
     | 
| 
      
 34 
     | 
    
         
            +
            	content: '\e656';
         
     | 
| 
      
 35 
     | 
    
         
            +
            }
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
            .editify-icon-list-lower-alpha:before {
         
     | 
| 
      
 38 
     | 
    
         
            +
            	content: '\e657';
         
     | 
| 
      
 39 
     | 
    
         
            +
            }
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
            .editify-icon-list-upper-alpha:before {
         
     | 
| 
      
 42 
     | 
    
         
            +
            	content: '\e651';
         
     | 
| 
       7 
43 
     | 
    
         
             
            }
         
     | 
| 
       8 
44 
     | 
    
         | 
| 
       9 
45 
     | 
    
         
             
            .editify-icon-merge-cells-up:before {
         
     | 
    
        package/src/icon/iconfont.ttf
    CHANGED
    
    | 
         Binary file 
     | 
    
        package/src/icon/iconfont.woff
    CHANGED
    
    | 
         Binary file 
     | 
    
        package/src/index.ts
    CHANGED
    
    | 
         @@ -57,40 +57,42 @@ export { 
     | 
|
| 
       57 
57 
     | 
    
         
             
            	elementIsMathformula,
         
     | 
| 
       58 
58 
     | 
    
         
             
            	getMathformulaByElement,
         
     | 
| 
       59 
59 
     | 
    
         
             
            	hasMathformulaInRange,
         
     | 
| 
       60 
     | 
    
         
            -
            	elementIsPanel,
         
     | 
| 
       61 
     | 
    
         
            -
            	getPanelByElement,
         
     | 
| 
       62 
     | 
    
         
            -
            	hasPanelInRange,
         
     | 
| 
       63 
60 
     | 
    
         
             
            	elementIsInfoBlock,
         
     | 
| 
       64 
61 
     | 
    
         
             
            	getInfoBlockByElement,
         
     | 
| 
       65 
62 
     | 
    
         
             
            	hasInfoBlockInRange,
         
     | 
| 
       66 
63 
     | 
    
         
             
            	rangeIsInInfoBlock,
         
     | 
| 
       67 
64 
     | 
    
         
             
            	hasPreInRange,
         
     | 
| 
      
 65 
     | 
    
         
            +
            	hasTableInRange,
         
     | 
| 
       68 
66 
     | 
    
         
             
            	hasQuoteInRange,
         
     | 
| 
      
 67 
     | 
    
         
            +
            	rangeIsInQuote,
         
     | 
| 
       69 
68 
     | 
    
         
             
            	hasLinkInRange,
         
     | 
| 
       70 
     | 
    
         
            -
            	hasTableInRange,
         
     | 
| 
       71 
69 
     | 
    
         
             
            	hasImageInRange,
         
     | 
| 
       72 
70 
     | 
    
         
             
            	hasVideoInRange,
         
     | 
| 
       73 
     | 
    
         
            -
            	rangeIsInQuote,
         
     | 
| 
       74 
71 
     | 
    
         
             
            	queryTextStyle,
         
     | 
| 
      
 72 
     | 
    
         
            +
            	setTextStyle,
         
     | 
| 
      
 73 
     | 
    
         
            +
            	removeTextStyle,
         
     | 
| 
       75 
74 
     | 
    
         
             
            	queryTextMark,
         
     | 
| 
      
 75 
     | 
    
         
            +
            	setTextMark,
         
     | 
| 
      
 76 
     | 
    
         
            +
            	removeTextMark,
         
     | 
| 
       76 
77 
     | 
    
         
             
            	getRangeText,
         
     | 
| 
      
 78 
     | 
    
         
            +
            	addSpaceTextToBothSides,
         
     | 
| 
      
 79 
     | 
    
         
            +
            	setHeading,
         
     | 
| 
       77 
80 
     | 
    
         
             
            	setIndentIncrease,
         
     | 
| 
       78 
81 
     | 
    
         
             
            	setIndentDecrease,
         
     | 
| 
       79 
82 
     | 
    
         
             
            	setQuote,
         
     | 
| 
       80 
83 
     | 
    
         
             
            	setAlign,
         
     | 
| 
       81 
84 
     | 
    
         
             
            	setList,
         
     | 
| 
       82 
85 
     | 
    
         
             
            	setTask,
         
     | 
| 
       83 
     | 
    
         
            -
            	setTextStyle,
         
     | 
| 
       84 
     | 
    
         
            -
            	setTextMark,
         
     | 
| 
       85 
     | 
    
         
            -
            	removeTextStyle,
         
     | 
| 
       86 
     | 
    
         
            -
            	removeTextMark,
         
     | 
| 
       87 
86 
     | 
    
         
             
            	setLineHeight,
         
     | 
| 
       88 
87 
     | 
    
         
             
            	insertLink,
         
     | 
| 
       89 
88 
     | 
    
         
             
            	insertImage,
         
     | 
| 
       90 
89 
     | 
    
         
             
            	insertVideo,
         
     | 
| 
       91 
90 
     | 
    
         
             
            	insertTable,
         
     | 
| 
       92 
91 
     | 
    
         
             
            	insertCodeBlock,
         
     | 
| 
       93 
     | 
    
         
            -
            	insertSeparator
         
     | 
| 
      
 92 
     | 
    
         
            +
            	insertSeparator,
         
     | 
| 
      
 93 
     | 
    
         
            +
            	insertAttachment,
         
     | 
| 
      
 94 
     | 
    
         
            +
            	insertMathformula,
         
     | 
| 
      
 95 
     | 
    
         
            +
            	insertInfoBlock
         
     | 
| 
       94 
96 
     | 
    
         
             
            } from '@/core/function'
         
     | 
| 
       95 
97 
     | 
    
         | 
| 
       96 
98 
     | 
    
         
             
            //安装函数
         
     | 
| 
         @@ -98,7 +100,7 @@ const install = (app: App) => { 
     | 
|
| 
       98 
100 
     | 
    
         
             
            	app.component(Editify.name!, Editify)
         
     | 
| 
       99 
101 
     | 
    
         
             
            }
         
     | 
| 
       100 
102 
     | 
    
         
             
            //版本号
         
     | 
| 
       101 
     | 
    
         
            -
            const version = '0.2. 
     | 
| 
      
 103 
     | 
    
         
            +
            const version = '0.2.19'
         
     | 
| 
       102 
104 
     | 
    
         | 
| 
       103 
105 
     | 
    
         
             
            //导出组件和安装函数
         
     | 
| 
       104 
106 
     | 
    
         
             
            export { Editify as default, Editify, install, AlexElement, version }
         
     | 
    
        package/src/locale/en_US.ts
    CHANGED
    
    | 
         @@ -1,116 +1,115 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import { ObjectType } from '@/core/tool'
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            export const en_US: ObjectType = {
         
     | 
| 
       4 
     | 
    
         
            -
            	textWrapUp: ' 
     | 
| 
       5 
     | 
    
         
            -
            	textWrapDown: ' 
     | 
| 
       6 
     | 
    
         
            -
            	insertRowTop: ' 
     | 
| 
       7 
     | 
    
         
            -
            	insertRowBottom: ' 
     | 
| 
       8 
     | 
    
         
            -
            	insertColumnLeft: ' 
     | 
| 
       9 
     | 
    
         
            -
            	insertColumnRight: ' 
     | 
| 
       10 
     | 
    
         
            -
            	deleteRow: ' 
     | 
| 
       11 
     | 
    
         
            -
            	deleteColumn: ' 
     | 
| 
       12 
     | 
    
         
            -
            	mergeCellsLeft: ' 
     | 
| 
       13 
     | 
    
         
            -
            	mergeCellsRight: ' 
     | 
| 
       14 
     | 
    
         
            -
            	mergeCellsUp: ' 
     | 
| 
       15 
     | 
    
         
            -
            	mergeCellsDown: ' 
     | 
| 
       16 
     | 
    
         
            -
            	deleteTable: ' 
     | 
| 
       17 
     | 
    
         
            -
            	selectLanguages: ' 
     | 
| 
       18 
     | 
    
         
            -
            	autoRecognize: ' 
     | 
| 
       19 
     | 
    
         
            -
            	linkAddress: ' 
     | 
| 
       20 
     | 
    
         
            -
            	newWindowOpen: ' 
     | 
| 
       21 
     | 
    
         
            -
            	removeLink: ' 
     | 
| 
       22 
     | 
    
         
            -
            	viewLink: ' 
     | 
| 
       23 
     | 
    
         
            -
            	linkUrlEnterPlaceholder: ' 
     | 
| 
       24 
     | 
    
         
            -
            	linkTextEnterPlaceholder: ' 
     | 
| 
       25 
     | 
    
         
            -
            	width30: ' 
     | 
| 
       26 
     | 
    
         
            -
            	width50: ' 
     | 
| 
       27 
     | 
    
         
            -
            	width100: ' 
     | 
| 
       28 
     | 
    
         
            -
            	deleteImage: ' 
     | 
| 
       29 
     | 
    
         
            -
            	autoplay: ' 
     | 
| 
       30 
     | 
    
         
            -
            	disabledAutoplay: ' 
     | 
| 
       31 
     | 
    
         
            -
            	loop: ' 
     | 
| 
       32 
     | 
    
         
            -
            	disabledLoop: ' 
     | 
| 
       33 
     | 
    
         
            -
            	muted: ' 
     | 
| 
       34 
     | 
    
         
            -
            	unmuted: ' 
     | 
| 
       35 
     | 
    
         
            -
            	controls: ' 
     | 
| 
       36 
     | 
    
         
            -
            	deleteVideo: ' 
     | 
| 
       37 
     | 
    
         
            -
            	heading: ' 
     | 
| 
       38 
     | 
    
         
            -
            	bold: ' 
     | 
| 
       39 
     | 
    
         
            -
            	h1: ' 
     | 
| 
       40 
     | 
    
         
            -
            	h2: ' 
     | 
| 
       41 
     | 
    
         
            -
            	h3: ' 
     | 
| 
       42 
     | 
    
         
            -
            	h4: ' 
     | 
| 
       43 
     | 
    
         
            -
            	h5: ' 
     | 
| 
       44 
     | 
    
         
            -
            	h6: ' 
     | 
| 
       45 
     | 
    
         
            -
            	text: ' 
     | 
| 
       46 
     | 
    
         
            -
            	italic: ' 
     | 
| 
       47 
     | 
    
         
            -
            	orderList: ' 
     | 
| 
       48 
     | 
    
         
            -
            	unorderList: ' 
     | 
| 
       49 
     | 
    
         
            -
            	strikethrough: ' 
     | 
| 
       50 
     | 
    
         
            -
            	underline: ' 
     | 
| 
       51 
     | 
    
         
            -
            	code: ' 
     | 
| 
       52 
     | 
    
         
            -
            	super: ' 
     | 
| 
       53 
     | 
    
         
            -
            	sub: ' 
     | 
| 
       54 
     | 
    
         
            -
            	fontSize: ' 
     | 
| 
       55 
     | 
    
         
            -
            	fontFamily: ' 
     | 
| 
       56 
     | 
    
         
            -
            	defaultFontFamily: ' 
     | 
| 
       57 
     | 
    
         
            -
            	foreColor: ' 
     | 
| 
       58 
     | 
    
         
            -
            	defaultColor: ' 
     | 
| 
       59 
     | 
    
         
            -
            	backColor: ' 
     | 
| 
       60 
     | 
    
         
            -
            	formatClear: ' 
     | 
| 
       61 
     | 
    
         
            -
            	defaultSize: ' 
     | 
| 
       62 
     | 
    
         
            -
            	totalWordCount: ' 
     | 
| 
       63 
     | 
    
         
            -
            	align: ' 
     | 
| 
       64 
     | 
    
         
            -
            	undo: ' 
     | 
| 
       65 
     | 
    
         
            -
            	redo: ' 
     | 
| 
       66 
     | 
    
         
            -
            	quote: ' 
     | 
| 
       67 
     | 
    
         
            -
            	separator: ' 
     | 
| 
       68 
     | 
    
         
            -
            	lineHeight: ' 
     | 
| 
       69 
     | 
    
         
            -
            	indent: ' 
     | 
| 
       70 
     | 
    
         
            -
            	insertLink: ' 
     | 
| 
       71 
     | 
    
         
            -
            	insertImage: ' 
     | 
| 
       72 
     | 
    
         
            -
            	remoteImage: ' 
     | 
| 
       73 
     | 
    
         
            -
            	uploadImage: ' 
     | 
| 
       74 
     | 
    
         
            -
            	imageUrlPlaceholder: ' 
     | 
| 
       75 
     | 
    
         
            -
            	insert: ' 
     | 
| 
       76 
     | 
    
         
            -
            	insertVideo: ' 
     | 
| 
       77 
     | 
    
         
            -
            	remoteVideo: ' 
     | 
| 
       78 
     | 
    
         
            -
            	uploadVideo: ' 
     | 
| 
       79 
     | 
    
         
            -
            	videoUrlPlaceholder: ' 
     | 
| 
       80 
     | 
    
         
            -
            	insertTable: ' 
     | 
| 
       81 
     | 
    
         
            -
            	inserCodeBlock: ' 
     | 
| 
       82 
     | 
    
         
            -
            	sourceView: ' 
     | 
| 
       83 
     | 
    
         
            -
            	task: ' 
     | 
| 
       84 
     | 
    
         
            -
            	indentIncrease: ' 
     | 
| 
       85 
     | 
    
         
            -
            	indentDecrease: ' 
     | 
| 
       86 
     | 
    
         
            -
            	alignLeft: ' 
     | 
| 
       87 
     | 
    
         
            -
            	alignCenter: ' 
     | 
| 
       88 
     | 
    
         
            -
            	alignRight: ' 
     | 
| 
       89 
     | 
    
         
            -
            	alignJustify: ' 
     | 
| 
       90 
     | 
    
         
            -
            	defaultLineHeight: ' 
     | 
| 
      
 4 
     | 
    
         
            +
            	textWrapUp: 'up feed',
         
     | 
| 
      
 5 
     | 
    
         
            +
            	textWrapDown: 'down feed',
         
     | 
| 
      
 6 
     | 
    
         
            +
            	insertRowTop: 'insert row forward',
         
     | 
| 
      
 7 
     | 
    
         
            +
            	insertRowBottom: 'insert row backward',
         
     | 
| 
      
 8 
     | 
    
         
            +
            	insertColumnLeft: 'insert column forward',
         
     | 
| 
      
 9 
     | 
    
         
            +
            	insertColumnRight: 'insert column backward',
         
     | 
| 
      
 10 
     | 
    
         
            +
            	deleteRow: 'delete rows',
         
     | 
| 
      
 11 
     | 
    
         
            +
            	deleteColumn: 'delete column',
         
     | 
| 
      
 12 
     | 
    
         
            +
            	mergeCellsLeft: 'merge cells to the left',
         
     | 
| 
      
 13 
     | 
    
         
            +
            	mergeCellsRight: 'merge cells to the right',
         
     | 
| 
      
 14 
     | 
    
         
            +
            	mergeCellsUp: 'merge cells up',
         
     | 
| 
      
 15 
     | 
    
         
            +
            	mergeCellsDown: 'merge cells down',
         
     | 
| 
      
 16 
     | 
    
         
            +
            	deleteTable: 'delete table',
         
     | 
| 
      
 17 
     | 
    
         
            +
            	selectLanguages: 'select language',
         
     | 
| 
      
 18 
     | 
    
         
            +
            	autoRecognize: 'auto',
         
     | 
| 
      
 19 
     | 
    
         
            +
            	linkAddress: 'link address',
         
     | 
| 
      
 20 
     | 
    
         
            +
            	newWindowOpen: 'open in new window',
         
     | 
| 
      
 21 
     | 
    
         
            +
            	removeLink: 'remove',
         
     | 
| 
      
 22 
     | 
    
         
            +
            	viewLink: 'view',
         
     | 
| 
      
 23 
     | 
    
         
            +
            	linkUrlEnterPlaceholder: 'please enter the link address',
         
     | 
| 
      
 24 
     | 
    
         
            +
            	linkTextEnterPlaceholder: 'please enter the link text',
         
     | 
| 
      
 25 
     | 
    
         
            +
            	width30: 'set the width to 30%',
         
     | 
| 
      
 26 
     | 
    
         
            +
            	width50: 'set the width to 50%',
         
     | 
| 
      
 27 
     | 
    
         
            +
            	width100: 'set the width to 100%',
         
     | 
| 
      
 28 
     | 
    
         
            +
            	deleteImage: 'delete image',
         
     | 
| 
      
 29 
     | 
    
         
            +
            	autoplay: 'autoplay',
         
     | 
| 
      
 30 
     | 
    
         
            +
            	disabledAutoplay: 'turn off autoplay',
         
     | 
| 
      
 31 
     | 
    
         
            +
            	loop: 'loop',
         
     | 
| 
      
 32 
     | 
    
         
            +
            	disabledLoop: 'close loop',
         
     | 
| 
      
 33 
     | 
    
         
            +
            	muted: 'mute',
         
     | 
| 
      
 34 
     | 
    
         
            +
            	unmuted: 'unmute',
         
     | 
| 
      
 35 
     | 
    
         
            +
            	controls: 'play control',
         
     | 
| 
      
 36 
     | 
    
         
            +
            	deleteVideo: 'delete video',
         
     | 
| 
      
 37 
     | 
    
         
            +
            	heading: 'heading',
         
     | 
| 
      
 38 
     | 
    
         
            +
            	bold: 'bold',
         
     | 
| 
      
 39 
     | 
    
         
            +
            	h1: 'heading 1',
         
     | 
| 
      
 40 
     | 
    
         
            +
            	h2: 'heading 2',
         
     | 
| 
      
 41 
     | 
    
         
            +
            	h3: 'heading 3',
         
     | 
| 
      
 42 
     | 
    
         
            +
            	h4: 'heading 4',
         
     | 
| 
      
 43 
     | 
    
         
            +
            	h5: 'heading 5',
         
     | 
| 
      
 44 
     | 
    
         
            +
            	h6: 'heading 6',
         
     | 
| 
      
 45 
     | 
    
         
            +
            	text: 'paragraph',
         
     | 
| 
      
 46 
     | 
    
         
            +
            	italic: 'italic',
         
     | 
| 
      
 47 
     | 
    
         
            +
            	orderList: 'ordered list',
         
     | 
| 
      
 48 
     | 
    
         
            +
            	unorderList: 'unordered list',
         
     | 
| 
      
 49 
     | 
    
         
            +
            	strikethrough: 'strikethrough',
         
     | 
| 
      
 50 
     | 
    
         
            +
            	underline: 'underline',
         
     | 
| 
      
 51 
     | 
    
         
            +
            	code: 'inline code',
         
     | 
| 
      
 52 
     | 
    
         
            +
            	super: 'superscript',
         
     | 
| 
      
 53 
     | 
    
         
            +
            	sub: 'subscript',
         
     | 
| 
      
 54 
     | 
    
         
            +
            	fontSize: 'font size',
         
     | 
| 
      
 55 
     | 
    
         
            +
            	fontFamily: 'font family',
         
     | 
| 
      
 56 
     | 
    
         
            +
            	defaultFontFamily: 'default',
         
     | 
| 
      
 57 
     | 
    
         
            +
            	foreColor: 'forecolor',
         
     | 
| 
      
 58 
     | 
    
         
            +
            	defaultColor: 'default color',
         
     | 
| 
      
 59 
     | 
    
         
            +
            	backColor: 'backcolor',
         
     | 
| 
      
 60 
     | 
    
         
            +
            	formatClear: 'clear format',
         
     | 
| 
      
 61 
     | 
    
         
            +
            	defaultSize: 'default',
         
     | 
| 
      
 62 
     | 
    
         
            +
            	totalWordCount: 'total word count: ',
         
     | 
| 
      
 63 
     | 
    
         
            +
            	align: 'alignment mode',
         
     | 
| 
      
 64 
     | 
    
         
            +
            	undo: 'undo',
         
     | 
| 
      
 65 
     | 
    
         
            +
            	redo: 'redo',
         
     | 
| 
      
 66 
     | 
    
         
            +
            	quote: 'quote',
         
     | 
| 
      
 67 
     | 
    
         
            +
            	separator: 'separator',
         
     | 
| 
      
 68 
     | 
    
         
            +
            	lineHeight: 'line height',
         
     | 
| 
      
 69 
     | 
    
         
            +
            	indent: 'indent',
         
     | 
| 
      
 70 
     | 
    
         
            +
            	insertLink: 'insert Link',
         
     | 
| 
      
 71 
     | 
    
         
            +
            	insertImage: 'insert Image',
         
     | 
| 
      
 72 
     | 
    
         
            +
            	remoteImage: 'remote',
         
     | 
| 
      
 73 
     | 
    
         
            +
            	uploadImage: 'upload',
         
     | 
| 
      
 74 
     | 
    
         
            +
            	imageUrlPlaceholder: 'please enter the image address',
         
     | 
| 
      
 75 
     | 
    
         
            +
            	insert: 'insert',
         
     | 
| 
      
 76 
     | 
    
         
            +
            	insertVideo: 'insert Video',
         
     | 
| 
      
 77 
     | 
    
         
            +
            	remoteVideo: 'remote',
         
     | 
| 
      
 78 
     | 
    
         
            +
            	uploadVideo: 'upload',
         
     | 
| 
      
 79 
     | 
    
         
            +
            	videoUrlPlaceholder: 'please enter the video address',
         
     | 
| 
      
 80 
     | 
    
         
            +
            	insertTable: 'insert table',
         
     | 
| 
      
 81 
     | 
    
         
            +
            	inserCodeBlock: 'insert code block',
         
     | 
| 
      
 82 
     | 
    
         
            +
            	sourceView: 'code view',
         
     | 
| 
      
 83 
     | 
    
         
            +
            	task: 'task',
         
     | 
| 
      
 84 
     | 
    
         
            +
            	indentIncrease: 'increase indent',
         
     | 
| 
      
 85 
     | 
    
         
            +
            	indentDecrease: 'reduce indent',
         
     | 
| 
      
 86 
     | 
    
         
            +
            	alignLeft: 'align left',
         
     | 
| 
      
 87 
     | 
    
         
            +
            	alignCenter: 'align center',
         
     | 
| 
      
 88 
     | 
    
         
            +
            	alignRight: 'align right',
         
     | 
| 
      
 89 
     | 
    
         
            +
            	alignJustify: 'align justify',
         
     | 
| 
      
 90 
     | 
    
         
            +
            	defaultLineHeight: 'default',
         
     | 
| 
       91 
91 
     | 
    
         
             
            	auto: 'auto',
         
     | 
| 
       92 
     | 
    
         
            -
            	fullScreen: ' 
     | 
| 
       93 
     | 
    
         
            -
            	confirm: ' 
     | 
| 
       94 
     | 
    
         
            -
             
     | 
| 
       95 
     | 
    
         
            -
            	 
     | 
| 
       96 
     | 
    
         
            -
            	 
     | 
| 
       97 
     | 
    
         
            -
            	 
     | 
| 
       98 
     | 
    
         
            -
            	 
     | 
| 
       99 
     | 
    
         
            -
            	 
     | 
| 
       100 
     | 
    
         
            -
            	attachmentUrlPlaceholder: 'Please enter the attachment address',
         
     | 
| 
       101 
     | 
    
         
            -
            	attachmentDownloadTitle: 'Click to download attachment',
         
     | 
| 
      
 92 
     | 
    
         
            +
            	fullScreen: 'full screen',
         
     | 
| 
      
 93 
     | 
    
         
            +
            	confirm: 'confirm',
         
     | 
| 
      
 94 
     | 
    
         
            +
            	insertAttachment: 'insert attachment',
         
     | 
| 
      
 95 
     | 
    
         
            +
            	uploadAttachment: 'upload',
         
     | 
| 
      
 96 
     | 
    
         
            +
            	remoteAttachment: 'remote',
         
     | 
| 
      
 97 
     | 
    
         
            +
            	attachmentNamePlaceholder: 'please enter the attachment name',
         
     | 
| 
      
 98 
     | 
    
         
            +
            	attachmentUrlPlaceholder: 'please enter the attachment address',
         
     | 
| 
      
 99 
     | 
    
         
            +
            	attachmentDownloadTitle: 'click to download attachment',
         
     | 
| 
       102 
100 
     | 
    
         
             
            	attachmentDefaultName: 'attachment',
         
     | 
| 
       103 
     | 
    
         
            -
             
     | 
| 
       104 
     | 
    
         
            -
            	 
     | 
| 
       105 
     | 
    
         
            -
            	 
     | 
| 
       106 
     | 
    
         
            -
            	 
     | 
| 
       107 
     | 
    
         
            -
            	 
     | 
| 
       108 
     | 
    
         
            -
             
     | 
| 
       109 
     | 
    
         
            -
            	 
     | 
| 
       110 
     | 
    
         
            -
            	 
     | 
| 
       111 
     | 
    
         
            -
            	 
     | 
| 
       112 
     | 
    
         
            -
            	 
     | 
| 
       113 
     | 
    
         
            -
             
     | 
| 
       114 
     | 
    
         
            -
            	 
     | 
| 
       115 
     | 
    
         
            -
            	 
     | 
| 
      
 101 
     | 
    
         
            +
            	insertMathformula: 'insert mathematical formula',
         
     | 
| 
      
 102 
     | 
    
         
            +
            	editMathformula: 'edit mathematical formula',
         
     | 
| 
      
 103 
     | 
    
         
            +
            	mathformulaPlaceholder: 'please enter latex syntax',
         
     | 
| 
      
 104 
     | 
    
         
            +
            	insertInfoBlock: 'insert Information Block',
         
     | 
| 
      
 105 
     | 
    
         
            +
            	decimal: 'decimal',
         
     | 
| 
      
 106 
     | 
    
         
            +
            	lowerRoman: 'lower roman',
         
     | 
| 
      
 107 
     | 
    
         
            +
            	upperRoman: 'upper roman',
         
     | 
| 
      
 108 
     | 
    
         
            +
            	lowerAlpha: 'lower alpha',
         
     | 
| 
      
 109 
     | 
    
         
            +
            	upperAlpha: 'upper alpha',
         
     | 
| 
      
 110 
     | 
    
         
            +
            	lowerGreek: 'lower greek',
         
     | 
| 
      
 111 
     | 
    
         
            +
            	cjkIdeographic: 'cjk ideographic',
         
     | 
| 
      
 112 
     | 
    
         
            +
            	disc: 'disc',
         
     | 
| 
      
 113 
     | 
    
         
            +
            	circle: 'circle',
         
     | 
| 
      
 114 
     | 
    
         
            +
            	square: 'square'
         
     | 
| 
       116 
115 
     | 
    
         
             
            }
         
     | 
    
        package/src/locale/zh_CN.ts
    CHANGED
    
    | 
         @@ -91,8 +91,6 @@ export const zh_CN: ObjectType = { 
     | 
|
| 
       91 
91 
     | 
    
         
             
            	auto: '自适应',
         
     | 
| 
       92 
92 
     | 
    
         
             
            	fullScreen: '全屏',
         
     | 
| 
       93 
93 
     | 
    
         
             
            	confirm: '确定',
         
     | 
| 
       94 
     | 
    
         
            -
             
     | 
| 
       95 
     | 
    
         
            -
            	//附件插件语言配置
         
     | 
| 
       96 
94 
     | 
    
         
             
            	insertAttachment: '插入附件',
         
     | 
| 
       97 
95 
     | 
    
         
             
            	uploadAttachment: '上传附件',
         
     | 
| 
       98 
96 
     | 
    
         
             
            	remoteAttachment: '远程地址',
         
     | 
| 
         @@ -100,17 +98,18 @@ export const zh_CN: ObjectType = { 
     | 
|
| 
       100 
98 
     | 
    
         
             
            	attachmentUrlPlaceholder: '请输入附件地址',
         
     | 
| 
       101 
99 
     | 
    
         
             
            	attachmentDownloadTitle: '点击下载附件',
         
     | 
| 
       102 
100 
     | 
    
         
             
            	attachmentDefaultName: '附件',
         
     | 
| 
       103 
     | 
    
         
            -
             
     | 
| 
       104 
     | 
    
         
            -
            	//数学公式插件语言配置
         
     | 
| 
       105 
101 
     | 
    
         
             
            	insertMathformula: '插入数学公式',
         
     | 
| 
       106 
102 
     | 
    
         
             
            	editMathformula: '编辑数学公式',
         
     | 
| 
       107 
103 
     | 
    
         
             
            	mathformulaPlaceholder: '请输入LaTex语法',
         
     | 
| 
       108 
     | 
    
         
            -
             
     | 
| 
       109 
     | 
    
         
            -
            	 
     | 
| 
       110 
     | 
    
         
            -
            	 
     | 
| 
       111 
     | 
    
         
            -
            	 
     | 
| 
       112 
     | 
    
         
            -
            	 
     | 
| 
       113 
     | 
    
         
            -
             
     | 
| 
       114 
     | 
    
         
            -
            	 
     | 
| 
       115 
     | 
    
         
            -
            	 
     | 
| 
      
 104 
     | 
    
         
            +
            	insertInfoBlock: '插入信息块',
         
     | 
| 
      
 105 
     | 
    
         
            +
            	decimal: '默认数字',
         
     | 
| 
      
 106 
     | 
    
         
            +
            	lowerRoman: '小写罗马数字',
         
     | 
| 
      
 107 
     | 
    
         
            +
            	upperRoman: '大写罗马数字',
         
     | 
| 
      
 108 
     | 
    
         
            +
            	lowerAlpha: '小写英文字母',
         
     | 
| 
      
 109 
     | 
    
         
            +
            	upperAlpha: '大写英文字母',
         
     | 
| 
      
 110 
     | 
    
         
            +
            	lowerGreek: '小写希腊字母',
         
     | 
| 
      
 111 
     | 
    
         
            +
            	cjkIdeographic: '表意数字',
         
     | 
| 
      
 112 
     | 
    
         
            +
            	disc: '实心圆',
         
     | 
| 
      
 113 
     | 
    
         
            +
            	circle: '空心圆',
         
     | 
| 
      
 114 
     | 
    
         
            +
            	square: '实心方块'
         
     | 
| 
       116 
115 
     | 
    
         
             
            }
         
     | 
    
        package/lib/feature/panel.d.ts
    DELETED
    
    | 
         @@ -1,18 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { MenuButtonType } from '../core/tool';
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            /**
         
     | 
| 
       4 
     | 
    
         
            -
             * 菜单栏 - 插入面板
         
     | 
| 
       5 
     | 
    
         
            -
             */
         
     | 
| 
       6 
     | 
    
         
            -
            export declare const PanelMenuButton: import('vue').DefineSetupFnComponent<{
         
     | 
| 
       7 
     | 
    
         
            -
                color: string;
         
     | 
| 
       8 
     | 
    
         
            -
                zIndex: number;
         
     | 
| 
       9 
     | 
    
         
            -
                config: MenuButtonType;
         
     | 
| 
       10 
     | 
    
         
            -
                tooltip: boolean;
         
     | 
| 
       11 
     | 
    
         
            -
                disabled: boolean;
         
     | 
| 
       12 
     | 
    
         
            -
            }, {}, {}, {
         
     | 
| 
       13 
     | 
    
         
            -
                color: string;
         
     | 
| 
       14 
     | 
    
         
            -
                zIndex: number;
         
     | 
| 
       15 
     | 
    
         
            -
                config: MenuButtonType;
         
     | 
| 
       16 
     | 
    
         
            -
                tooltip: boolean;
         
     | 
| 
       17 
     | 
    
         
            -
                disabled: boolean;
         
     | 
| 
       18 
     | 
    
         
            -
            } & {}, import('vue').PublicProps>;
         
     |