@tiptap/suggestion
Advanced tools
Comparing version 2.0.0-beta.197 to 2.0.0-beta.198
@@ -58,3 +58,3 @@ 'use strict'; | ||
const SuggestionPluginKey = new prosemirrorState.PluginKey('suggestion'); | ||
function Suggestion({ pluginKey = SuggestionPluginKey, editor, char = '@', allowSpaces = false, allowedPrefixes = [' '], startOfLine = false, decorationTag = 'span', decorationClass = 'suggestion', command = () => null, items = () => [], render = () => ({}), allow = () => true, }) { | ||
function Suggestion({ pluginKey = SuggestionPluginKey, editor, char = '@', allowSpaces = false, allowedPrefixes = null, startOfLine = false, decorationTag = 'span', decorationClass = 'suggestion', command = () => null, items = () => [], render = () => ({}), allow = () => true, }) { | ||
let props; | ||
@@ -61,0 +61,0 @@ const renderer = render === null || render === void 0 ? void 0 : render(); |
@@ -54,3 +54,3 @@ import { PluginKey, Plugin } from 'prosemirror-state'; | ||
const SuggestionPluginKey = new PluginKey('suggestion'); | ||
function Suggestion({ pluginKey = SuggestionPluginKey, editor, char = '@', allowSpaces = false, allowedPrefixes = [' '], startOfLine = false, decorationTag = 'span', decorationClass = 'suggestion', command = () => null, items = () => [], render = () => ({}), allow = () => true, }) { | ||
function Suggestion({ pluginKey = SuggestionPluginKey, editor, char = '@', allowSpaces = false, allowedPrefixes = null, startOfLine = false, decorationTag = 'span', decorationClass = 'suggestion', command = () => null, items = () => [], render = () => ({}), allow = () => true, }) { | ||
let props; | ||
@@ -57,0 +57,0 @@ const renderer = render === null || render === void 0 ? void 0 : render(); |
@@ -56,3 +56,3 @@ (function (global, factory) { | ||
const SuggestionPluginKey = new prosemirrorState.PluginKey('suggestion'); | ||
function Suggestion({ pluginKey = SuggestionPluginKey, editor, char = '@', allowSpaces = false, allowedPrefixes = [' '], startOfLine = false, decorationTag = 'span', decorationClass = 'suggestion', command = () => null, items = () => [], render = () => ({}), allow = () => true, }) { | ||
function Suggestion({ pluginKey = SuggestionPluginKey, editor, char = '@', allowSpaces = false, allowedPrefixes = null, startOfLine = false, decorationTag = 'span', decorationClass = 'suggestion', command = () => null, items = () => [], render = () => ({}), allow = () => true, }) { | ||
let props; | ||
@@ -59,0 +59,0 @@ const renderer = render === null || render === void 0 ? void 0 : render(); |
{ | ||
"name": "@tiptap/suggestion", | ||
"description": "suggestion plugin for tiptap", | ||
"version": "2.0.0-beta.197", | ||
"version": "2.0.0-beta.198", | ||
"homepage": "https://tiptap.dev", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -64,3 +64,3 @@ import { Editor, Range } from '@tiptap/core' | ||
allowSpaces = false, | ||
allowedPrefixes = [' '], | ||
allowedPrefixes = null, | ||
startOfLine = false, | ||
@@ -67,0 +67,0 @@ decorationTag = 'span', |
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
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
110827