@pubwave/editor 0.5.6 → 0.5.7

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/index.d.ts CHANGED
@@ -1436,13 +1436,9 @@ export { }
1436
1436
 
1437
1437
  declare module '@tiptap/core' {
1438
1438
  interface Commands<ReturnType> {
1439
- textColor: {
1440
- setColor: (color: string) => ReturnType;
1441
- unsetColor: () => ReturnType;
1442
- };
1443
- backgroundColor: {
1444
- setBackgroundColor: (backgroundColor: string) => ReturnType;
1445
- unsetBackgroundColor: () => ReturnType;
1439
+ textAlign: {
1440
+ setTextAlign: (alignment: TextAlignValue) => ReturnType;
1441
+ unsetTextAlign: () => ReturnType;
1446
1442
  };
1447
1443
  }
1448
1444
  }
@@ -1450,9 +1446,13 @@ declare module '@tiptap/core' {
1450
1446
 
1451
1447
  declare module '@tiptap/core' {
1452
1448
  interface Commands<ReturnType> {
1453
- textAlign: {
1454
- setTextAlign: (alignment: TextAlignValue) => ReturnType;
1455
- unsetTextAlign: () => ReturnType;
1449
+ textColor: {
1450
+ setColor: (color: string) => ReturnType;
1451
+ unsetColor: () => ReturnType;
1452
+ };
1453
+ backgroundColor: {
1454
+ setBackgroundColor: (backgroundColor: string) => ReturnType;
1455
+ unsetBackgroundColor: () => ReturnType;
1456
1456
  };
1457
1457
  }
1458
1458
  }