@tiptap/extension-color 2.0.0-beta.2 → 2.0.0-beta.201
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/packages/extension-color/src/color.d.ts +3 -4
- package/dist/tiptap-extension-color.cjs.js +7 -9
- package/dist/tiptap-extension-color.cjs.js.map +1 -1
- package/dist/tiptap-extension-color.esm.js +6 -8
- package/dist/tiptap-extension-color.esm.js.map +1 -1
- package/dist/tiptap-extension-color.umd.js +11 -13
- package/dist/tiptap-extension-color.umd.js.map +1 -1
- package/package.json +4 -5
- package/src/color.ts +8 -9
- package/CHANGELOG.md +0 -8
- package/LICENSE.md +0 -21
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Extension } from '@tiptap/core';
|
|
2
1
|
import '@tiptap/extension-text-style';
|
|
3
|
-
|
|
2
|
+
import { Extension } from '@tiptap/core';
|
|
3
|
+
export declare type ColorOptions = {
|
|
4
4
|
types: string[];
|
|
5
5
|
};
|
|
6
6
|
declare module '@tiptap/core' {
|
|
@@ -17,5 +17,4 @@ declare module '@tiptap/core' {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
export declare const Color: Extension<ColorOptions>;
|
|
21
|
-
export {};
|
|
20
|
+
export declare const Color: Extension<ColorOptions, any>;
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var core = require('@tiptap/core');
|
|
6
5
|
require('@tiptap/extension-text-style');
|
|
6
|
+
var core = require('@tiptap/core');
|
|
7
7
|
|
|
8
8
|
const Color = core.Extension.create({
|
|
9
9
|
name: 'color',
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
addOptions() {
|
|
11
|
+
return {
|
|
12
|
+
types: ['textStyle'],
|
|
13
|
+
};
|
|
12
14
|
},
|
|
13
15
|
addGlobalAttributes() {
|
|
14
16
|
return [
|
|
@@ -17,6 +19,7 @@ const Color = core.Extension.create({
|
|
|
17
19
|
attributes: {
|
|
18
20
|
color: {
|
|
19
21
|
default: null,
|
|
22
|
+
parseHTML: element => { var _a; return (_a = element.style.color) === null || _a === void 0 ? void 0 : _a.replace(/['"]+/g, ''); },
|
|
20
23
|
renderHTML: attributes => {
|
|
21
24
|
if (!attributes.color) {
|
|
22
25
|
return {};
|
|
@@ -25,11 +28,6 @@ const Color = core.Extension.create({
|
|
|
25
28
|
style: `color: ${attributes.color}`,
|
|
26
29
|
};
|
|
27
30
|
},
|
|
28
|
-
parseHTML: element => {
|
|
29
|
-
return {
|
|
30
|
-
color: element.style.color.replace(/['"]+/g, ''),
|
|
31
|
-
};
|
|
32
|
-
},
|
|
33
31
|
},
|
|
34
32
|
},
|
|
35
33
|
},
|
|
@@ -53,5 +51,5 @@ const Color = core.Extension.create({
|
|
|
53
51
|
});
|
|
54
52
|
|
|
55
53
|
exports.Color = Color;
|
|
56
|
-
exports[
|
|
54
|
+
exports["default"] = Color;
|
|
57
55
|
//# sourceMappingURL=tiptap-extension-color.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiptap-extension-color.cjs.js","sources":["../src/color.ts"],"sourcesContent":["import { Extension } from '@tiptap/core'\
|
|
1
|
+
{"version":3,"file":"tiptap-extension-color.cjs.js","sources":["../src/color.ts"],"sourcesContent":["import '@tiptap/extension-text-style'\n\nimport { Extension } from '@tiptap/core'\n\nexport type ColorOptions = {\n types: string[],\n}\n\ndeclare module '@tiptap/core' {\n interface Commands<ReturnType> {\n color: {\n /**\n * Set the text color\n */\n setColor: (color: string) => ReturnType,\n /**\n * Unset the text color\n */\n unsetColor: () => ReturnType,\n }\n }\n}\n\nexport const Color = Extension.create<ColorOptions>({\n name: 'color',\n\n addOptions() {\n return {\n types: ['textStyle'],\n }\n },\n\n addGlobalAttributes() {\n return [\n {\n types: this.options.types,\n attributes: {\n color: {\n default: null,\n parseHTML: element => element.style.color?.replace(/['\"]+/g, ''),\n renderHTML: attributes => {\n if (!attributes.color) {\n return {}\n }\n\n return {\n style: `color: ${attributes.color}`,\n }\n },\n },\n },\n },\n ]\n },\n\n addCommands() {\n return {\n setColor: color => ({ chain }) => {\n return chain()\n .setMark('textStyle', { color })\n .run()\n },\n unsetColor: () => ({ chain }) => {\n return chain()\n .setMark('textStyle', { color: null })\n .removeEmptyTextStyle()\n .run()\n },\n }\n },\n})\n"],"names":["Extension"],"mappings":";;;;;;;AAuBa,MAAA,KAAK,GAAGA,cAAS,CAAC,MAAM,CAAe;AAClD,IAAA,IAAI,EAAE,OAAO;IAEb,UAAU,GAAA;QACR,OAAO;YACL,KAAK,EAAE,CAAC,WAAW,CAAC;SACrB,CAAA;KACF;IAED,mBAAmB,GAAA;QACjB,OAAO;AACL,YAAA;AACE,gBAAA,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK;AACzB,gBAAA,UAAU,EAAE;AACV,oBAAA,KAAK,EAAE;AACL,wBAAA,OAAO,EAAE,IAAI;wBACb,SAAS,EAAE,OAAO,cAAI,OAAA,CAAA,EAAA,GAAA,OAAO,CAAC,KAAK,CAAC,KAAK,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAA,EAAA;wBAChE,UAAU,EAAE,UAAU,IAAG;AACvB,4BAAA,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE;AACrB,gCAAA,OAAO,EAAE,CAAA;AACV,6BAAA;4BAED,OAAO;AACL,gCAAA,KAAK,EAAE,CAAA,OAAA,EAAU,UAAU,CAAC,KAAK,CAAE,CAAA;6BACpC,CAAA;yBACF;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;SACF,CAAA;KACF;IAED,WAAW,GAAA;QACT,OAAO;YACL,QAAQ,EAAE,KAAK,IAAI,CAAC,EAAE,KAAK,EAAE,KAAI;AAC/B,gBAAA,OAAO,KAAK,EAAE;AACX,qBAAA,OAAO,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,CAAC;AAC/B,qBAAA,GAAG,EAAE,CAAA;aACT;YACD,UAAU,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,KAAI;AAC9B,gBAAA,OAAO,KAAK,EAAE;qBACX,OAAO,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AACrC,qBAAA,oBAAoB,EAAE;AACtB,qBAAA,GAAG,EAAE,CAAA;aACT;SACF,CAAA;KACF;AACF,CAAA;;;;;"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { Extension } from '@tiptap/core';
|
|
2
1
|
import '@tiptap/extension-text-style';
|
|
2
|
+
import { Extension } from '@tiptap/core';
|
|
3
3
|
|
|
4
4
|
const Color = Extension.create({
|
|
5
5
|
name: 'color',
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
addOptions() {
|
|
7
|
+
return {
|
|
8
|
+
types: ['textStyle'],
|
|
9
|
+
};
|
|
8
10
|
},
|
|
9
11
|
addGlobalAttributes() {
|
|
10
12
|
return [
|
|
@@ -13,6 +15,7 @@ const Color = Extension.create({
|
|
|
13
15
|
attributes: {
|
|
14
16
|
color: {
|
|
15
17
|
default: null,
|
|
18
|
+
parseHTML: element => { var _a; return (_a = element.style.color) === null || _a === void 0 ? void 0 : _a.replace(/['"]+/g, ''); },
|
|
16
19
|
renderHTML: attributes => {
|
|
17
20
|
if (!attributes.color) {
|
|
18
21
|
return {};
|
|
@@ -21,11 +24,6 @@ const Color = Extension.create({
|
|
|
21
24
|
style: `color: ${attributes.color}`,
|
|
22
25
|
};
|
|
23
26
|
},
|
|
24
|
-
parseHTML: element => {
|
|
25
|
-
return {
|
|
26
|
-
color: element.style.color.replace(/['"]+/g, ''),
|
|
27
|
-
};
|
|
28
|
-
},
|
|
29
27
|
},
|
|
30
28
|
},
|
|
31
29
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiptap-extension-color.esm.js","sources":["../src/color.ts"],"sourcesContent":["import { Extension } from '@tiptap/core'\
|
|
1
|
+
{"version":3,"file":"tiptap-extension-color.esm.js","sources":["../src/color.ts"],"sourcesContent":["import '@tiptap/extension-text-style'\n\nimport { Extension } from '@tiptap/core'\n\nexport type ColorOptions = {\n types: string[],\n}\n\ndeclare module '@tiptap/core' {\n interface Commands<ReturnType> {\n color: {\n /**\n * Set the text color\n */\n setColor: (color: string) => ReturnType,\n /**\n * Unset the text color\n */\n unsetColor: () => ReturnType,\n }\n }\n}\n\nexport const Color = Extension.create<ColorOptions>({\n name: 'color',\n\n addOptions() {\n return {\n types: ['textStyle'],\n }\n },\n\n addGlobalAttributes() {\n return [\n {\n types: this.options.types,\n attributes: {\n color: {\n default: null,\n parseHTML: element => element.style.color?.replace(/['\"]+/g, ''),\n renderHTML: attributes => {\n if (!attributes.color) {\n return {}\n }\n\n return {\n style: `color: ${attributes.color}`,\n }\n },\n },\n },\n },\n ]\n },\n\n addCommands() {\n return {\n setColor: color => ({ chain }) => {\n return chain()\n .setMark('textStyle', { color })\n .run()\n },\n unsetColor: () => ({ chain }) => {\n return chain()\n .setMark('textStyle', { color: null })\n .removeEmptyTextStyle()\n .run()\n },\n }\n },\n})\n"],"names":[],"mappings":";;;AAuBa,MAAA,KAAK,GAAG,SAAS,CAAC,MAAM,CAAe;AAClD,IAAA,IAAI,EAAE,OAAO;IAEb,UAAU,GAAA;QACR,OAAO;YACL,KAAK,EAAE,CAAC,WAAW,CAAC;SACrB,CAAA;KACF;IAED,mBAAmB,GAAA;QACjB,OAAO;AACL,YAAA;AACE,gBAAA,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK;AACzB,gBAAA,UAAU,EAAE;AACV,oBAAA,KAAK,EAAE;AACL,wBAAA,OAAO,EAAE,IAAI;wBACb,SAAS,EAAE,OAAO,cAAI,OAAA,CAAA,EAAA,GAAA,OAAO,CAAC,KAAK,CAAC,KAAK,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAA,EAAA;wBAChE,UAAU,EAAE,UAAU,IAAG;AACvB,4BAAA,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE;AACrB,gCAAA,OAAO,EAAE,CAAA;AACV,6BAAA;4BAED,OAAO;AACL,gCAAA,KAAK,EAAE,CAAA,OAAA,EAAU,UAAU,CAAC,KAAK,CAAE,CAAA;6BACpC,CAAA;yBACF;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;SACF,CAAA;KACF;IAED,WAAW,GAAA;QACT,OAAO;YACL,QAAQ,EAAE,KAAK,IAAI,CAAC,EAAE,KAAK,EAAE,KAAI;AAC/B,gBAAA,OAAO,KAAK,EAAE;AACX,qBAAA,OAAO,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,CAAC;AAC/B,qBAAA,GAAG,EAAE,CAAA;aACT;YACD,UAAU,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,KAAI;AAC9B,gBAAA,OAAO,KAAK,EAAE;qBACX,OAAO,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AACrC,qBAAA,oBAAoB,EAAE;AACtB,qBAAA,GAAG,EAAE,CAAA;aACT;SACF,CAAA;KACF;AACF,CAAA;;;;"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@tiptap/
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global[
|
|
5
|
-
}(this, (function (exports, core) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/extension-text-style'), require('@tiptap/core')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', '@tiptap/extension-text-style', '@tiptap/core'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@tiptap/extension-color"] = {}, null, global.core));
|
|
5
|
+
})(this, (function (exports, extensionTextStyle, core) { 'use strict';
|
|
6
6
|
|
|
7
7
|
const Color = core.Extension.create({
|
|
8
8
|
name: 'color',
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
addOptions() {
|
|
10
|
+
return {
|
|
11
|
+
types: ['textStyle'],
|
|
12
|
+
};
|
|
11
13
|
},
|
|
12
14
|
addGlobalAttributes() {
|
|
13
15
|
return [
|
|
@@ -16,6 +18,7 @@
|
|
|
16
18
|
attributes: {
|
|
17
19
|
color: {
|
|
18
20
|
default: null,
|
|
21
|
+
parseHTML: element => { var _a; return (_a = element.style.color) === null || _a === void 0 ? void 0 : _a.replace(/['"]+/g, ''); },
|
|
19
22
|
renderHTML: attributes => {
|
|
20
23
|
if (!attributes.color) {
|
|
21
24
|
return {};
|
|
@@ -24,11 +27,6 @@
|
|
|
24
27
|
style: `color: ${attributes.color}`,
|
|
25
28
|
};
|
|
26
29
|
},
|
|
27
|
-
parseHTML: element => {
|
|
28
|
-
return {
|
|
29
|
-
color: element.style.color.replace(/['"]+/g, ''),
|
|
30
|
-
};
|
|
31
|
-
},
|
|
32
30
|
},
|
|
33
31
|
},
|
|
34
32
|
},
|
|
@@ -52,9 +50,9 @@
|
|
|
52
50
|
});
|
|
53
51
|
|
|
54
52
|
exports.Color = Color;
|
|
55
|
-
exports[
|
|
53
|
+
exports["default"] = Color;
|
|
56
54
|
|
|
57
55
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
58
56
|
|
|
59
|
-
}))
|
|
57
|
+
}));
|
|
60
58
|
//# sourceMappingURL=tiptap-extension-color.umd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiptap-extension-color.umd.js","sources":["../src/color.ts"],"sourcesContent":["import { Extension } from '@tiptap/core'\
|
|
1
|
+
{"version":3,"file":"tiptap-extension-color.umd.js","sources":["../src/color.ts"],"sourcesContent":["import '@tiptap/extension-text-style'\n\nimport { Extension } from '@tiptap/core'\n\nexport type ColorOptions = {\n types: string[],\n}\n\ndeclare module '@tiptap/core' {\n interface Commands<ReturnType> {\n color: {\n /**\n * Set the text color\n */\n setColor: (color: string) => ReturnType,\n /**\n * Unset the text color\n */\n unsetColor: () => ReturnType,\n }\n }\n}\n\nexport const Color = Extension.create<ColorOptions>({\n name: 'color',\n\n addOptions() {\n return {\n types: ['textStyle'],\n }\n },\n\n addGlobalAttributes() {\n return [\n {\n types: this.options.types,\n attributes: {\n color: {\n default: null,\n parseHTML: element => element.style.color?.replace(/['\"]+/g, ''),\n renderHTML: attributes => {\n if (!attributes.color) {\n return {}\n }\n\n return {\n style: `color: ${attributes.color}`,\n }\n },\n },\n },\n },\n ]\n },\n\n addCommands() {\n return {\n setColor: color => ({ chain }) => {\n return chain()\n .setMark('textStyle', { color })\n .run()\n },\n unsetColor: () => ({ chain }) => {\n return chain()\n .setMark('textStyle', { color: null })\n .removeEmptyTextStyle()\n .run()\n },\n }\n },\n})\n"],"names":["Extension"],"mappings":";;;;;;AAuBa,QAAA,KAAK,GAAGA,cAAS,CAAC,MAAM,CAAe;EAClD,IAAA,IAAI,EAAE,OAAO;MAEb,UAAU,GAAA;UACR,OAAO;cACL,KAAK,EAAE,CAAC,WAAW,CAAC;WACrB,CAAA;OACF;MAED,mBAAmB,GAAA;UACjB,OAAO;EACL,YAAA;EACE,gBAAA,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK;EACzB,gBAAA,UAAU,EAAE;EACV,oBAAA,KAAK,EAAE;EACL,wBAAA,OAAO,EAAE,IAAI;0BACb,SAAS,EAAE,OAAO,cAAI,OAAA,CAAA,EAAA,GAAA,OAAO,CAAC,KAAK,CAAC,KAAK,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAA,EAAA;0BAChE,UAAU,EAAE,UAAU,IAAG;EACvB,4BAAA,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE;EACrB,gCAAA,OAAO,EAAE,CAAA;EACV,6BAAA;8BAED,OAAO;EACL,gCAAA,KAAK,EAAE,CAAA,OAAA,EAAU,UAAU,CAAC,KAAK,CAAE,CAAA;+BACpC,CAAA;2BACF;EACF,qBAAA;EACF,iBAAA;EACF,aAAA;WACF,CAAA;OACF;MAED,WAAW,GAAA;UACT,OAAO;cACL,QAAQ,EAAE,KAAK,IAAI,CAAC,EAAE,KAAK,EAAE,KAAI;EAC/B,gBAAA,OAAO,KAAK,EAAE;EACX,qBAAA,OAAO,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,CAAC;EAC/B,qBAAA,GAAG,EAAE,CAAA;eACT;cACD,UAAU,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,KAAI;EAC9B,gBAAA,OAAO,KAAK,EAAE;uBACX,OAAO,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;EACrC,qBAAA,oBAAoB,EAAE;EACtB,qBAAA,GAAG,EAAE,CAAA;eACT;WACF,CAAA;OACF;EACF,CAAA;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiptap/extension-color",
|
|
3
3
|
"description": "text color extension for tiptap",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.201",
|
|
5
5
|
"homepage": "https://tiptap.dev",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tiptap",
|
|
@@ -21,13 +21,12 @@
|
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@tiptap/core": "^2.0.0-beta.
|
|
25
|
-
"@tiptap/extension-text-style": "^2.0.0-beta.
|
|
24
|
+
"@tiptap/core": "^2.0.0-beta.193",
|
|
25
|
+
"@tiptap/extension-text-style": "^2.0.0-beta.193"
|
|
26
26
|
},
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
29
29
|
"url": "https://github.com/ueberdosis/tiptap",
|
|
30
30
|
"directory": "packages/extension-color"
|
|
31
|
-
}
|
|
32
|
-
"gitHead": "ae9f2d290a1c44ff20e2e646c376ca78e94d9651"
|
|
31
|
+
}
|
|
33
32
|
}
|
package/src/color.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Extension } from '@tiptap/core'
|
|
2
1
|
import '@tiptap/extension-text-style'
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
import { Extension } from '@tiptap/core'
|
|
4
|
+
|
|
5
|
+
export type ColorOptions = {
|
|
5
6
|
types: string[],
|
|
6
7
|
}
|
|
7
8
|
|
|
@@ -23,8 +24,10 @@ declare module '@tiptap/core' {
|
|
|
23
24
|
export const Color = Extension.create<ColorOptions>({
|
|
24
25
|
name: 'color',
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
addOptions() {
|
|
28
|
+
return {
|
|
29
|
+
types: ['textStyle'],
|
|
30
|
+
}
|
|
28
31
|
},
|
|
29
32
|
|
|
30
33
|
addGlobalAttributes() {
|
|
@@ -34,6 +37,7 @@ export const Color = Extension.create<ColorOptions>({
|
|
|
34
37
|
attributes: {
|
|
35
38
|
color: {
|
|
36
39
|
default: null,
|
|
40
|
+
parseHTML: element => element.style.color?.replace(/['"]+/g, ''),
|
|
37
41
|
renderHTML: attributes => {
|
|
38
42
|
if (!attributes.color) {
|
|
39
43
|
return {}
|
|
@@ -43,11 +47,6 @@ export const Color = Extension.create<ColorOptions>({
|
|
|
43
47
|
style: `color: ${attributes.color}`,
|
|
44
48
|
}
|
|
45
49
|
},
|
|
46
|
-
parseHTML: element => {
|
|
47
|
-
return {
|
|
48
|
-
color: element.style.color.replace(/['"]+/g, ''),
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
50
|
},
|
|
52
51
|
},
|
|
53
52
|
},
|
package/CHANGELOG.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
# 2.0.0-beta.2 (2021-08-19)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @tiptap/extension-color
|
package/LICENSE.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021, überdosis GbR
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|