@tiptap/extension-color
Advanced tools
Comparing version 2.0.0-beta.3 to 2.0.0-beta.4
@@ -20,3 +20,3 @@ import { Extension } from '@tiptap/core'; | ||
} | ||
export declare const Color: Extension<ColorOptions>; | ||
export declare const Color: Extension<ColorOptions, any>; | ||
export {}; |
@@ -10,4 +10,6 @@ 'use strict'; | ||
name: 'color', | ||
defaultOptions: { | ||
types: ['textStyle'], | ||
addOptions() { | ||
return { | ||
types: ['textStyle'], | ||
}; | ||
}, | ||
@@ -53,3 +55,3 @@ addGlobalAttributes() { | ||
exports.Color = Color; | ||
exports['default'] = Color; | ||
exports["default"] = Color; | ||
//# sourceMappingURL=tiptap-extension-color.cjs.js.map |
@@ -6,4 +6,6 @@ import { Extension } from '@tiptap/core'; | ||
name: 'color', | ||
defaultOptions: { | ||
types: ['textStyle'], | ||
addOptions() { | ||
return { | ||
types: ['textStyle'], | ||
}; | ||
}, | ||
@@ -10,0 +12,0 @@ addGlobalAttributes() { |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/core'), require('@tiptap/extension-text-style')) : | ||
typeof define === 'function' && define.amd ? define(['exports', '@tiptap/core', '@tiptap/extension-text-style'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['@tiptap/extension-color'] = {}, global.core)); | ||
}(this, (function (exports, core) { 'use strict'; | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@tiptap/extension-color"] = {}, global.core)); | ||
})(this, (function (exports, core) { 'use strict'; | ||
const Color = core.Extension.create({ | ||
name: 'color', | ||
defaultOptions: { | ||
types: ['textStyle'], | ||
addOptions() { | ||
return { | ||
types: ['textStyle'], | ||
}; | ||
}, | ||
@@ -51,7 +53,7 @@ addGlobalAttributes() { | ||
exports.Color = Color; | ||
exports['default'] = Color; | ||
exports["default"] = Color; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
}))); | ||
})); | ||
//# sourceMappingURL=tiptap-extension-color.umd.js.map |
{ | ||
"name": "@tiptap/extension-color", | ||
"description": "text color extension for tiptap", | ||
"version": "2.0.0-beta.3", | ||
"version": "2.0.0-beta.4", | ||
"homepage": "https://tiptap.dev", | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "42e8755d87b37506d537152dbae4b0c8d497fd48" | ||
"gitHead": "642627ec3635a1d8fa851887d75bee5f193ec63b" | ||
} |
@@ -26,4 +26,6 @@ import { Extension } from '@tiptap/core' | ||
defaultOptions: { | ||
types: ['textStyle'], | ||
addOptions() { | ||
return { | ||
types: ['textStyle'], | ||
} | ||
}, | ||
@@ -30,0 +32,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
243
0
17800
13