Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remirror/extension-underline

Package Overview
Dependencies
Maintainers
1
Versions
277
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/extension-underline - npm Package Compare versions

Comparing version 1.0.0-pr706.d0b3ea524 to 1.0.0

14

dist/remirror-extension-underline.browser.cjs.js

@@ -12,7 +12,7 @@ 'use strict';

icon: 'underline',
label: (_ref) => {
label: _ref => {
var t = _ref.t;
return t(messages.ExtensionUnderlineMessages.LABEL);
},
description: (_ref2) => {
description: _ref2 => {
var t = _ref2.t;

@@ -28,6 +28,6 @@ return t(messages.ExtensionUnderlineMessages.DESCRIPTION);

var UnderlineExtension = (_dec = /*#__PURE__*/core.extension({}), _dec2 = /*#__PURE__*/core.command(toggleUnderlineOptions), _dec3 = /*#__PURE__*/core.keyBinding({
var UnderlineExtension = (_dec = core.extension({}), _dec2 = core.command(toggleUnderlineOptions), _dec3 = core.keyBinding({
shortcut: core.NamedShortcut.Underline,
command: 'toggleUnderline'
}), /*#__PURE__*/_dec(_class = (_class2 = class UnderlineExtension extends core.MarkExtension {
}), _dec(_class = (_class2 = class UnderlineExtension extends core.MarkExtension {
get name() {

@@ -42,2 +42,4 @@ return 'underline';

createMarkSpec(extra, override) {
var _override$parseDOM;
return _objectSpread(_objectSpread({}, override), {}, {

@@ -51,3 +53,3 @@ attrs: extra.defaults(),

getAttrs: node => node === 'underline' ? {} : false
}],
}, ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])],
toDOM: mark => ['u', extra.dom(mark), 0]

@@ -78,4 +80,4 @@ });

}, ( /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class);
}, (_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class);
exports.UnderlineExtension = UnderlineExtension;

@@ -8,7 +8,7 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';

icon: 'underline',
label: (_ref) => {
label: _ref => {
var t = _ref.t;
return t(ExtensionUnderlineMessages.LABEL);
},
description: (_ref2) => {
description: _ref2 => {
var t = _ref2.t;

@@ -24,6 +24,6 @@ return t(ExtensionUnderlineMessages.DESCRIPTION);

var UnderlineExtension = (_dec = /*#__PURE__*/extension({}), _dec2 = /*#__PURE__*/command(toggleUnderlineOptions), _dec3 = /*#__PURE__*/keyBinding({
var UnderlineExtension = (_dec = extension({}), _dec2 = command(toggleUnderlineOptions), _dec3 = keyBinding({
shortcut: NamedShortcut.Underline,
command: 'toggleUnderline'
}), /*#__PURE__*/_dec(_class = (_class2 = class UnderlineExtension extends MarkExtension {
}), _dec(_class = (_class2 = class UnderlineExtension extends MarkExtension {
get name() {

@@ -38,2 +38,4 @@ return 'underline';

createMarkSpec(extra, override) {
var _override$parseDOM;
return _objectSpread(_objectSpread({}, override), {}, {

@@ -47,3 +49,3 @@ attrs: extra.defaults(),

getAttrs: node => node === 'underline' ? {} : false
}],
}, ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])],
toDOM: mark => ['u', extra.dom(mark), 0]

@@ -74,4 +76,4 @@ });

}, ( /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class);
}, (_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class);
export { UnderlineExtension };

@@ -12,7 +12,7 @@ 'use strict';

icon: 'underline',
label: (_ref) => {
label: _ref => {
var t = _ref.t;
return t(messages.ExtensionUnderlineMessages.LABEL);
},
description: (_ref2) => {
description: _ref2 => {
var t = _ref2.t;

@@ -28,6 +28,6 @@ return t(messages.ExtensionUnderlineMessages.DESCRIPTION);

var UnderlineExtension = (_dec = /*#__PURE__*/core.extension({}), _dec2 = /*#__PURE__*/core.command(toggleUnderlineOptions), _dec3 = /*#__PURE__*/core.keyBinding({
var UnderlineExtension = (_dec = core.extension({}), _dec2 = core.command(toggleUnderlineOptions), _dec3 = core.keyBinding({
shortcut: core.NamedShortcut.Underline,
command: 'toggleUnderline'
}), /*#__PURE__*/_dec(_class = (_class2 = class UnderlineExtension extends core.MarkExtension {
}), _dec(_class = (_class2 = class UnderlineExtension extends core.MarkExtension {
get name() {

@@ -42,2 +42,4 @@ return 'underline';

createMarkSpec(extra, override) {
var _override$parseDOM;
return _objectSpread(_objectSpread({}, override), {}, {

@@ -51,3 +53,3 @@ attrs: extra.defaults(),

getAttrs: node => node === 'underline' ? {} : false
}],
}, ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])],
toDOM: mark => ['u', extra.dom(mark), 0]

@@ -78,4 +80,4 @@ });

}, ( /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class);
}, (_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class);
exports.UnderlineExtension = UnderlineExtension;

@@ -12,7 +12,7 @@ 'use strict';

icon: 'underline',
label: (_ref) => {
label: _ref => {
var t = _ref.t;
return t(messages.ExtensionUnderlineMessages.LABEL);
},
description: (_ref2) => {
description: _ref2 => {
var t = _ref2.t;

@@ -28,6 +28,6 @@ return t(messages.ExtensionUnderlineMessages.DESCRIPTION);

var UnderlineExtension = (_dec = /*#__PURE__*/core.extension({}), _dec2 = /*#__PURE__*/core.command(toggleUnderlineOptions), _dec3 = /*#__PURE__*/core.keyBinding({
var UnderlineExtension = (_dec = core.extension({}), _dec2 = core.command(toggleUnderlineOptions), _dec3 = core.keyBinding({
shortcut: core.NamedShortcut.Underline,
command: 'toggleUnderline'
}), /*#__PURE__*/_dec(_class = (_class2 = class UnderlineExtension extends core.MarkExtension {
}), _dec(_class = (_class2 = class UnderlineExtension extends core.MarkExtension {
get name() {

@@ -42,2 +42,4 @@ return 'underline';

createMarkSpec(extra, override) {
var _override$parseDOM;
return _objectSpread(_objectSpread({}, override), {}, {

@@ -51,3 +53,3 @@ attrs: extra.defaults(),

getAttrs: node => node === 'underline' ? {} : false
}],
}, ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])],
toDOM: mark => ['u', extra.dom(mark), 0]

@@ -78,4 +80,4 @@ });

}, ( /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class);
}, (_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class);
exports.UnderlineExtension = UnderlineExtension;

@@ -8,7 +8,7 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';

icon: 'underline',
label: (_ref) => {
label: _ref => {
var t = _ref.t;
return t(ExtensionUnderlineMessages.LABEL);
},
description: (_ref2) => {
description: _ref2 => {
var t = _ref2.t;

@@ -24,6 +24,6 @@ return t(ExtensionUnderlineMessages.DESCRIPTION);

var UnderlineExtension = (_dec = /*#__PURE__*/extension({}), _dec2 = /*#__PURE__*/command(toggleUnderlineOptions), _dec3 = /*#__PURE__*/keyBinding({
var UnderlineExtension = (_dec = extension({}), _dec2 = command(toggleUnderlineOptions), _dec3 = keyBinding({
shortcut: NamedShortcut.Underline,
command: 'toggleUnderline'
}), /*#__PURE__*/_dec(_class = (_class2 = class UnderlineExtension extends MarkExtension {
}), _dec(_class = (_class2 = class UnderlineExtension extends MarkExtension {
get name() {

@@ -38,2 +38,4 @@ return 'underline';

createMarkSpec(extra, override) {
var _override$parseDOM;
return _objectSpread(_objectSpread({}, override), {}, {

@@ -47,3 +49,3 @@ attrs: extra.defaults(),

getAttrs: node => node === 'underline' ? {} : false
}],
}, ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])],
toDOM: mark => ['u', extra.dom(mark), 0]

@@ -74,4 +76,4 @@ });

}, ( /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class);
}, (_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class);
export { UnderlineExtension };
{
"name": "@remirror/extension-underline",
"version": "1.0.0-pr706.d0b3ea524",
"version": "1.0.0",
"description": "Add underline formatting to your text editor.",

@@ -38,7 +38,12 @@ "keywords": [

"dependencies": {
"@babel/runtime": "^7.12.13",
"@remirror/core": "1.0.0-pr706.d0b3ea524",
"@remirror/messages": "0.0.0-pr706.d0b3ea524",
"@remirror/pm": "1.0.0-pr706.d0b3ea524"
"@babel/runtime": "^7.13.10",
"@remirror/core": "1.0.0",
"@remirror/messages": "1.0.0"
},
"devDependencies": {
"@remirror/pm": "1.0.0"
},
"peerDependencies": {
"@remirror/pm": "1.0.0"
},
"publishConfig": {

@@ -45,0 +50,0 @@ "access": "public"

@@ -7,4 +7,4 @@ # @remirror/extension-underline

[version]: https://flat.badgen.net/npm/v/@remirror/extension-underline/next
[npm]: https://npmjs.com/package/@remirror/extension-underline/v/next
[version]: https://flat.badgen.net/npm/v/@remirror/extension-underline
[npm]: https://npmjs.com/package/@remirror/extension-underline
[license]: https://flat.badgen.net/badge/license/MIT/purple

@@ -11,0 +11,0 @@ [size]: https://bundlephobia.com/result?p=@remirror/extension-underline

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc