goodteditor-ui 1.0.30 → 1.0.31
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "goodteditor-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.31",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"homepage": "https://goodt-ui.netlify.app/",
|
|
6
6
|
"scripts": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@tiptap/extension-font-family": "^2.0.0-beta.207",
|
|
17
17
|
"@tiptap/extension-image": "^2.0.0-beta.27",
|
|
18
18
|
"@tiptap/extension-link": "^2.0.0-beta.36",
|
|
19
|
-
"@tiptap/extension-table": "2.0.0-beta.48",
|
|
19
|
+
"@tiptap/extension-table": "^2.0.0-beta.48",
|
|
20
20
|
"@tiptap/extension-table-cell": "^2.0.0-beta.20",
|
|
21
21
|
"@tiptap/extension-table-header": "^2.0.0-beta.22",
|
|
22
22
|
"@tiptap/extension-table-row": "^2.0.0-beta.19",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :title="title">
|
|
3
3
|
<button
|
|
4
|
-
:class="{ 'btn-outline': !isActive
|
|
4
|
+
:class="{ 'btn-outline': !isActive }"
|
|
5
5
|
:disabled="!isEnabled"
|
|
6
|
-
class="btn btn-small btn-icon"
|
|
6
|
+
class="btn btn-small btn-icon btn-primary"
|
|
7
7
|
@click.stop="onClick">
|
|
8
8
|
<div class="icon">
|
|
9
9
|
<i :class="icon" class="mdi"></i>
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
<div class="col col-vmid col-12-12">
|
|
52
52
|
<ui-select
|
|
53
53
|
v-model="image.align"
|
|
54
|
-
:options="
|
|
54
|
+
:options="AlignOptions"
|
|
55
55
|
size="small"
|
|
56
56
|
class="w-100"
|
|
57
57
|
@change="onChange" />
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
<div class="col col-vmid col-12-12">
|
|
68
68
|
<input-units
|
|
69
69
|
v-model="image.width"
|
|
70
|
-
:units="
|
|
70
|
+
:units="SizeUnits"
|
|
71
71
|
:disabled="image.isResponsive"
|
|
72
72
|
size="small"
|
|
73
73
|
@change="onChange">
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<div class="col col-vmid col-12-12">
|
|
84
84
|
<input-units
|
|
85
85
|
v-model="image.height"
|
|
86
|
-
:units="
|
|
86
|
+
:units="SizeUnits"
|
|
87
87
|
:disabled="image.isResponsive"
|
|
88
88
|
size="small"
|
|
89
89
|
@change="onChange">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<grid class="editor" v-bind="
|
|
2
|
+
<grid class="editor" v-bind="GridProps">
|
|
3
3
|
<template #editor-toolbar="{ style }">
|
|
4
4
|
<div :style="style" class="editor-toolbar">
|
|
5
5
|
<!--
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
</div>
|
|
50
50
|
</template>
|
|
51
51
|
<template #editor-content="{ style }">
|
|
52
|
-
<div :style="style" class="
|
|
53
|
-
<div class="h-100">
|
|
52
|
+
<div :style="style" class="pad-v-l1" >
|
|
53
|
+
<div class="editor-content h-100">
|
|
54
54
|
<editor-content :editor="editor" class="h-100"/>
|
|
55
55
|
</div>
|
|
56
56
|
</div>
|
|
@@ -167,7 +167,7 @@ export default {
|
|
|
167
167
|
autofocus: 'end',
|
|
168
168
|
editorProps: {
|
|
169
169
|
attributes: {
|
|
170
|
-
class: '
|
|
170
|
+
class: 'pad-3 scroll-y',
|
|
171
171
|
style: 'min-height: 100%; height: 0;'
|
|
172
172
|
}
|
|
173
173
|
},
|
|
@@ -262,5 +262,9 @@ export default {
|
|
|
262
262
|
& .ProseMirror-selectednode {
|
|
263
263
|
outline: 2px solid var(--color-focus);
|
|
264
264
|
}
|
|
265
|
+
|
|
266
|
+
& img {
|
|
267
|
+
display: block;
|
|
268
|
+
}
|
|
265
269
|
}
|
|
266
270
|
</style>
|