@zipify/wysiwyg 1.0.0-dev.57 → 1.0.0-dev.58
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/wysiwyg.mjs +1 -1
- package/lib/Wysiwyg.vue +2 -2
- package/package.json +1 -1
package/dist/wysiwyg.mjs
CHANGED
|
@@ -18273,7 +18273,7 @@ const Ra = 5, dp = 112, mL = {
|
|
|
18273
18273
|
})
|
|
18274
18274
|
}), f = new Array(dp - Ra + 1).fill(0).map((h, p) => String(p + Ra)), d = new sI({
|
|
18275
18275
|
listRef: fe(r, "favoriteColors"),
|
|
18276
|
-
triggerUpdate: (h) => e("
|
|
18276
|
+
triggerUpdate: (h) => e("update-favorite-colors", h)
|
|
18277
18277
|
});
|
|
18278
18278
|
return ut(L.EDITOR, c), ut(L.FONTS, t), ut(L.FONT_SIZES, f), ut(L.LOCAL_STORAGE, new oI(localStorage)), ut(L.FAVORITE_COLORS, d), ut(L.PAGE_BLOCKS, u), {
|
|
18279
18279
|
editor: c,
|
package/lib/Wysiwyg.vue
CHANGED
|
@@ -112,7 +112,7 @@ export default {
|
|
|
112
112
|
|
|
113
113
|
emits: [
|
|
114
114
|
'input',
|
|
115
|
-
'
|
|
115
|
+
'update-favorite-colors'
|
|
116
116
|
],
|
|
117
117
|
|
|
118
118
|
setup(props, { emit }) {
|
|
@@ -162,7 +162,7 @@ export default {
|
|
|
162
162
|
|
|
163
163
|
const favoriteColors = new FavoriteColors({
|
|
164
164
|
listRef: toRef(props, 'favoriteColors'),
|
|
165
|
-
triggerUpdate: (colors) => emit('
|
|
165
|
+
triggerUpdate: (colors) => emit('update-favorite-colors', colors)
|
|
166
166
|
});
|
|
167
167
|
|
|
168
168
|
provide(InjectionTokens.EDITOR, editor);
|