@ebl-vue/editor-render 2.31.25 → 2.31.29
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/index.d.ts +1 -0
- package/dist/index.mjs +120 -101
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/list.css +184 -164
- package/dist/styles/quote.css +1 -1
- package/package.json +1 -1
- package/src/EditorRender.vue +0 -43
- package/src/components/List.vue +0 -40
- package/src/components/alert.vue +0 -21
- package/src/components/code.vue +0 -114
- package/src/components/delimiter.vue +0 -19
- package/src/components/h1.vue +0 -19
- package/src/components/h2.vue +0 -19
- package/src/components/h3.vue +0 -19
- package/src/components/h4.vue +0 -19
- package/src/components/h5.vue +0 -19
- package/src/components/h6.vue +0 -19
- package/src/components/image.vue +0 -31
- package/src/components/index.ts +0 -54
- package/src/components/paragraph.vue +0 -19
- package/src/components/quote.vue +0 -21
- package/src/components/table.vue +0 -46
- package/src/constants/index.ts +0 -1
- package/src/i18n/zh-cn.ts +0 -158
- package/src/icons/index.ts +0 -93
- package/src/index.ts +0 -12
- package/src/installer.ts +0 -21
- package/src/styles/alert.css +0 -151
- package/src/styles/block-alignment.css +0 -9
- package/src/styles/code.css +0 -214
- package/src/styles/color.css +0 -27
- package/src/styles/delimiter.css +0 -14
- package/src/styles/header.css +0 -20
- package/src/styles/image.css +0 -156
- package/src/styles/indent.css +0 -86
- package/src/styles/index.css +0 -68
- package/src/styles/inline-code.css +0 -11
- package/src/styles/list.css +0 -202
- package/src/styles/marker.css +0 -4
- package/src/styles/outline.css +0 -52
- package/src/styles/paragraph.css +0 -23
- package/src/styles/quote.css +0 -26
- package/src/styles/table.css +0 -388
- package/src/styles/underline.css +0 -3
- package/src/types.ts +0 -5
- package/src/utils/index.ts +0 -15
- package/src/utils/install.ts +0 -19
- package/tsconfig.json +0 -37
- package/vite.config.ts +0 -80
package/src/components/code.vue
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="`cdx-block ce-editorjs-x-shiki`" :style="`${shikiContent?.preStyle}`">
|
|
3
|
-
<div class="ce-editorjs-x-shiki__selector">
|
|
4
|
-
<div class="ce-editorjs-x-shiki__lang">{{block.data.lang}}</div>
|
|
5
|
-
<div class="ce-editorjs-x-shiki__copy" ref="copyRef">
|
|
6
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"
|
|
7
|
-
viewBox="0 0 24 24">
|
|
8
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
9
|
-
d="M17.25 8.5H10.25C9.2835 8.5 8.5 9.2835 8.5 10.25V17.25C8.5 18.2165 9.2835 19 10.25 19H17.25C18.2165 19 19 18.2165 19 17.25V10.25C19 9.2835 18.2165 8.5 17.25 8.5Z">
|
|
10
|
-
</path>
|
|
11
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
12
|
-
d="M15.5 8.5V6.75C15.5 6.28587 15.3156 5.84075 14.9874 5.51256C14.6592 5.18437 14.2141 5 13.75 5H6.75C6.28587 5 5.84075 5.18437 5.51256 5.51256C5.18437 5.84075 5 6.28587 5 6.75V13.75C5 14.2141 5.18437 14.6592 5.51256 14.9874C5.84075 15.3156 6.28587 15.5 6.75 15.5H8.5">
|
|
13
|
-
</path>
|
|
14
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
15
|
-
d="M12 12L15.5 12"></path>
|
|
16
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
17
|
-
d="M12 15.5L15.5 15.5"></path>
|
|
18
|
-
</svg>
|
|
19
|
-
<div class="ce-editorjs-x-shiki__copy_tip">已复制</div>
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
<div ref="codeRef" class="ce-editorjs-x-shiki__code" :style="`height:${block.data.resizeSize}px`">
|
|
23
|
-
<span v-html="shikiContent?.html"></span>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="ce-editorjs-x-shiki__code__dragHandler" @mousedown="dragStartHandler"></div>
|
|
26
|
-
</div>
|
|
27
|
-
</template>
|
|
28
|
-
<script lang="ts" setup>
|
|
29
|
-
import { ref } from 'vue';
|
|
30
|
-
import type { IBlock } from '../types';
|
|
31
|
-
import { codeToHtml } from 'shiki'
|
|
32
|
-
import { asyncComputed } from '@vueuse/core'
|
|
33
|
-
|
|
34
|
-
defineOptions({
|
|
35
|
-
name: 'eblcode',
|
|
36
|
-
inheritAttrs: false
|
|
37
|
-
})
|
|
38
|
-
const codeRef = ref<HTMLElement | null>(null);
|
|
39
|
-
const block = defineModel<IBlock>("block", {
|
|
40
|
-
default: {
|
|
41
|
-
id: "",
|
|
42
|
-
type: "",
|
|
43
|
-
data: {}
|
|
44
|
-
},
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
const shikiContent = asyncComputed(async () => {
|
|
48
|
-
let preStyle = ''
|
|
49
|
-
const html = await codeToHtml(block.value.data.code, {
|
|
50
|
-
lang: block.value.data.lang,
|
|
51
|
-
theme: block.value.data.theme || "github-dark-dimmed",
|
|
52
|
-
|
|
53
|
-
transformers: [
|
|
54
|
-
{
|
|
55
|
-
preprocess(code) {
|
|
56
|
-
// if (code.endsWith('\n'))
|
|
57
|
-
return `${code}\n`
|
|
58
|
-
},
|
|
59
|
-
pre(node) {
|
|
60
|
-
this.addClassToHast(node, 'ce-editorjs-x-shiki__span')
|
|
61
|
-
preStyle = node.properties?.style as string || ''
|
|
62
|
-
},
|
|
63
|
-
line(node, line) {
|
|
64
|
-
node.properties = node.properties || {};
|
|
65
|
-
node.properties['data-line'] = line;
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
})
|
|
72
|
-
|
|
73
|
-
return {
|
|
74
|
-
html,
|
|
75
|
-
preStyle
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
function dragStartHandler(e: MouseEvent) {
|
|
81
|
-
if(!codeRef.value) return;
|
|
82
|
-
resize(codeRef.value, e);
|
|
83
|
-
}
|
|
84
|
-
function resize(codeElement: HTMLElement, event: MouseEvent) {
|
|
85
|
-
let startY = event.clientY;
|
|
86
|
-
let startHeight = parseInt(window.getComputedStyle(codeElement).height, 10);
|
|
87
|
-
const mouseMoveHandler = (e: MouseEvent) => {
|
|
88
|
-
const dY = e.clientY - startY;
|
|
89
|
-
let newHeight = startHeight + dY;
|
|
90
|
-
if (newHeight < 100) {
|
|
91
|
-
newHeight = 100;
|
|
92
|
-
}
|
|
93
|
-
codeElement.style.height = newHeight + 'px';
|
|
94
|
-
};
|
|
95
|
-
const mouseUpHandler = () => {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
document.removeEventListener('mousemove', mouseMoveHandler);
|
|
99
|
-
document.removeEventListener('mouseup', mouseUpHandler);
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
document.addEventListener('mousemove', mouseMoveHandler);
|
|
103
|
-
document.addEventListener('mouseup', mouseUpHandler);
|
|
104
|
-
}
|
|
105
|
-
</script>
|
|
106
|
-
<style scoped>
|
|
107
|
-
.ce-editorjs-x-shiki__code {
|
|
108
|
-
overflow: auto;
|
|
109
|
-
}
|
|
110
|
-
.ce-editorjs-x-shiki__selector{
|
|
111
|
-
padding: 0 8px;
|
|
112
|
-
align-items: center;
|
|
113
|
-
}
|
|
114
|
-
</style>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="ce-delimiter cdx-block"><div class="ce-delimiter__line__wrapper"><div class="ce-delimiter__line"></div></div></div>
|
|
3
|
-
</template>
|
|
4
|
-
<script lang="ts" setup>
|
|
5
|
-
import type { IBlock } from '../types';
|
|
6
|
-
defineOptions({
|
|
7
|
-
name: 'ebldelimiter',
|
|
8
|
-
inheritAttrs: false
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
// const block = defineModel<IBlock>("block", {
|
|
12
|
-
// default: {
|
|
13
|
-
// id: "",
|
|
14
|
-
// type: "",
|
|
15
|
-
// data: {}
|
|
16
|
-
// },
|
|
17
|
-
// });
|
|
18
|
-
|
|
19
|
-
</script>
|
package/src/components/h1.vue
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<h1 class="ce-header" v-html="block.data.text"></h1>
|
|
3
|
-
</template>
|
|
4
|
-
<script lang="ts" setup>
|
|
5
|
-
import type { IBlock } from '../types';
|
|
6
|
-
defineOptions({
|
|
7
|
-
name: 'eblh1',
|
|
8
|
-
inheritAttrs: false
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
const block = defineModel<IBlock>("block", {
|
|
12
|
-
default: {
|
|
13
|
-
id: "",
|
|
14
|
-
type: "",
|
|
15
|
-
data: {}
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
</script>
|
package/src/components/h2.vue
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<h2 class="ce-header" v-html="block.data.text"></h2>
|
|
3
|
-
</template>
|
|
4
|
-
<script lang="ts" setup>
|
|
5
|
-
import type { IBlock } from '../types';
|
|
6
|
-
defineOptions({
|
|
7
|
-
name: 'eblh2',
|
|
8
|
-
inheritAttrs: false
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
const block = defineModel<IBlock>("block", {
|
|
12
|
-
default: {
|
|
13
|
-
id: "",
|
|
14
|
-
type: "",
|
|
15
|
-
data: {}
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
</script>
|
package/src/components/h3.vue
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<h3 class="ce-header" v-html="block.data.text"></h3>
|
|
3
|
-
</template>
|
|
4
|
-
<script lang="ts" setup>
|
|
5
|
-
import type { IBlock } from '../types';
|
|
6
|
-
defineOptions({
|
|
7
|
-
name: 'eblh3',
|
|
8
|
-
inheritAttrs: false
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
const block = defineModel<IBlock>("block", {
|
|
12
|
-
default: {
|
|
13
|
-
id: "",
|
|
14
|
-
type: "",
|
|
15
|
-
data: {}
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
</script>
|
package/src/components/h4.vue
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<h4 class="ce-header" v-html="block.data.text"></h4>
|
|
3
|
-
</template>
|
|
4
|
-
<script lang="ts" setup>
|
|
5
|
-
import type { IBlock } from '../types';
|
|
6
|
-
defineOptions({
|
|
7
|
-
name: 'eblh4',
|
|
8
|
-
inheritAttrs: false
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
const block = defineModel<IBlock>("block", {
|
|
12
|
-
default: {
|
|
13
|
-
id: "",
|
|
14
|
-
type: "",
|
|
15
|
-
data: {}
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
</script>
|
package/src/components/h5.vue
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<h5 class="ce-header" v-html="block.data.text"></h5>
|
|
3
|
-
</template>
|
|
4
|
-
<script lang="ts" setup>
|
|
5
|
-
import type { IBlock } from '../types';
|
|
6
|
-
defineOptions({
|
|
7
|
-
name: 'eblh5',
|
|
8
|
-
inheritAttrs: false
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
const block = defineModel<IBlock>("block", {
|
|
12
|
-
default: {
|
|
13
|
-
id: "",
|
|
14
|
-
type: "",
|
|
15
|
-
data: {}
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
</script>
|
package/src/components/h6.vue
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<h6 class="ce-header" v-html="block.data.text"></h6>
|
|
3
|
-
</template>
|
|
4
|
-
<script lang="ts" setup>
|
|
5
|
-
import type { IBlock } from '../types';
|
|
6
|
-
defineOptions({
|
|
7
|
-
name: 'eblh6',
|
|
8
|
-
inheritAttrs: false
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
const block = defineModel<IBlock>("block", {
|
|
12
|
-
default: {
|
|
13
|
-
id: "",
|
|
14
|
-
type: "",
|
|
15
|
-
data: {}
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
</script>
|
package/src/components/image.vue
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="cdx-block image-tool image-tool--filled">
|
|
3
|
-
<div class="image-tool__image">
|
|
4
|
-
<img class="image-tool__image-picture"
|
|
5
|
-
:src="block.data.file.url">
|
|
6
|
-
</div>
|
|
7
|
-
<div class="cdx-input image-tool__caption" contenteditable="true" data-placeholder="Caption" data-empty="true">
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
</template>
|
|
11
|
-
<script lang="ts" setup>
|
|
12
|
-
import type { IBlock } from '../types';
|
|
13
|
-
defineOptions({
|
|
14
|
-
name: 'eblimage',
|
|
15
|
-
inheritAttrs: false
|
|
16
|
-
})
|
|
17
|
-
|
|
18
|
-
const block = defineModel<IBlock>("block", {
|
|
19
|
-
default: {
|
|
20
|
-
id: "",
|
|
21
|
-
type: "",
|
|
22
|
-
data: {}
|
|
23
|
-
},
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
</script>
|
|
27
|
-
<style scoped>
|
|
28
|
-
.image-tool__image{
|
|
29
|
-
margin-top:15px;
|
|
30
|
-
}
|
|
31
|
-
</style>
|
package/src/components/index.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Plugin } from "vue";
|
|
2
|
-
import { withInstall } from "../utils/install"
|
|
3
|
-
import type { SFCWithInstall } from '@ebl-vue/basic-ele'
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import EditorRender from "../EditorRender.vue";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
//属性
|
|
10
|
-
import paragraph from "./paragraph.vue";
|
|
11
|
-
import h1 from "./h1.vue";
|
|
12
|
-
import h2 from "./h2.vue";
|
|
13
|
-
import h3 from "./h3.vue";
|
|
14
|
-
import h4 from "./h4.vue";
|
|
15
|
-
import h5 from "./h5.vue";
|
|
16
|
-
import h6 from "./h6.vue";
|
|
17
|
-
import alert from "./alert.vue";
|
|
18
|
-
import code from "./code.vue";
|
|
19
|
-
import delimiter from "./delimiter.vue";
|
|
20
|
-
import list from "./List.vue";
|
|
21
|
-
import quote from "./quote.vue";
|
|
22
|
-
import table from "./table.vue";
|
|
23
|
-
import image from "./image.vue";
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const items: any = [
|
|
28
|
-
EditorRender,
|
|
29
|
-
paragraph,
|
|
30
|
-
h1,
|
|
31
|
-
h2,
|
|
32
|
-
h3,
|
|
33
|
-
h4,
|
|
34
|
-
h5,
|
|
35
|
-
h6,
|
|
36
|
-
alert,
|
|
37
|
-
code,
|
|
38
|
-
delimiter,
|
|
39
|
-
list,
|
|
40
|
-
quote,
|
|
41
|
-
table,
|
|
42
|
-
image
|
|
43
|
-
];
|
|
44
|
-
|
|
45
|
-
let EblItems: Plugin[] = [];
|
|
46
|
-
for (let key in items) {
|
|
47
|
-
const eblele = items[key];
|
|
48
|
-
const EblProps: SFCWithInstall<typeof eblele> = withInstall(eblele);
|
|
49
|
-
|
|
50
|
-
EblItems.push(EblProps);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
export default EblItems;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="ce-paragraph cdx-block" v-html="block.data.text"></div>
|
|
3
|
-
</template>
|
|
4
|
-
<script lang="ts" setup>
|
|
5
|
-
import type { IBlock } from '../types';
|
|
6
|
-
defineOptions({
|
|
7
|
-
name: 'eblparagraph',
|
|
8
|
-
inheritAttrs: false
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
const block = defineModel<IBlock>("block", {
|
|
12
|
-
default: {
|
|
13
|
-
id: "",
|
|
14
|
-
type: "",
|
|
15
|
-
data: {}
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
</script>
|
package/src/components/quote.vue
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="cdx-block cdx-quote">
|
|
3
|
-
<blockquote class="cdx-input cdx-quote__text cdx-block-quote" v-html="block.data.text"></blockquote>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
<script lang="ts" setup>
|
|
7
|
-
import type { IBlock } from '../types';
|
|
8
|
-
defineOptions({
|
|
9
|
-
name: 'eblquote',
|
|
10
|
-
inheritAttrs: false
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
const block = defineModel<IBlock>("block", {
|
|
14
|
-
default: {
|
|
15
|
-
id: "",
|
|
16
|
-
type: "",
|
|
17
|
-
data: {}
|
|
18
|
-
},
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
</script>
|
package/src/components/table.vue
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="tc-wrap tc-wrap--readonly" :style="colWidthStyle">
|
|
3
|
-
<div class="tc-table " :class="{ 'tc-table--heading': block.data.withHeadings }">
|
|
4
|
-
<div class="tc-row" v-for="row in block.data.content">
|
|
5
|
-
<div class="tc-cell" v-for="col in row" v-html="col"></div>
|
|
6
|
-
</div>
|
|
7
|
-
</div>
|
|
8
|
-
</div>
|
|
9
|
-
</template>
|
|
10
|
-
<script lang="ts" setup>
|
|
11
|
-
import type { IBlock } from '../types';
|
|
12
|
-
import { computed} from 'vue';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
defineOptions({
|
|
16
|
-
name: 'ebltable',
|
|
17
|
-
inheritAttrs: false
|
|
18
|
-
})
|
|
19
|
-
|
|
20
|
-
const block = defineModel<IBlock>("block", {
|
|
21
|
-
default: {
|
|
22
|
-
id: "",
|
|
23
|
-
type: "",
|
|
24
|
-
data: {}
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
const colWidthStyle = computed(() => {
|
|
28
|
-
let colWidth = "";
|
|
29
|
-
if (block.value.data.colWidth && block.value.data.colWidth.length > 0) {
|
|
30
|
-
for (let i = 0; i < block.value.data.colWidth.length; i++) {
|
|
31
|
-
colWidth += " " + block.value.data.colWidth[i] + "px";
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
if (colWidth) {
|
|
35
|
-
return { '--col-width': colWidth };
|
|
36
|
-
} else {
|
|
37
|
-
return {};
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
</script>
|
|
42
|
-
<style scoped>
|
|
43
|
-
.tc-wrap--readonly {
|
|
44
|
-
margin-bottom: var(--toolbox-icon-size);
|
|
45
|
-
}
|
|
46
|
-
</style>
|
package/src/constants/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const INSTALLED_KEY = Symbol('INSTALLED_KEY')
|
package/src/i18n/zh-cn.ts
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import type { I18nConfig } from "@ebl-vue/editorjs/types/configs/i18n-config";
|
|
2
|
-
|
|
3
|
-
const zhCn: I18nConfig = {
|
|
4
|
-
messages: {
|
|
5
|
-
"ui": {
|
|
6
|
-
"blockTunes": {
|
|
7
|
-
"toggler": {
|
|
8
|
-
"Click to tune": "可拖拽和点击"
|
|
9
|
-
},
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
"toolbar": {
|
|
13
|
-
"toolbox": {
|
|
14
|
-
"Add": "添加",
|
|
15
|
-
"Filter": "过滤",
|
|
16
|
-
"Nothing found": "无内容"
|
|
17
|
-
},
|
|
18
|
-
"popover": {
|
|
19
|
-
"Filter": "过滤",
|
|
20
|
-
"Nothing found": "无内容"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"popover": {
|
|
24
|
-
"Filter": "筛选",
|
|
25
|
-
"Nothing found": "未找到任何内容",
|
|
26
|
-
/**
|
|
27
|
-
* Translation of "Convert To" at the Block Tunes Popover
|
|
28
|
-
*/
|
|
29
|
-
"Convert to": "转化为",
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"toolNames": {
|
|
34
|
-
"Text": "段落",
|
|
35
|
-
"H1": "一级标题",
|
|
36
|
-
"H2": "二级标题",
|
|
37
|
-
"H3": "三级标题",
|
|
38
|
-
"H4": "四级标题",
|
|
39
|
-
"H5": "五级标题",
|
|
40
|
-
"H6": "六级标题",
|
|
41
|
-
"Ordered List": "有序列表",
|
|
42
|
-
"Unordered List": "无序列表",
|
|
43
|
-
"Checklist": "任务列表",
|
|
44
|
-
"Quote": "引用",
|
|
45
|
-
"Code": "代码块",
|
|
46
|
-
"Delimiter": "分割线",
|
|
47
|
-
"Link": "链接",
|
|
48
|
-
"Bold": "加粗",
|
|
49
|
-
"Italic": "倾斜",
|
|
50
|
-
"Alert": "高亮块",
|
|
51
|
-
"indent": "缩进",
|
|
52
|
-
"Marker": "突出显示",
|
|
53
|
-
"Color": "文本颜色",
|
|
54
|
-
"Underline": "下划线",
|
|
55
|
-
"InlineCode": "行内代码",
|
|
56
|
-
"Table": "表格",
|
|
57
|
-
"Image": "图片",
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
},
|
|
62
|
-
"tools": {
|
|
63
|
-
image: {
|
|
64
|
-
"Couldn’t upload image. Please try another.": "上传图片失败,请稍后重试。"
|
|
65
|
-
},
|
|
66
|
-
table: {
|
|
67
|
-
"Add row above": "在上面插入行",
|
|
68
|
-
"Add row below": "在下面插入行",
|
|
69
|
-
"Delete row": "删除行",
|
|
70
|
-
"Add column to left": "在左边插入列",
|
|
71
|
-
"Add column to right": "在右边插入列",
|
|
72
|
-
"Delete column": "删除列",
|
|
73
|
-
"With headings": "使用标题行",
|
|
74
|
-
"Without headings": "不使用标题行"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
"marker": {
|
|
79
|
-
"Marker": "突出显示"
|
|
80
|
-
},
|
|
81
|
-
link: {
|
|
82
|
-
"Add a link":"添加链接",
|
|
83
|
-
"Save": "确定",
|
|
84
|
-
"Pasted link is not valid.":"链接地址无效"
|
|
85
|
-
},
|
|
86
|
-
"List": {
|
|
87
|
-
"Unordered": "无序",
|
|
88
|
-
"Ordered": "有序",
|
|
89
|
-
"Checklist": "任务列表",
|
|
90
|
-
"Counter type": "计数器类型",
|
|
91
|
-
"Numeric": "阿拉伯数字",
|
|
92
|
-
"Lower Roman": "小写罗马数字",
|
|
93
|
-
"Upper Roman": "大写罗马数字",
|
|
94
|
-
"Lower Alpha": "小写字母",
|
|
95
|
-
"Upper Alpha": "大写字母",
|
|
96
|
-
"Start with": "从"
|
|
97
|
-
},
|
|
98
|
-
"paragraph": {
|
|
99
|
-
"Enter something": "请输入内容",
|
|
100
|
-
},
|
|
101
|
-
|
|
102
|
-
"stub": {
|
|
103
|
-
'The block can not be displayed correctly.': '该模块不能放置在这里'
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
"code": {
|
|
107
|
-
"Enter your code": "输入代码",
|
|
108
|
-
"Copied": "已复制",
|
|
109
|
-
"Unable to copy": "复制失败"
|
|
110
|
-
},
|
|
111
|
-
"convertTo": {
|
|
112
|
-
"Convert to": "转化为"
|
|
113
|
-
},
|
|
114
|
-
"alert": {
|
|
115
|
-
"alert-primary": "主要样式",
|
|
116
|
-
"alert-secondary": "次要样式",
|
|
117
|
-
"alert-info": "信息",
|
|
118
|
-
"alert-success": "成功",
|
|
119
|
-
"alert-warning": "警告",
|
|
120
|
-
"alert-danger": "危险",
|
|
121
|
-
"alert-light": "浅色",
|
|
122
|
-
"alert-dark": "深色",
|
|
123
|
-
"align-left": "左对齐",
|
|
124
|
-
"align-center": "居中",
|
|
125
|
-
"align-right": "右对齐",
|
|
126
|
-
"Type here...": "输入内容"
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
"blockTunes": {
|
|
130
|
-
|
|
131
|
-
"delete": {
|
|
132
|
-
"Delete": "删除",
|
|
133
|
-
'Click to delete': "点击删除"
|
|
134
|
-
},
|
|
135
|
-
"moveUp": {
|
|
136
|
-
"Move up": "向上移"
|
|
137
|
-
},
|
|
138
|
-
"moveDown": {
|
|
139
|
-
"Move down": "向下移"
|
|
140
|
-
},
|
|
141
|
-
"filter": {
|
|
142
|
-
"Filter": "过滤"
|
|
143
|
-
},
|
|
144
|
-
"blockAlignment": {
|
|
145
|
-
"left align": "左对齐",
|
|
146
|
-
"center align": "居中对齐",
|
|
147
|
-
"right align": "右对齐",
|
|
148
|
-
"justify align": "两端对齐",
|
|
149
|
-
},
|
|
150
|
-
"indent": {
|
|
151
|
-
"Indent right": "向右缩进",
|
|
152
|
-
"Indent left": "向左缩进"
|
|
153
|
-
},
|
|
154
|
-
},
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
export default zhCn;
|