@zipify/wysiwyg 2.0.0-8 → 2.0.0
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/config/build/cli.config.js +2 -0
- package/dist/cli.js +1 -1
- package/dist/wysiwyg.css +9 -9
- package/dist/wysiwyg.mjs +199 -223
- package/lib/Wysiwyg.vue +3 -2
- package/lib/assets/icons/indicator.svg +1 -1
- package/lib/cli/commands/Command.js +5 -0
- package/lib/cli/commands/ToJsonCommand.js +16 -6
- package/lib/cli/commands/VersionCommand.js +11 -0
- package/lib/cli/commands/index.js +1 -0
- package/lib/components/toolbar/controls/AlignmentControl.vue +1 -1
- package/lib/components/toolbar/controls/FontColorControl.vue +1 -1
- package/lib/components/toolbar/controls/FontFamilyControl.vue +1 -1
- package/lib/components/toolbar/controls/FontSizeControl.vue +1 -1
- package/lib/components/toolbar/controls/FontWeightControl.vue +1 -1
- package/lib/components/toolbar/controls/ItalicControl.vue +1 -1
- package/lib/components/toolbar/controls/LineHeightControl.vue +1 -1
- package/lib/composables/__tests__/useEditor.test.js +1 -1
- package/lib/composables/useEditor.js +9 -8
- package/lib/entry-cli.js +3 -2
- package/lib/entry-lib.js +1 -1
- package/lib/extensions/StylePreset.js +2 -1
- package/lib/extensions/Superscript.js +25 -12
- package/lib/extensions/__tests__/StylePreset.test.js +4 -4
- package/lib/extensions/__tests__/__snapshots__/Superscript.test.js.snap +5 -5
- package/lib/extensions/core/NodeProcessor.js +0 -4
- package/lib/extensions/core/index.js +14 -7
- package/lib/extensions/core/plugins/PastePlugin.js +4 -0
- package/lib/extensions/core/plugins/PlaceholderPlugin.js +30 -0
- package/lib/extensions/core/plugins/ProseMirrorPlugin.js +4 -3
- package/lib/extensions/core/plugins/index.js +1 -0
- package/lib/extensions/index.js +2 -1
- package/lib/extensions/list/List.js +7 -4
- package/lib/extensions/list/ListItem.js +35 -4
- package/lib/styles/content.css +1 -1
- package/package.json +10 -3
- package/lib/extensions/core/CopyPasteProcessor.js +0 -10
package/dist/wysiwyg.css
CHANGED
|
@@ -547,20 +547,20 @@
|
|
|
547
547
|
color: rgb(var(--zw-color-white));
|
|
548
548
|
}
|
|
549
549
|
|
|
550
|
-
.zw-font-family-control[data-v-
|
|
550
|
+
.zw-font-family-control[data-v-5f8e49dc] {
|
|
551
551
|
width: 96px;
|
|
552
552
|
}
|
|
553
|
-
.zw-font-family-control__option[data-v-
|
|
553
|
+
.zw-font-family-control__option[data-v-5f8e49dc] {
|
|
554
554
|
font-weight: 400;
|
|
555
555
|
font-family: var(--zw-font-family-option);
|
|
556
556
|
width: 150px;
|
|
557
557
|
}
|
|
558
558
|
|
|
559
|
-
.zw-font-weight-control[data-v-
|
|
559
|
+
.zw-font-weight-control[data-v-00378d67] {
|
|
560
560
|
width: 60px;
|
|
561
561
|
}
|
|
562
562
|
|
|
563
|
-
.zw-font-size-control[data-v-
|
|
563
|
+
.zw-font-size-control[data-v-13bfe2fe] {
|
|
564
564
|
width: 72px;
|
|
565
565
|
}
|
|
566
566
|
|
|
@@ -571,17 +571,17 @@
|
|
|
571
571
|
flex-direction: column;
|
|
572
572
|
}
|
|
573
573
|
|
|
574
|
-
.zw-line-height-control__modal[data-v-
|
|
574
|
+
.zw-line-height-control__modal[data-v-2f58c40f] {
|
|
575
575
|
padding: var(--zw-offset-sm);
|
|
576
576
|
}
|
|
577
|
-
.zw-line-height-control__row[data-v-
|
|
577
|
+
.zw-line-height-control__row[data-v-2f58c40f] {
|
|
578
578
|
display: flex;
|
|
579
579
|
align-items: center;
|
|
580
580
|
}
|
|
581
|
-
.zw-line-height-control__range[data-v-
|
|
581
|
+
.zw-line-height-control__range[data-v-2f58c40f] {
|
|
582
582
|
width: 156px;
|
|
583
583
|
}
|
|
584
|
-
.zw-line-height-control__field[data-v-
|
|
584
|
+
.zw-line-height-control__field[data-v-2f58c40f] {
|
|
585
585
|
width: 64px;
|
|
586
586
|
margin-left: var(--zw-offset-sm);
|
|
587
587
|
}
|
|
@@ -743,7 +743,7 @@ $font-height--xs: 1.33;
|
|
|
743
743
|
$font-height--sm: 1.43;
|
|
744
744
|
$font-height--md: 1.72;
|
|
745
745
|
*/
|
|
746
|
-
.zw-wysiwyg__placeholder
|
|
746
|
+
.zw-wysiwyg__placeholder::before {
|
|
747
747
|
content: attr(data-placeholder);
|
|
748
748
|
color: rgb(var(--zw-color-n70));
|
|
749
749
|
float: left;
|