zydx-plus 1.20.120 → 1.20.121
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
|
@@ -193,13 +193,9 @@ class titleButtonMenu {
|
|
|
193
193
|
exec(editor, value) {
|
|
194
194
|
if (this.isDisabled(editor)) return
|
|
195
195
|
const resume = {
|
|
196
|
-
type: '
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
fileName: titleData.text,
|
|
200
|
-
children: [{text:''}]
|
|
201
|
-
}],
|
|
202
|
-
textAlign: 'center'
|
|
196
|
+
type: 'titleAttachment',
|
|
197
|
+
fileName: titleData.text,
|
|
198
|
+
children: [{text:''}]
|
|
203
199
|
}
|
|
204
200
|
const resume2 = {
|
|
205
201
|
type: 'paragraph',
|
|
@@ -233,13 +229,9 @@ class authorButtonMenu {
|
|
|
233
229
|
exec(editor, value) {
|
|
234
230
|
if (this.isDisabled(editor)) return
|
|
235
231
|
const resume = {
|
|
236
|
-
type: '
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
fileName: authorData.text,
|
|
240
|
-
children: [{text:''}]
|
|
241
|
-
}],
|
|
242
|
-
textAlign: 'center'
|
|
232
|
+
type: 'authorAttachment',
|
|
233
|
+
fileName: authorData.text,
|
|
234
|
+
children: [{text:''}]
|
|
243
235
|
}
|
|
244
236
|
const resume2 = {
|
|
245
237
|
type: 'paragraph',
|
|
@@ -17,7 +17,7 @@ function renderAttachment(elem, children, editor) {
|
|
|
17
17
|
[ elem.fileName ]
|
|
18
18
|
)
|
|
19
19
|
const attachVnode = h(
|
|
20
|
-
'
|
|
20
|
+
'p',
|
|
21
21
|
{
|
|
22
22
|
props: { contentEditable: false },
|
|
23
23
|
style: { display: 'inline-block',position: 'relative'},
|
|
@@ -38,10 +38,10 @@ function titleAttachment(elem, children, editor) {
|
|
|
38
38
|
[ elem.fileName ]
|
|
39
39
|
)
|
|
40
40
|
const attachVnode = h(
|
|
41
|
-
'
|
|
41
|
+
'p',
|
|
42
42
|
{
|
|
43
43
|
props: { contentEditable: false },
|
|
44
|
-
style: {
|
|
44
|
+
style: { textAlign: 'center'},
|
|
45
45
|
// on: { click() { console.log('clicked', link) } }
|
|
46
46
|
},
|
|
47
47
|
[ iconText]
|
|
@@ -59,10 +59,10 @@ function authorAttachment(elem, children, editor) {
|
|
|
59
59
|
[ elem.fileName ]
|
|
60
60
|
)
|
|
61
61
|
const attachVnode = h(
|
|
62
|
-
'
|
|
62
|
+
'p',
|
|
63
63
|
{
|
|
64
64
|
props: { contentEditable: false },
|
|
65
|
-
style: {
|
|
65
|
+
style: { textAlign: 'center'},
|
|
66
66
|
// on: { click() { console.log('clicked', link) } }
|
|
67
67
|
},
|
|
68
68
|
[ iconText]
|