@tiptap/extension-text-align 2.0.0-beta.27 → 2.0.0-beta.28

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.
@@ -0,0 +1,3 @@
1
+ import { TextAlign } from './text-align';
2
+ export * from './text-align';
3
+ export default TextAlign;
@@ -0,0 +1,21 @@
1
+ import { Extension } from '@tiptap/core';
2
+ export interface TextAlignOptions {
3
+ types: string[];
4
+ alignments: string[];
5
+ defaultAlignment: string;
6
+ }
7
+ declare module '@tiptap/core' {
8
+ interface Commands<ReturnType> {
9
+ textAlign: {
10
+ /**
11
+ * Set the text align attribute
12
+ */
13
+ setTextAlign: (alignment: string) => ReturnType;
14
+ /**
15
+ * Unset the text align attribute
16
+ */
17
+ unsetTextAlign: () => ReturnType;
18
+ };
19
+ }
20
+ }
21
+ export declare const TextAlign: Extension<TextAlignOptions, any>;
@@ -0,0 +1,60 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var core = require('@tiptap/core');
6
+
7
+ const TextAlign = core.Extension.create({
8
+ name: 'textAlign',
9
+ addOptions() {
10
+ return {
11
+ types: [],
12
+ alignments: ['left', 'center', 'right', 'justify'],
13
+ defaultAlignment: 'left',
14
+ };
15
+ },
16
+ addGlobalAttributes() {
17
+ return [
18
+ {
19
+ types: this.options.types,
20
+ attributes: {
21
+ textAlign: {
22
+ default: this.options.defaultAlignment,
23
+ parseHTML: element => element.style.textAlign || this.options.defaultAlignment,
24
+ renderHTML: attributes => {
25
+ if (attributes.textAlign === this.options.defaultAlignment) {
26
+ return {};
27
+ }
28
+ return { style: `text-align: ${attributes.textAlign}` };
29
+ },
30
+ },
31
+ },
32
+ },
33
+ ];
34
+ },
35
+ addCommands() {
36
+ return {
37
+ setTextAlign: (alignment) => ({ commands }) => {
38
+ if (!this.options.alignments.includes(alignment)) {
39
+ return false;
40
+ }
41
+ return this.options.types.every(type => commands.updateAttributes(type, { textAlign: alignment }));
42
+ },
43
+ unsetTextAlign: () => ({ commands }) => {
44
+ return this.options.types.every(type => commands.resetAttributes(type, 'textAlign'));
45
+ },
46
+ };
47
+ },
48
+ addKeyboardShortcuts() {
49
+ return {
50
+ 'Mod-Shift-l': () => this.editor.commands.setTextAlign('left'),
51
+ 'Mod-Shift-e': () => this.editor.commands.setTextAlign('center'),
52
+ 'Mod-Shift-r': () => this.editor.commands.setTextAlign('right'),
53
+ 'Mod-Shift-j': () => this.editor.commands.setTextAlign('justify'),
54
+ };
55
+ },
56
+ });
57
+
58
+ exports.TextAlign = TextAlign;
59
+ exports["default"] = TextAlign;
60
+ //# sourceMappingURL=tiptap-extension-text-align.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tiptap-extension-text-align.cjs.js","sources":["../src/text-align.ts"],"sourcesContent":["import { Extension } from '@tiptap/core'\n\nexport interface TextAlignOptions {\n types: string[],\n alignments: string[],\n defaultAlignment: string,\n}\n\ndeclare module '@tiptap/core' {\n interface Commands<ReturnType> {\n textAlign: {\n /**\n * Set the text align attribute\n */\n setTextAlign: (alignment: string) => ReturnType,\n /**\n * Unset the text align attribute\n */\n unsetTextAlign: () => ReturnType,\n }\n }\n}\n\nexport const TextAlign = Extension.create<TextAlignOptions>({\n name: 'textAlign',\n\n addOptions() {\n return {\n types: [],\n alignments: ['left', 'center', 'right', 'justify'],\n defaultAlignment: 'left',\n }\n },\n\n addGlobalAttributes() {\n return [\n {\n types: this.options.types,\n attributes: {\n textAlign: {\n default: this.options.defaultAlignment,\n parseHTML: element => element.style.textAlign || this.options.defaultAlignment,\n renderHTML: attributes => {\n if (attributes.textAlign === this.options.defaultAlignment) {\n return {}\n }\n\n return { style: `text-align: ${attributes.textAlign}` }\n },\n },\n },\n },\n ]\n },\n\n addCommands() {\n return {\n setTextAlign: (alignment: string) => ({ commands }) => {\n if (!this.options.alignments.includes(alignment)) {\n return false\n }\n\n return this.options.types.every(type => commands.updateAttributes(type, { textAlign: alignment }))\n },\n unsetTextAlign: () => ({ commands }) => {\n return this.options.types.every(type => commands.resetAttributes(type, 'textAlign'))\n },\n }\n },\n\n addKeyboardShortcuts() {\n return {\n 'Mod-Shift-l': () => this.editor.commands.setTextAlign('left'),\n 'Mod-Shift-e': () => this.editor.commands.setTextAlign('center'),\n 'Mod-Shift-r': () => this.editor.commands.setTextAlign('right'),\n 'Mod-Shift-j': () => this.editor.commands.setTextAlign('justify'),\n }\n },\n})\n"],"names":["Extension"],"mappings":";;;;;;MAuBa,SAAS,GAAGA,cAAS,CAAC,MAAM,CAAmB;IAC1D,IAAI,EAAE,WAAW;IAEjB,UAAU;QACR,OAAO;YACL,KAAK,EAAE,EAAE;YACT,UAAU,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;YAClD,gBAAgB,EAAE,MAAM;SACzB,CAAA;KACF;IAED,mBAAmB;QACjB,OAAO;YACL;gBACE,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK;gBACzB,UAAU,EAAE;oBACV,SAAS,EAAE;wBACT,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,gBAAgB;wBACtC,SAAS,EAAE,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,gBAAgB;wBAC9E,UAAU,EAAE,UAAU;4BACpB,IAAI,UAAU,CAAC,SAAS,KAAK,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;gCAC1D,OAAO,EAAE,CAAA;6BACV;4BAED,OAAO,EAAE,KAAK,EAAE,eAAe,UAAU,CAAC,SAAS,EAAE,EAAE,CAAA;yBACxD;qBACF;iBACF;aACF;SACF,CAAA;KACF;IAED,WAAW;QACT,OAAO;YACL,YAAY,EAAE,CAAC,SAAiB,KAAK,CAAC,EAAE,QAAQ,EAAE;gBAChD,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;oBAChD,OAAO,KAAK,CAAA;iBACb;gBAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC,gBAAgB,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC,CAAA;aACnG;YACD,cAAc,EAAE,MAAM,CAAC,EAAE,QAAQ,EAAE;gBACjC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAA;aACrF;SACF,CAAA;KACF;IAED,oBAAoB;QAClB,OAAO;YACL,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,MAAM,CAAC;YAC9D,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC;YAChE,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC;YAC/D,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC;SAClE,CAAA;KACF;CACF;;;;;"}
@@ -0,0 +1,55 @@
1
+ import { Extension } from '@tiptap/core';
2
+
3
+ const TextAlign = Extension.create({
4
+ name: 'textAlign',
5
+ addOptions() {
6
+ return {
7
+ types: [],
8
+ alignments: ['left', 'center', 'right', 'justify'],
9
+ defaultAlignment: 'left',
10
+ };
11
+ },
12
+ addGlobalAttributes() {
13
+ return [
14
+ {
15
+ types: this.options.types,
16
+ attributes: {
17
+ textAlign: {
18
+ default: this.options.defaultAlignment,
19
+ parseHTML: element => element.style.textAlign || this.options.defaultAlignment,
20
+ renderHTML: attributes => {
21
+ if (attributes.textAlign === this.options.defaultAlignment) {
22
+ return {};
23
+ }
24
+ return { style: `text-align: ${attributes.textAlign}` };
25
+ },
26
+ },
27
+ },
28
+ },
29
+ ];
30
+ },
31
+ addCommands() {
32
+ return {
33
+ setTextAlign: (alignment) => ({ commands }) => {
34
+ if (!this.options.alignments.includes(alignment)) {
35
+ return false;
36
+ }
37
+ return this.options.types.every(type => commands.updateAttributes(type, { textAlign: alignment }));
38
+ },
39
+ unsetTextAlign: () => ({ commands }) => {
40
+ return this.options.types.every(type => commands.resetAttributes(type, 'textAlign'));
41
+ },
42
+ };
43
+ },
44
+ addKeyboardShortcuts() {
45
+ return {
46
+ 'Mod-Shift-l': () => this.editor.commands.setTextAlign('left'),
47
+ 'Mod-Shift-e': () => this.editor.commands.setTextAlign('center'),
48
+ 'Mod-Shift-r': () => this.editor.commands.setTextAlign('right'),
49
+ 'Mod-Shift-j': () => this.editor.commands.setTextAlign('justify'),
50
+ };
51
+ },
52
+ });
53
+
54
+ export { TextAlign, TextAlign as default };
55
+ //# sourceMappingURL=tiptap-extension-text-align.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tiptap-extension-text-align.esm.js","sources":["../src/text-align.ts"],"sourcesContent":["import { Extension } from '@tiptap/core'\n\nexport interface TextAlignOptions {\n types: string[],\n alignments: string[],\n defaultAlignment: string,\n}\n\ndeclare module '@tiptap/core' {\n interface Commands<ReturnType> {\n textAlign: {\n /**\n * Set the text align attribute\n */\n setTextAlign: (alignment: string) => ReturnType,\n /**\n * Unset the text align attribute\n */\n unsetTextAlign: () => ReturnType,\n }\n }\n}\n\nexport const TextAlign = Extension.create<TextAlignOptions>({\n name: 'textAlign',\n\n addOptions() {\n return {\n types: [],\n alignments: ['left', 'center', 'right', 'justify'],\n defaultAlignment: 'left',\n }\n },\n\n addGlobalAttributes() {\n return [\n {\n types: this.options.types,\n attributes: {\n textAlign: {\n default: this.options.defaultAlignment,\n parseHTML: element => element.style.textAlign || this.options.defaultAlignment,\n renderHTML: attributes => {\n if (attributes.textAlign === this.options.defaultAlignment) {\n return {}\n }\n\n return { style: `text-align: ${attributes.textAlign}` }\n },\n },\n },\n },\n ]\n },\n\n addCommands() {\n return {\n setTextAlign: (alignment: string) => ({ commands }) => {\n if (!this.options.alignments.includes(alignment)) {\n return false\n }\n\n return this.options.types.every(type => commands.updateAttributes(type, { textAlign: alignment }))\n },\n unsetTextAlign: () => ({ commands }) => {\n return this.options.types.every(type => commands.resetAttributes(type, 'textAlign'))\n },\n }\n },\n\n addKeyboardShortcuts() {\n return {\n 'Mod-Shift-l': () => this.editor.commands.setTextAlign('left'),\n 'Mod-Shift-e': () => this.editor.commands.setTextAlign('center'),\n 'Mod-Shift-r': () => this.editor.commands.setTextAlign('right'),\n 'Mod-Shift-j': () => this.editor.commands.setTextAlign('justify'),\n }\n },\n})\n"],"names":[],"mappings":";;MAuBa,SAAS,GAAG,SAAS,CAAC,MAAM,CAAmB;IAC1D,IAAI,EAAE,WAAW;IAEjB,UAAU;QACR,OAAO;YACL,KAAK,EAAE,EAAE;YACT,UAAU,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;YAClD,gBAAgB,EAAE,MAAM;SACzB,CAAA;KACF;IAED,mBAAmB;QACjB,OAAO;YACL;gBACE,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK;gBACzB,UAAU,EAAE;oBACV,SAAS,EAAE;wBACT,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,gBAAgB;wBACtC,SAAS,EAAE,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,gBAAgB;wBAC9E,UAAU,EAAE,UAAU;4BACpB,IAAI,UAAU,CAAC,SAAS,KAAK,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;gCAC1D,OAAO,EAAE,CAAA;6BACV;4BAED,OAAO,EAAE,KAAK,EAAE,eAAe,UAAU,CAAC,SAAS,EAAE,EAAE,CAAA;yBACxD;qBACF;iBACF;aACF;SACF,CAAA;KACF;IAED,WAAW;QACT,OAAO;YACL,YAAY,EAAE,CAAC,SAAiB,KAAK,CAAC,EAAE,QAAQ,EAAE;gBAChD,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;oBAChD,OAAO,KAAK,CAAA;iBACb;gBAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC,gBAAgB,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC,CAAA;aACnG;YACD,cAAc,EAAE,MAAM,CAAC,EAAE,QAAQ,EAAE;gBACjC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAA;aACrF;SACF,CAAA;KACF;IAED,oBAAoB;QAClB,OAAO;YACL,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,MAAM,CAAC;YAC9D,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC;YAChE,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC;YAC/D,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC;SAClE,CAAA;KACF;CACF;;;;"}
@@ -0,0 +1,64 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/core')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', '@tiptap/core'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@tiptap/extension-text-align"] = {}, global.core));
5
+ })(this, (function (exports, core) { 'use strict';
6
+
7
+ const TextAlign = core.Extension.create({
8
+ name: 'textAlign',
9
+ addOptions() {
10
+ return {
11
+ types: [],
12
+ alignments: ['left', 'center', 'right', 'justify'],
13
+ defaultAlignment: 'left',
14
+ };
15
+ },
16
+ addGlobalAttributes() {
17
+ return [
18
+ {
19
+ types: this.options.types,
20
+ attributes: {
21
+ textAlign: {
22
+ default: this.options.defaultAlignment,
23
+ parseHTML: element => element.style.textAlign || this.options.defaultAlignment,
24
+ renderHTML: attributes => {
25
+ if (attributes.textAlign === this.options.defaultAlignment) {
26
+ return {};
27
+ }
28
+ return { style: `text-align: ${attributes.textAlign}` };
29
+ },
30
+ },
31
+ },
32
+ },
33
+ ];
34
+ },
35
+ addCommands() {
36
+ return {
37
+ setTextAlign: (alignment) => ({ commands }) => {
38
+ if (!this.options.alignments.includes(alignment)) {
39
+ return false;
40
+ }
41
+ return this.options.types.every(type => commands.updateAttributes(type, { textAlign: alignment }));
42
+ },
43
+ unsetTextAlign: () => ({ commands }) => {
44
+ return this.options.types.every(type => commands.resetAttributes(type, 'textAlign'));
45
+ },
46
+ };
47
+ },
48
+ addKeyboardShortcuts() {
49
+ return {
50
+ 'Mod-Shift-l': () => this.editor.commands.setTextAlign('left'),
51
+ 'Mod-Shift-e': () => this.editor.commands.setTextAlign('center'),
52
+ 'Mod-Shift-r': () => this.editor.commands.setTextAlign('right'),
53
+ 'Mod-Shift-j': () => this.editor.commands.setTextAlign('justify'),
54
+ };
55
+ },
56
+ });
57
+
58
+ exports.TextAlign = TextAlign;
59
+ exports["default"] = TextAlign;
60
+
61
+ Object.defineProperty(exports, '__esModule', { value: true });
62
+
63
+ }));
64
+ //# sourceMappingURL=tiptap-extension-text-align.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tiptap-extension-text-align.umd.js","sources":["../src/text-align.ts"],"sourcesContent":["import { Extension } from '@tiptap/core'\n\nexport interface TextAlignOptions {\n types: string[],\n alignments: string[],\n defaultAlignment: string,\n}\n\ndeclare module '@tiptap/core' {\n interface Commands<ReturnType> {\n textAlign: {\n /**\n * Set the text align attribute\n */\n setTextAlign: (alignment: string) => ReturnType,\n /**\n * Unset the text align attribute\n */\n unsetTextAlign: () => ReturnType,\n }\n }\n}\n\nexport const TextAlign = Extension.create<TextAlignOptions>({\n name: 'textAlign',\n\n addOptions() {\n return {\n types: [],\n alignments: ['left', 'center', 'right', 'justify'],\n defaultAlignment: 'left',\n }\n },\n\n addGlobalAttributes() {\n return [\n {\n types: this.options.types,\n attributes: {\n textAlign: {\n default: this.options.defaultAlignment,\n parseHTML: element => element.style.textAlign || this.options.defaultAlignment,\n renderHTML: attributes => {\n if (attributes.textAlign === this.options.defaultAlignment) {\n return {}\n }\n\n return { style: `text-align: ${attributes.textAlign}` }\n },\n },\n },\n },\n ]\n },\n\n addCommands() {\n return {\n setTextAlign: (alignment: string) => ({ commands }) => {\n if (!this.options.alignments.includes(alignment)) {\n return false\n }\n\n return this.options.types.every(type => commands.updateAttributes(type, { textAlign: alignment }))\n },\n unsetTextAlign: () => ({ commands }) => {\n return this.options.types.every(type => commands.resetAttributes(type, 'textAlign'))\n },\n }\n },\n\n addKeyboardShortcuts() {\n return {\n 'Mod-Shift-l': () => this.editor.commands.setTextAlign('left'),\n 'Mod-Shift-e': () => this.editor.commands.setTextAlign('center'),\n 'Mod-Shift-r': () => this.editor.commands.setTextAlign('right'),\n 'Mod-Shift-j': () => this.editor.commands.setTextAlign('justify'),\n }\n },\n})\n"],"names":["Extension"],"mappings":";;;;;;QAuBa,SAAS,GAAGA,cAAS,CAAC,MAAM,CAAmB;MAC1D,IAAI,EAAE,WAAW;MAEjB,UAAU;UACR,OAAO;cACL,KAAK,EAAE,EAAE;cACT,UAAU,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;cAClD,gBAAgB,EAAE,MAAM;WACzB,CAAA;OACF;MAED,mBAAmB;UACjB,OAAO;cACL;kBACE,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK;kBACzB,UAAU,EAAE;sBACV,SAAS,EAAE;0BACT,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,gBAAgB;0BACtC,SAAS,EAAE,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,CAAC,gBAAgB;0BAC9E,UAAU,EAAE,UAAU;8BACpB,IAAI,UAAU,CAAC,SAAS,KAAK,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;kCAC1D,OAAO,EAAE,CAAA;+BACV;8BAED,OAAO,EAAE,KAAK,EAAE,eAAe,UAAU,CAAC,SAAS,EAAE,EAAE,CAAA;2BACxD;uBACF;mBACF;eACF;WACF,CAAA;OACF;MAED,WAAW;UACT,OAAO;cACL,YAAY,EAAE,CAAC,SAAiB,KAAK,CAAC,EAAE,QAAQ,EAAE;kBAChD,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;sBAChD,OAAO,KAAK,CAAA;mBACb;kBAED,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC,gBAAgB,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC,CAAA;eACnG;cACD,cAAc,EAAE,MAAM,CAAC,EAAE,QAAQ,EAAE;kBACjC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAA;eACrF;WACF,CAAA;OACF;MAED,oBAAoB;UAClB,OAAO;cACL,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,MAAM,CAAC;cAC9D,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC;cAChE,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC;cAC/D,aAAa,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC;WAClE,CAAA;OACF;GACF;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiptap/extension-text-align",
3
3
  "description": "text align extension for tiptap",
4
- "version": "2.0.0-beta.27",
4
+ "version": "2.0.0-beta.28",
5
5
  "homepage": "https://tiptap.dev",
6
6
  "keywords": [
7
7
  "tiptap",
@@ -28,5 +28,5 @@
28
28
  "url": "https://github.com/ueberdosis/tiptap",
29
29
  "directory": "packages/extension-text-align"
30
30
  },
31
- "gitHead": "fce16e805824972834d5a8ce8d60e3ff41d63c7e"
31
+ "gitHead": "621cfa2f7e98a48525fa22f9d97a92fc08368966"
32
32
  }