ninegrid2 6.1406.0 → 6.1408.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.
@@ -54591,7 +54591,7 @@ var mergeNestedSpanStyles = (element) => {
54591
54591
  childSpan.setAttribute("style", `${closestParentSpanStyleOfChild};${childStyle}`);
54592
54592
  });
54593
54593
  };
54594
- var TextStyle = Mark.create({
54594
+ var TextStyle$1 = Mark.create({
54595
54595
  name: "textStyle",
54596
54596
  priority: 101,
54597
54597
  addOptions() {
@@ -54890,7 +54890,7 @@ Extension.create({
54890
54890
  extensions.push(LineHeight.configure(this.options.lineHeight));
54891
54891
  }
54892
54892
  if (this.options.textStyle !== false) {
54893
- extensions.push(TextStyle.configure(this.options.textStyle));
54893
+ extensions.push(TextStyle$1.configure(this.options.textStyle));
54894
54894
  }
54895
54895
  return extensions;
54896
54896
  }
@@ -55371,7 +55371,6 @@ class nxEditor extends nxDiv {
55371
55371
  },
55372
55372
  }),
55373
55373
  Color,
55374
- TextStyle.configure({ types: [Highlight.name, Color.name] }),
55375
55374
  Highlight.configure({ multicolor: true }),
55376
55375
  TextAlign.configure({ types: ['heading', 'paragraph'] }),
55377
55376
  Image.configure({ inline: true, allowBase64: true }),
@@ -54587,7 +54587,7 @@ var mergeNestedSpanStyles = (element) => {
54587
54587
  childSpan.setAttribute("style", `${closestParentSpanStyleOfChild};${childStyle}`);
54588
54588
  });
54589
54589
  };
54590
- var TextStyle = Mark.create({
54590
+ var TextStyle$1 = Mark.create({
54591
54591
  name: "textStyle",
54592
54592
  priority: 101,
54593
54593
  addOptions() {
@@ -54886,7 +54886,7 @@ Extension.create({
54886
54886
  extensions.push(LineHeight.configure(this.options.lineHeight));
54887
54887
  }
54888
54888
  if (this.options.textStyle !== false) {
54889
- extensions.push(TextStyle.configure(this.options.textStyle));
54889
+ extensions.push(TextStyle$1.configure(this.options.textStyle));
54890
54890
  }
54891
54891
  return extensions;
54892
54892
  }
@@ -55367,7 +55367,6 @@ class nxEditor extends nxDiv {
55367
55367
  },
55368
55368
  }),
55369
55369
  Color,
55370
- TextStyle.configure({ types: [Highlight.name, Color.name] }),
55371
55370
  Highlight.configure({ multicolor: true }),
55372
55371
  TextAlign.configure({ types: ['heading', 'paragraph'] }),
55373
55372
  Image.configure({ inline: true, allowBase64: true }),
@@ -3,7 +3,7 @@ import { nxDiv } from "./_nxDiv.js";
3
3
 
4
4
  import { Editor } from '@tiptap/core';
5
5
  import StarterKit from '@tiptap/starter-kit';
6
- import { TextStyle } from '@tiptap/extension-text-style';
6
+ //import { TextStyle } from '@tiptap/extension-text-style';
7
7
  import { Color } from '@tiptap/extension-color';
8
8
  import { Highlight } from '@tiptap/extension-highlight';
9
9
  import { Underline } from '@tiptap/extension-underline';
@@ -169,7 +169,6 @@ class nxEditor extends nxDiv {
169
169
  },
170
170
  }),
171
171
  Color,
172
- TextStyle.configure({ types: [Highlight.name, Color.name] }),
173
172
  Highlight.configure({ multicolor: true }),
174
173
  TextAlign.configure({ types: ['heading', 'paragraph'] }),
175
174
  Image.configure({ inline: true, allowBase64: true }),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1406.0",
4
+ "version": "6.1408.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -3,7 +3,7 @@ import { nxDiv } from "./_nxDiv.js";
3
3
 
4
4
  import { Editor } from '@tiptap/core';
5
5
  import StarterKit from '@tiptap/starter-kit';
6
- import { TextStyle } from '@tiptap/extension-text-style';
6
+ //import { TextStyle } from '@tiptap/extension-text-style';
7
7
  import { Color } from '@tiptap/extension-color';
8
8
  import { Highlight } from '@tiptap/extension-highlight';
9
9
  import { Underline } from '@tiptap/extension-underline';
@@ -169,7 +169,6 @@ class nxEditor extends nxDiv {
169
169
  },
170
170
  }),
171
171
  Color,
172
- TextStyle.configure({ types: [Highlight.name, Color.name] }),
173
172
  Highlight.configure({ multicolor: true }),
174
173
  TextAlign.configure({ types: ['heading', 'paragraph'] }),
175
174
  Image.configure({ inline: true, allowBase64: true }),