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

@remirror/extension-heading

Package Overview
Dependencies
Maintainers
1
Versions
281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/extension-heading - npm Package Compare versions

Comparing version 1.0.0-next.13 to 1.0.0-next.15

19

CHANGELOG.md
# @remirror/extension-heading
## 1.0.0-next.15
> 2020-07-31
### Minor Changes
- 44516da4: Support `chained` commands and multiple command updates in controlled editors.
Fixes #418
### Patch Changes
- Updated dependencies [cdc5b801]
- Updated dependencies [44516da4]
- Updated dependencies [e5ea0c84]
- Updated dependencies [a404f5a1]
- Updated dependencies [6c3b278b]
- @remirror/core@1.0.0-next.15
## 1.0.0-next.13

@@ -4,0 +23,0 @@

5

dist/extension-heading.cjs.dev.js

@@ -9,3 +9,2 @@ 'use strict';

var core = require('@remirror/core');
var commands = require('@remirror/pm/commands');
var inputrules = require('@remirror/pm/inputrules');

@@ -79,5 +78,5 @@

this.options.levels.forEach(level => {
keys["Shift-Ctrl-".concat(level)] = core.convertCommand(commands.setBlockType(this.type, {
keys["Shift-Ctrl-".concat(level)] = core.setBlockType(this.type, {
level
}));
});
});

@@ -84,0 +83,0 @@ return keys;

6

dist/extension-heading.cjs.prod.js

@@ -11,3 +11,3 @@ "use strict";

var _dec, _class, _defineProperty = _interopDefault(require("@babel/runtime/helpers/defineProperty")), core = require("@remirror/core"), commands = require("@remirror/pm/commands"), inputrules = require("@remirror/pm/inputrules");
var _dec, _class, _defineProperty = _interopDefault(require("@babel/runtime/helpers/defineProperty")), core = require("@remirror/core"), inputrules = require("@remirror/pm/inputrules");

@@ -83,5 +83,5 @@ function ownKeys(object, enumerableOnly) {

return this.options.levels.forEach(level => {
keys["Shift-Ctrl-".concat(level)] = core.convertCommand(commands.setBlockType(this.type, {
keys["Shift-Ctrl-".concat(level)] = core.setBlockType(this.type, {
level: level
}));
});
}), keys;

@@ -88,0 +88,0 @@ }

import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
import { NodeExtension, NodeGroup, toggleBlockItem, object, convertCommand, extensionDecorator } from '@remirror/core';
import { setBlockType } from '@remirror/pm/commands';
import { NodeExtension, NodeGroup, toggleBlockItem, object, setBlockType, extensionDecorator } from '@remirror/core';
import { textblockTypeInputRule } from '@remirror/pm/inputrules';

@@ -72,5 +71,5 @@

this.options.levels.forEach(level => {
keys["Shift-Ctrl-".concat(level)] = convertCommand(setBlockType(this.type, {
keys["Shift-Ctrl-".concat(level)] = setBlockType(this.type, {
level
}));
});
});

@@ -77,0 +76,0 @@ return keys;

{
"name": "@remirror/extension-heading",
"version": "1.0.0-next.13",
"version": "1.0.0-next.15",
"description": "Add headings to your text editor.",

@@ -26,7 +26,7 @@ "keywords": [

"devDependencies": {
"@remirror/core": "^1.0.0-next.13",
"@remirror/core": "^1.0.0-next.15",
"@remirror/pm": "^1.0.0-next.4"
},
"peerDependencies": {
"@remirror/core": "^1.0.0-next.13",
"@remirror/core": "^1.0.0-next.15",
"@remirror/pm": "^1.0.0-next.4"

@@ -33,0 +33,0 @@ },

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