tiptap-markdown
Advanced tools
Comparing version 0.8.4 to 0.8.5
@@ -471,3 +471,3 @@ var __defProp = Object.defineProperty; | ||
var _node$content$content, _node$content; | ||
return (_node$content$content = node === null || node === void 0 ? void 0 : (_node$content = node.content) === null || _node$content === void 0 ? void 0 : _node$content.content) !== null && _node$content$content !== void 0 ? _node$content$content : []; | ||
return (_node$content$content = node === null || node === void 0 || (_node$content = node.content) === null || _node$content === void 0 ? void 0 : _node$content.content) !== null && _node$content$content !== void 0 ? _node$content$content : []; | ||
} | ||
@@ -747,4 +747,4 @@ const Table = Node$1.create({ | ||
serializeNode(node) { | ||
var _getMarkdownSpec, _getMarkdownSpec$seri; | ||
return (_getMarkdownSpec = getMarkdownSpec(node)) === null || _getMarkdownSpec === void 0 ? void 0 : (_getMarkdownSpec$seri = _getMarkdownSpec.serialize) === null || _getMarkdownSpec$seri === void 0 ? void 0 : _getMarkdownSpec$seri.bind({ | ||
var _getMarkdownSpec; | ||
return (_getMarkdownSpec = getMarkdownSpec(node)) === null || _getMarkdownSpec === void 0 || (_getMarkdownSpec = _getMarkdownSpec.serialize) === null || _getMarkdownSpec === void 0 ? void 0 : _getMarkdownSpec.bind({ | ||
editor: this.editor, | ||
@@ -799,4 +799,4 @@ options: node.options | ||
this.editor.extensionManager.extensions.forEach((extension) => { | ||
var _getMarkdownSpec, _getMarkdownSpec$pars, _getMarkdownSpec$pars2; | ||
return (_getMarkdownSpec = getMarkdownSpec(extension)) === null || _getMarkdownSpec === void 0 ? void 0 : (_getMarkdownSpec$pars = _getMarkdownSpec.parse) === null || _getMarkdownSpec$pars === void 0 ? void 0 : (_getMarkdownSpec$pars2 = _getMarkdownSpec$pars.setup) === null || _getMarkdownSpec$pars2 === void 0 ? void 0 : _getMarkdownSpec$pars2.call({ | ||
var _getMarkdownSpec; | ||
return (_getMarkdownSpec = getMarkdownSpec(extension)) === null || _getMarkdownSpec === void 0 || (_getMarkdownSpec = _getMarkdownSpec.parse) === null || _getMarkdownSpec === void 0 || (_getMarkdownSpec = _getMarkdownSpec.setup) === null || _getMarkdownSpec === void 0 ? void 0 : _getMarkdownSpec.call({ | ||
editor: this.editor, | ||
@@ -809,4 +809,4 @@ options: extension.options | ||
this.editor.extensionManager.extensions.forEach((extension) => { | ||
var _getMarkdownSpec2, _getMarkdownSpec2$par, _getMarkdownSpec2$par2; | ||
return (_getMarkdownSpec2 = getMarkdownSpec(extension)) === null || _getMarkdownSpec2 === void 0 ? void 0 : (_getMarkdownSpec2$par = _getMarkdownSpec2.parse) === null || _getMarkdownSpec2$par === void 0 ? void 0 : (_getMarkdownSpec2$par2 = _getMarkdownSpec2$par.updateDOM) === null || _getMarkdownSpec2$par2 === void 0 ? void 0 : _getMarkdownSpec2$par2.call({ | ||
var _getMarkdownSpec2; | ||
return (_getMarkdownSpec2 = getMarkdownSpec(extension)) === null || _getMarkdownSpec2 === void 0 || (_getMarkdownSpec2 = _getMarkdownSpec2.parse) === null || _getMarkdownSpec2 === void 0 || (_getMarkdownSpec2 = _getMarkdownSpec2.updateDOM) === null || _getMarkdownSpec2 === void 0 ? void 0 : _getMarkdownSpec2.call({ | ||
editor: this.editor, | ||
@@ -813,0 +813,0 @@ options: extension.options |
@@ -469,3 +469,3 @@ (function(global, factory) { | ||
var _node$content$content, _node$content; | ||
return (_node$content$content = node === null || node === void 0 ? void 0 : (_node$content = node.content) === null || _node$content === void 0 ? void 0 : _node$content.content) !== null && _node$content$content !== void 0 ? _node$content$content : []; | ||
return (_node$content$content = node === null || node === void 0 || (_node$content = node.content) === null || _node$content === void 0 ? void 0 : _node$content.content) !== null && _node$content$content !== void 0 ? _node$content$content : []; | ||
} | ||
@@ -745,4 +745,4 @@ const Table = core.Node.create({ | ||
serializeNode(node) { | ||
var _getMarkdownSpec, _getMarkdownSpec$seri; | ||
return (_getMarkdownSpec = getMarkdownSpec(node)) === null || _getMarkdownSpec === void 0 ? void 0 : (_getMarkdownSpec$seri = _getMarkdownSpec.serialize) === null || _getMarkdownSpec$seri === void 0 ? void 0 : _getMarkdownSpec$seri.bind({ | ||
var _getMarkdownSpec; | ||
return (_getMarkdownSpec = getMarkdownSpec(node)) === null || _getMarkdownSpec === void 0 || (_getMarkdownSpec = _getMarkdownSpec.serialize) === null || _getMarkdownSpec === void 0 ? void 0 : _getMarkdownSpec.bind({ | ||
editor: this.editor, | ||
@@ -797,4 +797,4 @@ options: node.options | ||
this.editor.extensionManager.extensions.forEach((extension) => { | ||
var _getMarkdownSpec, _getMarkdownSpec$pars, _getMarkdownSpec$pars2; | ||
return (_getMarkdownSpec = getMarkdownSpec(extension)) === null || _getMarkdownSpec === void 0 ? void 0 : (_getMarkdownSpec$pars = _getMarkdownSpec.parse) === null || _getMarkdownSpec$pars === void 0 ? void 0 : (_getMarkdownSpec$pars2 = _getMarkdownSpec$pars.setup) === null || _getMarkdownSpec$pars2 === void 0 ? void 0 : _getMarkdownSpec$pars2.call({ | ||
var _getMarkdownSpec; | ||
return (_getMarkdownSpec = getMarkdownSpec(extension)) === null || _getMarkdownSpec === void 0 || (_getMarkdownSpec = _getMarkdownSpec.parse) === null || _getMarkdownSpec === void 0 || (_getMarkdownSpec = _getMarkdownSpec.setup) === null || _getMarkdownSpec === void 0 ? void 0 : _getMarkdownSpec.call({ | ||
editor: this.editor, | ||
@@ -807,4 +807,4 @@ options: extension.options | ||
this.editor.extensionManager.extensions.forEach((extension) => { | ||
var _getMarkdownSpec2, _getMarkdownSpec2$par, _getMarkdownSpec2$par2; | ||
return (_getMarkdownSpec2 = getMarkdownSpec(extension)) === null || _getMarkdownSpec2 === void 0 ? void 0 : (_getMarkdownSpec2$par = _getMarkdownSpec2.parse) === null || _getMarkdownSpec2$par === void 0 ? void 0 : (_getMarkdownSpec2$par2 = _getMarkdownSpec2$par.updateDOM) === null || _getMarkdownSpec2$par2 === void 0 ? void 0 : _getMarkdownSpec2$par2.call({ | ||
var _getMarkdownSpec2; | ||
return (_getMarkdownSpec2 = getMarkdownSpec(extension)) === null || _getMarkdownSpec2 === void 0 || (_getMarkdownSpec2 = _getMarkdownSpec2.parse) === null || _getMarkdownSpec2 === void 0 || (_getMarkdownSpec2 = _getMarkdownSpec2.updateDOM) === null || _getMarkdownSpec2 === void 0 ? void 0 : _getMarkdownSpec2.call({ | ||
editor: this.editor, | ||
@@ -811,0 +811,0 @@ options: extension.options |
{ | ||
"name": "tiptap-markdown", | ||
"version": "0.8.4", | ||
"version": "0.8.5", | ||
"description": "Edit markdown content in tiptap editor.", | ||
@@ -24,3 +24,4 @@ "scripts": { | ||
"import": "./dist/tiptap-markdown.es.js", | ||
"require": "./dist/tiptap-markdown.umd.js" | ||
"require": "./dist/tiptap-markdown.umd.js", | ||
"types": "./index.d.ts" | ||
} | ||
@@ -39,3 +40,3 @@ }, | ||
"type": "git", | ||
"url": "https://github.com/aguingand/tiptap-markdown.git" | ||
"url": "git+https://github.com/aguingand/tiptap-markdown.git" | ||
}, | ||
@@ -59,4 +60,2 @@ "bugs": { | ||
"@babel/core": "^7.23.2", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", | ||
"@babel/plugin-proposal-optional-chaining": "^7.21.0", | ||
"@babel/preset-env": "^7.23.2", | ||
@@ -63,0 +62,0 @@ "@rollup/plugin-babel": "^5.3.1", |
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
23
223260