@zipify/wysiwyg 1.2.1-1 → 1.2.1-2

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.mjs CHANGED
@@ -23113,7 +23113,7 @@ const StylePreset = Extension.create({
23113
23113
  for (const name of Object.keys(source)) {
23114
23114
  const sourceValue = source[name];
23115
23115
  const targetValue = target[name];
23116
- const isInherit = !targetValue || targetValue === "inherit";
23116
+ const isInherit = !targetValue || targetValue.toLowerCase() === "inherit";
23117
23117
  settings[name] = isInherit ? sourceValue : targetValue;
23118
23118
  }
23119
23119
  return settings;
@@ -76,7 +76,7 @@ export const StylePreset = Extension.create({
76
76
  for (const name of Object.keys(source)) {
77
77
  const sourceValue = source[name];
78
78
  const targetValue = target[name];
79
- const isInherit = !targetValue || targetValue === 'inherit';
79
+ const isInherit = !targetValue || targetValue.toLowerCase() === 'inherit';
80
80
 
81
81
  settings[name] = isInherit ? sourceValue : targetValue;
82
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zipify/wysiwyg",
3
- "version": "1.2.1-1",
3
+ "version": "1.2.1-2",
4
4
  "description": "Zipify modification of TipTap text editor",
5
5
  "main": "dist/wysiwyg.mjs",
6
6
  "bin": {