@zipify/wysiwyg 1.0.0-dev.16 → 1.0.0-dev.17
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.css +15 -0
- package/dist/wysiwyg.js +1 -1
- package/lib/Wysiwyg.vue +2 -3
- package/lib/components/base/index.js +1 -1
- package/lib/components/toolbar/Toolbar.vue +47 -7
- package/lib/components/toolbar/__tests__/Toolbar.test.js +6 -0
- package/lib/composables/useToolbar.js +15 -19
- package/package.json +1 -1
package/dist/wysiwyg.css
CHANGED
|
@@ -708,6 +708,21 @@
|
|
|
708
708
|
color: rgb(var(--zw-color-n70));
|
|
709
709
|
z-index: 999999;
|
|
710
710
|
}
|
|
711
|
+
.zw-toolbar[data-v-05accea6]::before,
|
|
712
|
+
.zw-toolbar[data-v-05accea6]::after {
|
|
713
|
+
content: "";
|
|
714
|
+
display: block;
|
|
715
|
+
width: 100%;
|
|
716
|
+
height: calc(var(--zw-toolbar-offset-y) + 4px);
|
|
717
|
+
position: absolute;
|
|
718
|
+
--zw-toolbar-safe-zone: calc(-1 * var(--zw-toolbar-offset-y));
|
|
719
|
+
}
|
|
720
|
+
.zw-toolbar[data-v-05accea6]::before {
|
|
721
|
+
top: var(--zw-toolbar-safe-zone);
|
|
722
|
+
}
|
|
723
|
+
.zw-toolbar[data-v-05accea6]::after {
|
|
724
|
+
bottom: var(--zw-toolbar-safe-zone);
|
|
725
|
+
}
|
|
711
726
|
.zw-toolbar--enter-active[data-v-05accea6],
|
|
712
727
|
.zw-toolbar--leave-active[data-v-05accea6] {
|
|
713
728
|
transition: opacity 0.15s ease-out;
|