aloha-vue 1.2.78 → 1.2.80
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
|
@@ -4,6 +4,34 @@ import {
|
|
|
4
4
|
|
|
5
5
|
export const tinymcePluginOptions = ref({
|
|
6
6
|
propsDefault: {
|
|
7
|
+
branding: true,
|
|
8
|
+
contentCustomStyle: undefined,
|
|
9
|
+
contentLangs: [
|
|
10
|
+
{ title: "English", code: "en" },
|
|
11
|
+
{ title: "Spanish", code: "es" },
|
|
12
|
+
{ title: "French", code: "fr" },
|
|
13
|
+
{ title: "Deutsch", code: "de" },
|
|
14
|
+
{ title: "Portuguese", code: "pt" },
|
|
15
|
+
{ title: "Chinese", code: "zh" },
|
|
16
|
+
],
|
|
17
|
+
languageDefault: "de",
|
|
18
|
+
maxlength: undefined,
|
|
19
|
+
menu: undefined,
|
|
20
|
+
menubar: false,
|
|
21
|
+
plugins: "advlist code emoticons link lists table help",
|
|
22
|
+
promotion: false,
|
|
23
|
+
rows: undefined,
|
|
24
|
+
toolbar: [
|
|
25
|
+
{ name: "Formatierung", items: ["bold", "italic", "underline"] },
|
|
26
|
+
{ name: "Ausrichtung", items: ["alignleft", "aligncenter", "alignright", "alignjustify"] },
|
|
27
|
+
{ name: "Liste", items: ["bullist", "numlist"] },
|
|
28
|
+
{ name: "Einrücken", items: ["indent", "outdent"] },
|
|
29
|
+
{ name: "Sprache", items: ["language"] },
|
|
30
|
+
{ name: "Link", items: ["link", "unlink"] },
|
|
31
|
+
{ name: "Historie", items: ["undo", "redo"] },
|
|
32
|
+
{ name: "Hilfe", items: ["help"] },
|
|
33
|
+
],
|
|
34
|
+
toolbarMode: "wrap",
|
|
7
35
|
validElements: "a[href|target=_blank],strong/b,div,br,p,span,ul,ol,li,table,thead,tbody,th,tr,td",
|
|
8
36
|
},
|
|
9
37
|
});
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
--a_menu_2_submenu_open_color: var(--a_color_white);
|
|
51
51
|
--a_menu_2_submenu_border_radius: 1rem;
|
|
52
52
|
--a_menu_2_submenu_border_width: 2px;
|
|
53
|
-
--a_menu_2_search_height:
|
|
53
|
+
--a_menu_2_search_height: 38px;
|
|
54
54
|
--a_menu_2_search_link_focus_size: inset 0 0 1px 2px;
|
|
55
55
|
--a_menu_2_close_panel_width: 300px;
|
|
56
56
|
--a_menu_2_close_panel_max_height: 400px;
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
.a_menu_2__btn_toggle {
|
|
260
|
-
--a_menu_2_btn_toggle_width:
|
|
260
|
+
--a_menu_2_btn_toggle_width: 42px;
|
|
261
261
|
--a_menu_2_btn_toggle_height: 38px;
|
|
262
262
|
--a_menu_2_btn_toggle_bar_width: 18px;
|
|
263
263
|
--a_menu_2_btn_toggle_bar_height: 2px;
|
|
@@ -266,7 +266,9 @@
|
|
|
266
266
|
--a_menu_2_btn_toggle_bar_3_top: 24px;
|
|
267
267
|
--a_menu_2_btn_toggle_bar_bg: var(--a_btn_color, var(--a_color_white));
|
|
268
268
|
|
|
269
|
+
min-height: var(--a_menu_2_btn_toggle_height);
|
|
269
270
|
height: var(--a_menu_2_btn_toggle_height);
|
|
271
|
+
min-width: var(--a_menu_2_btn_toggle_width);
|
|
270
272
|
width: var(--a_menu_2_btn_toggle_width);
|
|
271
273
|
position: relative;
|
|
272
274
|
&:active,
|
|
@@ -28,76 +28,62 @@ export default {
|
|
|
28
28
|
branding: {
|
|
29
29
|
type: Boolean,
|
|
30
30
|
required: false,
|
|
31
|
-
default:
|
|
31
|
+
default: () => tinymcePluginOptions.value.propsDefault.branding,
|
|
32
32
|
},
|
|
33
33
|
contentCustomStyle: {
|
|
34
34
|
type: String,
|
|
35
35
|
required: false,
|
|
36
|
-
default:
|
|
36
|
+
default: () => tinymcePluginOptions.value.propsDefault.contentCustomStyle,
|
|
37
37
|
},
|
|
38
38
|
contentLangs: {
|
|
39
39
|
type: Array,
|
|
40
40
|
required: false,
|
|
41
|
-
default: () =>
|
|
42
|
-
{ title: "English", code: "en" },
|
|
43
|
-
{ title: "Spanish", code: "es" },
|
|
44
|
-
{ title: "French", code: "fr" },
|
|
45
|
-
{ title: "Deutsch", code: "de" },
|
|
46
|
-
{ title: "Portuguese", code: "pt" },
|
|
47
|
-
{ title: "Chinese", code: "zh" },
|
|
48
|
-
],
|
|
41
|
+
default: () => tinymcePluginOptions.value.propsDefault.contentLangs,
|
|
49
42
|
},
|
|
50
43
|
languageDefault: {
|
|
51
44
|
type: String,
|
|
52
45
|
required: false,
|
|
53
|
-
default:
|
|
46
|
+
default: () => tinymcePluginOptions.value.propsDefault.languageDefault,
|
|
54
47
|
},
|
|
55
48
|
maxlength: {
|
|
56
49
|
type: [String, Number],
|
|
57
50
|
required: false,
|
|
51
|
+
default: () => tinymcePluginOptions.value.propsDefault.maxlength,
|
|
58
52
|
},
|
|
59
53
|
menu: {
|
|
60
54
|
type: Object,
|
|
61
55
|
required: false,
|
|
62
|
-
default:
|
|
56
|
+
default: () => tinymcePluginOptions.value.propsDefault.menu,
|
|
63
57
|
},
|
|
64
58
|
menubar: {
|
|
65
59
|
type: [String, Boolean],
|
|
66
60
|
required: false,
|
|
67
|
-
default:
|
|
61
|
+
default: () => tinymcePluginOptions.value.propsDefault.menubar,
|
|
68
62
|
},
|
|
69
63
|
plugins: {
|
|
70
64
|
type: String,
|
|
71
65
|
required: false,
|
|
72
|
-
default:
|
|
66
|
+
default: () => tinymcePluginOptions.value.propsDefault.plugins,
|
|
73
67
|
},
|
|
74
68
|
promotion: {
|
|
75
69
|
type: Boolean,
|
|
76
70
|
required: false,
|
|
77
|
-
default:
|
|
71
|
+
default: () => tinymcePluginOptions.value.propsDefault.promotion,
|
|
78
72
|
},
|
|
79
73
|
rows: {
|
|
80
74
|
type: [String, Number],
|
|
81
75
|
required: false,
|
|
76
|
+
default: () => tinymcePluginOptions.value.propsDefault.rows,
|
|
82
77
|
},
|
|
83
78
|
toolbar: {
|
|
84
79
|
type: [String, Object, Array],
|
|
85
80
|
required: false,
|
|
86
|
-
default: () =>
|
|
87
|
-
{ name: "Formatierung", items: ["bold", "italic", "underline"] },
|
|
88
|
-
{ name: "Ausrichtung", items: ["alignleft", "aligncenter", "alignright", "alignjustify"] },
|
|
89
|
-
{ name: "Liste", items: ["bullist", "numlist"] },
|
|
90
|
-
{ name: "Einrücken", items: ["indent", "outdent"] },
|
|
91
|
-
{ name: "Sprache", items: ["language"] },
|
|
92
|
-
{ name: "Link", items: ["link", "unlink"] },
|
|
93
|
-
{ name: "Historie", items: ["undo", "redo"] },
|
|
94
|
-
{ name: "Hilfe", items: ["help"] },
|
|
95
|
-
]),
|
|
81
|
+
default: () => tinymcePluginOptions.value.propsDefault.toolbar,
|
|
96
82
|
},
|
|
97
83
|
toolbarMode: {
|
|
98
84
|
type: String,
|
|
99
85
|
required: false,
|
|
100
|
-
default:
|
|
86
|
+
default: () => tinymcePluginOptions.value.propsDefault.toolbarMode,
|
|
101
87
|
validator: value => ["floating", "sliding", "scrolling", "wrap"].indexOf(value) !== -1,
|
|
102
88
|
},
|
|
103
89
|
type: {
|