@zipify/wysiwyg 1.3.0-0 → 1.3.0-1
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/cli.js +1 -1
- package/dist/wysiwyg.css +17 -18
- package/dist/wysiwyg.mjs +1 -1
- package/lib/components/base/Button.vue +1 -2
- package/lib/entry-cli.js +2 -1
- package/package.json +1 -1
package/dist/wysiwyg.css
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
column-gap: var(--zw-offset-xxs);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.zw-button[data-v-
|
|
26
|
+
.zw-button[data-v-1ea5f7a2] {
|
|
27
27
|
display: inline-flex;
|
|
28
28
|
align-items: center;
|
|
29
29
|
vertical-align: middle;
|
|
@@ -43,21 +43,21 @@
|
|
|
43
43
|
transition: 0.1s opacity ease-out;
|
|
44
44
|
will-change: opacity;
|
|
45
45
|
}
|
|
46
|
-
.zw-button[data-v-
|
|
46
|
+
.zw-button[data-v-1ea5f7a2]::-moz-focus-inner {
|
|
47
47
|
border: 0 !important;
|
|
48
48
|
}
|
|
49
|
-
.zw-button[data-v-
|
|
50
|
-
.zw-button[data-v-
|
|
49
|
+
.zw-button[data-v-1ea5f7a2]:hover,
|
|
50
|
+
.zw-button[data-v-1ea5f7a2]:focus {
|
|
51
51
|
text-decoration: none;
|
|
52
52
|
outline: none;
|
|
53
53
|
}
|
|
54
|
-
.zw-button[data-v-
|
|
54
|
+
.zw-button[data-v-1ea5f7a2]:disabled {
|
|
55
55
|
user-select: none;
|
|
56
56
|
box-shadow: none;
|
|
57
57
|
cursor: not-allowed;
|
|
58
58
|
opacity: 0.35;
|
|
59
59
|
}
|
|
60
|
-
.zw-button--toolbar[data-v-
|
|
60
|
+
.zw-button--toolbar[data-v-1ea5f7a2] {
|
|
61
61
|
border-radius: 1px;
|
|
62
62
|
min-height: 28px;
|
|
63
63
|
font-weight: var(--zw-font-weight-semibold);
|
|
@@ -67,36 +67,35 @@
|
|
|
67
67
|
transition-property: background-color, color, opacity;
|
|
68
68
|
will-change: background-color, color, opacity;
|
|
69
69
|
}
|
|
70
|
-
.zw-button--primary[data-v-
|
|
70
|
+
.zw-button--primary[data-v-1ea5f7a2] {
|
|
71
71
|
background-color: rgb(var(--zw-color-green));
|
|
72
72
|
color: rgb(var(--zw-color-white));
|
|
73
73
|
padding: var(--zw-offset-xxs) var(--zw-offset-sm);
|
|
74
74
|
line-height: var(--zw-line-height-md);
|
|
75
75
|
}
|
|
76
|
-
.zw-button--primary[data-v-
|
|
77
|
-
.zw-button--secondary[data-v-
|
|
76
|
+
.zw-button--primary[data-v-1ea5f7a2],
|
|
77
|
+
.zw-button--secondary[data-v-1ea5f7a2] {
|
|
78
78
|
color: rgb(var(--zw-color-white));
|
|
79
79
|
padding: var(--zw-offset-xxs) var(--zw-offset-sm);
|
|
80
80
|
font-weight: 600;
|
|
81
81
|
font-size: var(--zw-font-size-xs);
|
|
82
82
|
}
|
|
83
|
-
.zw-button--primary[data-v-
|
|
84
|
-
.zw-button--secondary[data-v-
|
|
83
|
+
.zw-button--primary[data-v-1ea5f7a2]:not(:disabled):hover,
|
|
84
|
+
.zw-button--secondary[data-v-1ea5f7a2]:not(:disabled):hover {
|
|
85
85
|
opacity: 0.9;
|
|
86
86
|
}
|
|
87
|
-
.zw-button--toolbar[data-v-
|
|
87
|
+
.zw-button--toolbar[data-v-1ea5f7a2]:not(.zw-button--icon) {
|
|
88
88
|
padding: var(--zw-offset-xxs) var(--zw-offset-xs);
|
|
89
89
|
}
|
|
90
|
-
.zw-button--toolbar[data-v-
|
|
91
|
-
.zw-button--toolbar[data-v-
|
|
92
|
-
.zw-button--toolbar.zw-button--active[data-v-
|
|
90
|
+
.zw-button--toolbar[data-v-1ea5f7a2]:not(:disabled):hover,
|
|
91
|
+
.zw-button--toolbar[data-v-1ea5f7a2]:not(:disabled):focus,
|
|
92
|
+
.zw-button--toolbar.zw-button--active[data-v-1ea5f7a2]:not(:disabled) {
|
|
93
93
|
color: rgb(var(--zw-color-white));
|
|
94
94
|
background-color: rgb(var(--zw-color-n5));
|
|
95
95
|
}
|
|
96
|
-
.zw-button__customized-indicator[data-v-
|
|
97
|
-
display: inline-block !important;
|
|
96
|
+
.zw-button__customized-indicator[data-v-1ea5f7a2] {
|
|
98
97
|
position: absolute;
|
|
99
|
-
top:
|
|
98
|
+
top: 0;
|
|
100
99
|
right: 2px;
|
|
101
100
|
}
|
|
102
101
|
|
package/dist/wysiwyg.mjs
CHANGED
|
@@ -14286,7 +14286,7 @@ var __component__$F = /* @__PURE__ */ normalizeComponent(
|
|
|
14286
14286
|
staticRenderFns$F,
|
|
14287
14287
|
false,
|
|
14288
14288
|
__vue2_injectStyles$F,
|
|
14289
|
-
"
|
|
14289
|
+
"1ea5f7a2",
|
|
14290
14290
|
null,
|
|
14291
14291
|
null
|
|
14292
14292
|
);
|
package/lib/entry-cli.js
CHANGED
|
@@ -9,6 +9,7 @@ function rubifyJSON(object) {
|
|
|
9
9
|
const json = JSON.stringify(object, skipNullValue, 2);
|
|
10
10
|
|
|
11
11
|
return json
|
|
12
|
+
.replace(/'/g, '\'')
|
|
12
13
|
.replace(/^[\t ]*"[^:\n\r]+(?<!\\)":/gm, (match) => match.replace(/"/g, ''))
|
|
13
14
|
.replace(/: "(.+)"([,\n])/g, ': \'$1\'$2');
|
|
14
15
|
}
|
|
@@ -19,7 +20,7 @@ program.command('to-json')
|
|
|
19
20
|
.action((html, { config }) => {
|
|
20
21
|
const configPath = resolve(process.cwd(), config);
|
|
21
22
|
const serializer = ContentSerializer.build(require(configPath).editor);
|
|
22
|
-
const json = rubifyJSON(serializer.toJSON(html));
|
|
23
|
+
const json = rubifyJSON(serializer.toJSON(html.replace(/\\"/g, '"')));
|
|
23
24
|
|
|
24
25
|
// eslint-disable-next-line no-console
|
|
25
26
|
console.log(json);
|