@tiptap/suggestion
Advanced tools
Comparing version 2.0.0-beta.202 to 2.0.0-beta.203
@@ -102,3 +102,3 @@ (function (global, factory) { | ||
var _a; | ||
// because of `items` can be asynchrounous we’ll search for the current docoration node | ||
// because of `items` can be asynchrounous we’ll search for the current decoration node | ||
const { decorationId } = (_a = this.key) === null || _a === void 0 ? void 0 : _a.getState(editor.state); // eslint-disable-line | ||
@@ -105,0 +105,0 @@ const currentDecorationNode = view.dom.querySelector(`[data-decoration-id="${decorationId}"]`); |
{ | ||
"name": "@tiptap/suggestion", | ||
"description": "suggestion plugin for tiptap", | ||
"version": "2.0.0-beta.202", | ||
"version": "2.0.0-beta.203", | ||
"homepage": "https://tiptap.dev", | ||
@@ -15,5 +15,5 @@ "keywords": [ | ||
}, | ||
"main": "dist/tiptap-suggestion.cjs.js", | ||
"main": "dist/tiptap-suggestion.cjs", | ||
"umd": "dist/tiptap-suggestion.umd.js", | ||
"module": "dist/tiptap-suggestion.esm.js", | ||
"module": "dist/tiptap-suggestion.mjs", | ||
"types": "dist/packages/suggestion/src/index.d.ts", | ||
@@ -20,0 +20,0 @@ "files": [ |
@@ -123,3 +123,3 @@ import { Editor, Range } from '@tiptap/core' | ||
? () => { | ||
// because of `items` can be asynchrounous we’ll search for the current docoration node | ||
// because of `items` can be asynchrounous we’ll search for the current decoration node | ||
const { decorationId } = this.key?.getState(editor.state) // eslint-disable-line | ||
@@ -126,0 +126,0 @@ const currentDecorationNode = view.dom.querySelector(`[data-decoration-id="${decorationId}"]`) |
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
110846