aloha-vue 1.0.96 → 1.0.98
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
|
@@ -45,6 +45,21 @@ export default {
|
|
|
45
45
|
type: [String, Number],
|
|
46
46
|
required: false,
|
|
47
47
|
},
|
|
48
|
+
menu: {
|
|
49
|
+
type: Object,
|
|
50
|
+
required: false,
|
|
51
|
+
default: undefined,
|
|
52
|
+
},
|
|
53
|
+
menubar: {
|
|
54
|
+
type: [String, Boolean],
|
|
55
|
+
required: false,
|
|
56
|
+
default: false,
|
|
57
|
+
},
|
|
58
|
+
plugins: {
|
|
59
|
+
type: String,
|
|
60
|
+
required: false,
|
|
61
|
+
default: "advlist code emoticons link lists table help",
|
|
62
|
+
},
|
|
48
63
|
promotion: {
|
|
49
64
|
type: Boolean,
|
|
50
65
|
required: false,
|
|
@@ -62,26 +77,17 @@ export default {
|
|
|
62
77
|
{ name: "Ausrichtung", items: ["alignleft", "aligncenter", "alignright", "alignjustify"] },
|
|
63
78
|
{ name: "Liste", items: ["bullist", "numlist"] },
|
|
64
79
|
{ name: "Einrücken", items: ["indent", "outdent"] },
|
|
65
|
-
{ name: "Historie", items: ["undo", "redo"] },
|
|
66
80
|
{ name: "Sprache", items: ["language"] },
|
|
67
81
|
{ name: "Link", items: ["link", "unlink"] },
|
|
82
|
+
{ name: "Historie", items: ["undo", "redo"] },
|
|
68
83
|
{ name: "Hilfe", items: ["help"] },
|
|
69
84
|
]),
|
|
70
85
|
},
|
|
71
|
-
|
|
72
|
-
type: Object,
|
|
73
|
-
required: false,
|
|
74
|
-
default: undefined,
|
|
75
|
-
},
|
|
76
|
-
menubar: {
|
|
77
|
-
type: [String, Boolean],
|
|
78
|
-
required: false,
|
|
79
|
-
default: false,
|
|
80
|
-
},
|
|
81
|
-
plugins: {
|
|
86
|
+
toolbarMode: {
|
|
82
87
|
type: String,
|
|
83
88
|
required: false,
|
|
84
|
-
default: "
|
|
89
|
+
default: "wrap",
|
|
90
|
+
validator: value => ["floating", "sliding", "scrolling", "wrap"].indexOf(value) !== -1,
|
|
85
91
|
},
|
|
86
92
|
type: {
|
|
87
93
|
type: String,
|
|
@@ -51,6 +51,7 @@ export default function ATinymceAPI(props, context, {
|
|
|
51
51
|
const plugins = toRef(props, "plugins");
|
|
52
52
|
const promotion = toRef(props, "promotion");
|
|
53
53
|
const toolbar = toRef(props, "toolbar");
|
|
54
|
+
const toolbarMode = toRef(props, "toolbarMode");
|
|
54
55
|
|
|
55
56
|
let vueEditor = null;
|
|
56
57
|
|
|
@@ -59,6 +60,7 @@ export default function ATinymceAPI(props, context, {
|
|
|
59
60
|
selector: `#${ htmlIdLocal.value }`,
|
|
60
61
|
plugins: plugins.value,
|
|
61
62
|
toolbar: toolbar.value,
|
|
63
|
+
toolbar_mode: toolbarMode.value,
|
|
62
64
|
skin: false,
|
|
63
65
|
content_css: false,
|
|
64
66
|
content_style: `${ contentUiSkinCss.toString() }\n${ contentCss.toString() }`,
|