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

@tiptap/extension-paragraph

Package Overview
Dependencies
Maintainers
2
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-paragraph - npm Package Compare versions

Comparing version 2.0.0-beta.16 to 2.0.0-beta.17

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [2.0.0-beta.17](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-paragraph@2.0.0-beta.16...@tiptap/extension-paragraph@2.0.0-beta.17) (2021-08-11)
### Bug Fixes
* use setNode instead of toggleNode for setParagraph command ([bcc1309](https://github.com/ueberdosis/tiptap/commit/bcc1309cd928d4dc5618fa998722f935975389f0))
# [2.0.0-beta.16](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-paragraph@2.0.0-beta.15...@tiptap/extension-paragraph@2.0.0-beta.16) (2021-07-26)

@@ -8,0 +19,0 @@

4

dist/tiptap-extension-paragraph.cjs.js

@@ -26,3 +26,3 @@ 'use strict';

setParagraph: () => ({ commands }) => {
return commands.toggleNode('paragraph', 'paragraph');
return commands.setNode('paragraph');
},

@@ -39,3 +39,3 @@ };

exports.Paragraph = Paragraph;
exports.default = Paragraph;
exports['default'] = Paragraph;
//# sourceMappingURL=tiptap-extension-paragraph.cjs.js.map

@@ -22,3 +22,3 @@ import { Node, mergeAttributes } from '@tiptap/core';

setParagraph: () => ({ commands }) => {
return commands.toggleNode('paragraph', 'paragraph');
return commands.setNode('paragraph');
},

@@ -34,4 +34,3 @@ };

export default Paragraph;
export { Paragraph };
export { Paragraph, Paragraph as default };
//# sourceMappingURL=tiptap-extension-paragraph.esm.js.map

@@ -26,3 +26,3 @@ (function (global, factory) {

setParagraph: () => ({ commands }) => {
return commands.toggleNode('paragraph', 'paragraph');
return commands.setNode('paragraph');
},

@@ -39,3 +39,3 @@ };

exports.Paragraph = Paragraph;
exports.default = Paragraph;
exports['default'] = Paragraph;

@@ -42,0 +42,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

{
"name": "@tiptap/extension-paragraph",
"description": "paragraph extension for tiptap",
"version": "2.0.0-beta.16",
"version": "2.0.0-beta.17",
"homepage": "https://tiptap.dev",

@@ -31,3 +31,3 @@ "keywords": [

},
"gitHead": "345ea8cf8abba6422dabc6e548594fb8e2c30409"
"gitHead": "f57466ccd009985bda4c928aedbc50e2b8be0c79"
}

@@ -44,3 +44,3 @@ import { Node, mergeAttributes } from '@tiptap/core'

setParagraph: () => ({ commands }) => {
return commands.toggleNode('paragraph', 'paragraph')
return commands.setNode('paragraph')
},

@@ -47,0 +47,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

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