@adminforth/rich-editor 1.6.6 → 1.6.8
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/build.log +2 -2
- package/custom/quillEditor.vue +99 -1
- package/dist/custom/quillEditor.vue +99 -1
- package/package.json +1 -1
package/build.log
CHANGED
|
@@ -10,5 +10,5 @@ custom/package.json
|
|
|
10
10
|
custom/quillEditor.vue
|
|
11
11
|
custom/tsconfig.json
|
|
12
12
|
|
|
13
|
-
sent
|
|
14
|
-
total size is
|
|
13
|
+
sent 32,124 bytes received 115 bytes 64,478.00 bytes/sec
|
|
14
|
+
total size is 31,707 speedup is 0.98
|
package/custom/quillEditor.vue
CHANGED
|
@@ -390,7 +390,7 @@ async function emitTextUpdate() {
|
|
|
390
390
|
await (new Promise((resolve) => setTimeout(resolve, 0)));
|
|
391
391
|
const isEmpty = isQuillContentEmpty(html);
|
|
392
392
|
dbg('⬆️ emit value suggestion-input', html);
|
|
393
|
-
console.log('⬆️ emit value suggestion-input', html);
|
|
393
|
+
// console.log('⬆️ emit value suggestion-input', html);
|
|
394
394
|
emit('update:value', html);
|
|
395
395
|
}
|
|
396
396
|
|
|
@@ -712,7 +712,105 @@ function removeCompletionOnBlur() {
|
|
|
712
712
|
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
+
.ql-table-button-disabled {
|
|
716
|
+
background-color: theme('colors.lightInputBackground') !important;
|
|
717
|
+
svg path {
|
|
718
|
+
opacity: 0.5;
|
|
719
|
+
}
|
|
720
|
+
svg .ql-stroke, svg .ql-fill {
|
|
721
|
+
stroke: theme('colors.lightPrimary') !important;
|
|
722
|
+
opacity: 0.5 !important;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.dark .ql-table-button-disabled {
|
|
727
|
+
background-color: theme('colors.darkInputBackground') !important;
|
|
728
|
+
svg path {
|
|
729
|
+
opacity: 0.5;
|
|
730
|
+
}
|
|
731
|
+
svg .ql-stroke, svg .ql-fill {
|
|
732
|
+
stroke: theme('colors.darkPrimary') !important;
|
|
733
|
+
opacity: 0.5 !important;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.ql-table-better svg path {
|
|
738
|
+
@apply dark:fill-darkPrimary;
|
|
739
|
+
@apply fill-lightPrimary;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.ql-table-select-container {
|
|
743
|
+
@apply dark:bg-darkForm;
|
|
744
|
+
@apply bg-lightForm;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.ql-table-select-label {
|
|
748
|
+
@apply dark:text-darkInputText;
|
|
749
|
+
@apply text-lightInputText;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.ql-table-select-list span {
|
|
753
|
+
@apply dark:border-darkInputBorder;
|
|
754
|
+
@apply border-lightInputBorder;
|
|
755
|
+
@apply bg-lightInputBackground;
|
|
756
|
+
@apply dark:bg-darkInputBackground;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.ql-table-menus-container, .ql-table-dropdown-list {
|
|
760
|
+
@apply dark:bg-darkForm;
|
|
761
|
+
@apply bg-lightForm;
|
|
762
|
+
@apply dark:border-darkInputBorder;
|
|
763
|
+
@apply border-lightInputBorder;
|
|
764
|
+
|
|
765
|
+
.ql-table-dropdown svg path {
|
|
766
|
+
@apply fill-lightPrimary;
|
|
767
|
+
@apply dark:fill-darkPrimary;
|
|
768
|
+
@apply stroke-lightInputText;
|
|
769
|
+
@apply dark:stroke-darkInputText;
|
|
770
|
+
}
|
|
715
771
|
|
|
772
|
+
.ql-table-dropdown[data-category="delete"] svg path {
|
|
773
|
+
@apply fill-lightForm;
|
|
774
|
+
@apply dark:fill-darkForm;
|
|
775
|
+
@apply stroke-lightPrimary;
|
|
776
|
+
@apply dark:stroke-darkPrimary;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.ql-table-dropdown[data-category="delete"]:hover svg path {
|
|
780
|
+
@apply fill-lightInputBackground;
|
|
781
|
+
@apply dark:fill-darkInputBackground;
|
|
782
|
+
}
|
|
716
783
|
|
|
784
|
+
.ql-table-dropdown > span.ql-table-tooltip-hover svg:nth-of-type(2) path {
|
|
785
|
+
@apply fill-lightForm stroke-lightPrimary;
|
|
786
|
+
@apply dark:fill-darkForm dark:stroke-darkPrimary;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.ql-table-dropdown:hover > span.ql-table-tooltip-hover svg:nth-of-type(2) path {
|
|
790
|
+
@apply fill-lightInputBackground stroke-lightPrimary;
|
|
791
|
+
@apply dark:fill-darkInputBackground dark:stroke-darkPrimary;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
.ql-table-dropdown, li {
|
|
797
|
+
&:hover {
|
|
798
|
+
@apply dark:bg-darkInputBackground;
|
|
799
|
+
@apply bg-lightInputBackground;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.ql-table-switch-inner[aria-checked="true"] {
|
|
804
|
+
@apply dark:bg-darkPrimary;
|
|
805
|
+
@apply bg-lightPrimary;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.ql-table-triangle-down::before, .ql-table-triangle-down::after {
|
|
809
|
+
border-bottom: theme('colors.lightForm') !important;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.dark .ql-table-triangle-down::before,.dark .ql-table-triangle-down::after {
|
|
813
|
+
border-bottom: theme('colors.darkForm') !important;
|
|
814
|
+
}
|
|
717
815
|
|
|
718
816
|
</style>
|
|
@@ -390,7 +390,7 @@ async function emitTextUpdate() {
|
|
|
390
390
|
await (new Promise((resolve) => setTimeout(resolve, 0)));
|
|
391
391
|
const isEmpty = isQuillContentEmpty(html);
|
|
392
392
|
dbg('⬆️ emit value suggestion-input', html);
|
|
393
|
-
console.log('⬆️ emit value suggestion-input', html);
|
|
393
|
+
// console.log('⬆️ emit value suggestion-input', html);
|
|
394
394
|
emit('update:value', html);
|
|
395
395
|
}
|
|
396
396
|
|
|
@@ -712,7 +712,105 @@ function removeCompletionOnBlur() {
|
|
|
712
712
|
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
+
.ql-table-button-disabled {
|
|
716
|
+
background-color: theme('colors.lightInputBackground') !important;
|
|
717
|
+
svg path {
|
|
718
|
+
opacity: 0.5;
|
|
719
|
+
}
|
|
720
|
+
svg .ql-stroke, svg .ql-fill {
|
|
721
|
+
stroke: theme('colors.lightPrimary') !important;
|
|
722
|
+
opacity: 0.5 !important;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.dark .ql-table-button-disabled {
|
|
727
|
+
background-color: theme('colors.darkInputBackground') !important;
|
|
728
|
+
svg path {
|
|
729
|
+
opacity: 0.5;
|
|
730
|
+
}
|
|
731
|
+
svg .ql-stroke, svg .ql-fill {
|
|
732
|
+
stroke: theme('colors.darkPrimary') !important;
|
|
733
|
+
opacity: 0.5 !important;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.ql-table-better svg path {
|
|
738
|
+
@apply dark:fill-darkPrimary;
|
|
739
|
+
@apply fill-lightPrimary;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.ql-table-select-container {
|
|
743
|
+
@apply dark:bg-darkForm;
|
|
744
|
+
@apply bg-lightForm;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.ql-table-select-label {
|
|
748
|
+
@apply dark:text-darkInputText;
|
|
749
|
+
@apply text-lightInputText;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.ql-table-select-list span {
|
|
753
|
+
@apply dark:border-darkInputBorder;
|
|
754
|
+
@apply border-lightInputBorder;
|
|
755
|
+
@apply bg-lightInputBackground;
|
|
756
|
+
@apply dark:bg-darkInputBackground;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.ql-table-menus-container, .ql-table-dropdown-list {
|
|
760
|
+
@apply dark:bg-darkForm;
|
|
761
|
+
@apply bg-lightForm;
|
|
762
|
+
@apply dark:border-darkInputBorder;
|
|
763
|
+
@apply border-lightInputBorder;
|
|
764
|
+
|
|
765
|
+
.ql-table-dropdown svg path {
|
|
766
|
+
@apply fill-lightPrimary;
|
|
767
|
+
@apply dark:fill-darkPrimary;
|
|
768
|
+
@apply stroke-lightInputText;
|
|
769
|
+
@apply dark:stroke-darkInputText;
|
|
770
|
+
}
|
|
715
771
|
|
|
772
|
+
.ql-table-dropdown[data-category="delete"] svg path {
|
|
773
|
+
@apply fill-lightForm;
|
|
774
|
+
@apply dark:fill-darkForm;
|
|
775
|
+
@apply stroke-lightPrimary;
|
|
776
|
+
@apply dark:stroke-darkPrimary;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.ql-table-dropdown[data-category="delete"]:hover svg path {
|
|
780
|
+
@apply fill-lightInputBackground;
|
|
781
|
+
@apply dark:fill-darkInputBackground;
|
|
782
|
+
}
|
|
716
783
|
|
|
784
|
+
.ql-table-dropdown > span.ql-table-tooltip-hover svg:nth-of-type(2) path {
|
|
785
|
+
@apply fill-lightForm stroke-lightPrimary;
|
|
786
|
+
@apply dark:fill-darkForm dark:stroke-darkPrimary;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.ql-table-dropdown:hover > span.ql-table-tooltip-hover svg:nth-of-type(2) path {
|
|
790
|
+
@apply fill-lightInputBackground stroke-lightPrimary;
|
|
791
|
+
@apply dark:fill-darkInputBackground dark:stroke-darkPrimary;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
.ql-table-dropdown, li {
|
|
797
|
+
&:hover {
|
|
798
|
+
@apply dark:bg-darkInputBackground;
|
|
799
|
+
@apply bg-lightInputBackground;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.ql-table-switch-inner[aria-checked="true"] {
|
|
804
|
+
@apply dark:bg-darkPrimary;
|
|
805
|
+
@apply bg-lightPrimary;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.ql-table-triangle-down::before, .ql-table-triangle-down::after {
|
|
809
|
+
border-bottom: theme('colors.lightForm') !important;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.dark .ql-table-triangle-down::before,.dark .ql-table-triangle-down::after {
|
|
813
|
+
border-bottom: theme('colors.darkForm') !important;
|
|
814
|
+
}
|
|
717
815
|
|
|
718
816
|
</style>
|