@zipify/wysiwyg 1.0.0-dev.18 → 1.0.0-dev.19

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 CHANGED
@@ -1004,6 +1004,85 @@ $font-height--md: 1.72;
1004
1004
  }
1005
1005
  }
1006
1006
 
1007
+ /* ProseMirror styles */
1008
+
1009
+ .ProseMirror {
1010
+ position: relative;
1011
+ }
1012
+
1013
+ .ProseMirror {
1014
+ word-wrap: break-word;
1015
+ white-space: pre-wrap;
1016
+ white-space: break-spaces;
1017
+ -webkit-font-variant-ligatures: none;
1018
+ font-variant-ligatures: none;
1019
+ font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
1020
+ }
1021
+
1022
+ .ProseMirror [contenteditable="false"] {
1023
+ white-space: normal;
1024
+ }
1025
+
1026
+ .ProseMirror [contenteditable="false"] [contenteditable="true"] {
1027
+ white-space: pre-wrap;
1028
+ }
1029
+
1030
+ .ProseMirror pre {
1031
+ white-space: pre-wrap;
1032
+ }
1033
+
1034
+ img.ProseMirror-separator {
1035
+ display: inline !important;
1036
+ border: none !important;
1037
+ margin: 0 !important;
1038
+ width: 1px !important;
1039
+ height: 1px !important;
1040
+ }
1041
+
1042
+ .ProseMirror-gapcursor {
1043
+ display: none;
1044
+ pointer-events: none;
1045
+ position: absolute;
1046
+ margin: 0;
1047
+ }
1048
+
1049
+ .ProseMirror-gapcursor::after {
1050
+ content: "";
1051
+ display: block;
1052
+ position: absolute;
1053
+ top: -2px;
1054
+ width: 20px;
1055
+ border-top: 1px solid #000;
1056
+ animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
1057
+ }
1058
+
1059
+ @keyframes ProseMirror-cursor-blink {
1060
+
1061
+ to {
1062
+ visibility: hidden;
1063
+ }
1064
+ }
1065
+
1066
+ .ProseMirror-hideselection *::selection {
1067
+ background: transparent;
1068
+ }
1069
+
1070
+ .ProseMirror-hideselection *::-moz-selection {
1071
+ background: transparent;
1072
+ }
1073
+
1074
+ .ProseMirror-hideselection * {
1075
+ caret-color: transparent;
1076
+ }
1077
+
1078
+ .ProseMirror-focused .ProseMirror-gapcursor {
1079
+ display: block;
1080
+ }
1081
+
1082
+ .tippy-box[data-animation=fade][data-state=hidden] {
1083
+ opacity: 0
1084
+ }
1085
+
1007
1086
  .zw-text--truncate {
1008
1087
  white-space: nowrap;
1009
1088
  overflow: hidden;