@zipify/wysiwyg 1.0.0-dev.99 → 1.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/dist/wysiwyg.css CHANGED
@@ -756,6 +756,12 @@ $font-height--md: 1.72;
756
756
  background-color: var(--zw-background-color, var(--zw-preset-background-color));
757
757
  margin: var(--zw-margin);
758
758
  }
759
+ h1.zw-style.zw-style.zw-style,
760
+ h2.zw-style.zw-style.zw-style,
761
+ h3.zw-style.zw-style.zw-style,
762
+ h4.zw-style.zw-style.zw-style {
763
+ margin: var(--zw-margin, 8px 0);
764
+ }
759
765
  @media (min-width: 1200px) {
760
766
  .zw-style.zw-style.zw-style {
761
767
  font-size: var(--zw-font-size-desktop, var(--zw-preset-desktop-font-size));
package/dist/wysiwyg.mjs CHANGED
@@ -25830,16 +25830,16 @@ function buildExtensions(options) {
25830
25830
  DeviceManager.configure({
25831
25831
  device: options.deviceRef
25832
25832
  }),
25833
- FontFamily.configure({
25834
- fonts: options.fonts,
25835
- defaultFont: defaultPreset.common.font_family
25836
- }),
25837
- FontWeight,
25838
25833
  FontSize.configure({
25839
25834
  minSize: options.minFontSize,
25840
25835
  maxSize: options.maxFontSize,
25841
25836
  wrapperRef: options.wrapperRef
25842
25837
  }),
25838
+ FontFamily.configure({
25839
+ fonts: options.fonts,
25840
+ defaultFont: defaultPreset.common.font_family
25841
+ }),
25842
+ FontWeight,
25843
25843
  FontColor,
25844
25844
  BackgroundColor,
25845
25845
  FontStyle,
@@ -34,16 +34,17 @@ export function buildExtensions(options) {
34
34
  DeviceManager.configure({
35
35
  device: options.deviceRef
36
36
  }),
37
- FontFamily.configure({
38
- fonts: options.fonts,
39
- defaultFont: defaultPreset.common.font_family
40
- }),
41
- FontWeight,
37
+ // Should be first setting. Fix size of wrappers in headings
42
38
  FontSize.configure({
43
39
  minSize: options.minFontSize,
44
40
  maxSize: options.maxFontSize,
45
41
  wrapperRef: options.wrapperRef
46
42
  }),
43
+ FontFamily.configure({
44
+ fonts: options.fonts,
45
+ defaultFont: defaultPreset.common.font_family
46
+ }),
47
+ FontWeight,
47
48
  FontColor,
48
49
  BackgroundColor,
49
50
  FontStyle,
@@ -23,6 +23,13 @@
23
23
  margin: var(--zw-margin);
24
24
  }
25
25
 
26
+ h1.zw-style.zw-style.zw-style,
27
+ h2.zw-style.zw-style.zw-style,
28
+ h3.zw-style.zw-style.zw-style,
29
+ h4.zw-style.zw-style.zw-style {
30
+ margin: var(--zw-margin, 8px 0);
31
+ }
32
+
26
33
  @media (min-width: 1200px) {
27
34
 
28
35
  .zw-style.zw-style.zw-style {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zipify/wysiwyg",
3
- "version": "1.0.0-dev.99",
3
+ "version": "1.0.0",
4
4
  "description": "Zipify modification of TipTap text editor",
5
5
  "main": "dist/wysiwyg.mjs",
6
6
  "repository": {