prosemirror-suggest
Advanced tools
Comparing version 0.0.0-pr1552.1 to 0.0.0-pr1552.2
@@ -1430,12 +1430,15 @@ 'use strict'; | ||
apply(props) { | ||
// if (this.#lastChangeFromAppend) { | ||
// this.#lastChangeFromAppend = false; | ||
// return this; | ||
// } | ||
var tr = props.tr, | ||
state = props.state; | ||
var _classPrivateFieldGet5 = _classPrivateFieldGet(this, _handlerMatches), | ||
exit = _classPrivateFieldGet5.exit; | ||
if (_classPrivateFieldGet(this, _lastChangeFromAppend)) { | ||
_classPrivateFieldSet(this, _lastChangeFromAppend, false); | ||
if (!(exit !== null && exit !== void 0 && exit.suggester.appendTransaction)) { | ||
return this; | ||
} | ||
} | ||
var tr = props.tr, | ||
state = props.state; | ||
var transactionHasChanged = tr.docChanged || tr.selectionSet; | ||
@@ -1442,0 +1445,0 @@ var shouldIgnoreUpdate = tr.getMeta(IGNORE_SUGGEST_META_KEY); |
@@ -1422,12 +1422,15 @@ import { TextSelection, Selection, PluginKey, Plugin } from 'prosemirror-state'; | ||
apply(props) { | ||
// if (this.#lastChangeFromAppend) { | ||
// this.#lastChangeFromAppend = false; | ||
// return this; | ||
// } | ||
var tr = props.tr, | ||
state = props.state; | ||
var _classPrivateFieldGet5 = _classPrivateFieldGet(this, _handlerMatches), | ||
exit = _classPrivateFieldGet5.exit; | ||
if (_classPrivateFieldGet(this, _lastChangeFromAppend)) { | ||
_classPrivateFieldSet(this, _lastChangeFromAppend, false); | ||
if (!(exit !== null && exit !== void 0 && exit.suggester.appendTransaction)) { | ||
return this; | ||
} | ||
} | ||
var tr = props.tr, | ||
state = props.state; | ||
var transactionHasChanged = tr.docChanged || tr.selectionSet; | ||
@@ -1434,0 +1437,0 @@ var shouldIgnoreUpdate = tr.getMeta(IGNORE_SUGGEST_META_KEY); |
@@ -1430,12 +1430,15 @@ 'use strict'; | ||
apply(props) { | ||
// if (this.#lastChangeFromAppend) { | ||
// this.#lastChangeFromAppend = false; | ||
// return this; | ||
// } | ||
var tr = props.tr, | ||
state = props.state; | ||
var _classPrivateFieldGet5 = _classPrivateFieldGet(this, _handlerMatches), | ||
exit = _classPrivateFieldGet5.exit; | ||
if (_classPrivateFieldGet(this, _lastChangeFromAppend)) { | ||
_classPrivateFieldSet(this, _lastChangeFromAppend, false); | ||
if (!(exit !== null && exit !== void 0 && exit.suggester.appendTransaction)) { | ||
return this; | ||
} | ||
} | ||
var tr = props.tr, | ||
state = props.state; | ||
var transactionHasChanged = tr.docChanged || tr.selectionSet; | ||
@@ -1442,0 +1445,0 @@ var shouldIgnoreUpdate = tr.getMeta(IGNORE_SUGGEST_META_KEY); |
@@ -1430,12 +1430,15 @@ 'use strict'; | ||
apply(props) { | ||
// if (this.#lastChangeFromAppend) { | ||
// this.#lastChangeFromAppend = false; | ||
// return this; | ||
// } | ||
var tr = props.tr, | ||
state = props.state; | ||
var _classPrivateFieldGet5 = _classPrivateFieldGet(this, _handlerMatches), | ||
exit = _classPrivateFieldGet5.exit; | ||
if (_classPrivateFieldGet(this, _lastChangeFromAppend)) { | ||
_classPrivateFieldSet(this, _lastChangeFromAppend, false); | ||
if (!(exit !== null && exit !== void 0 && exit.suggester.appendTransaction)) { | ||
return this; | ||
} | ||
} | ||
var tr = props.tr, | ||
state = props.state; | ||
var transactionHasChanged = tr.docChanged || tr.selectionSet; | ||
@@ -1442,0 +1445,0 @@ var shouldIgnoreUpdate = tr.getMeta(IGNORE_SUGGEST_META_KEY); |
@@ -1422,12 +1422,15 @@ import { TextSelection, Selection, PluginKey, Plugin } from 'prosemirror-state'; | ||
apply(props) { | ||
// if (this.#lastChangeFromAppend) { | ||
// this.#lastChangeFromAppend = false; | ||
// return this; | ||
// } | ||
var tr = props.tr, | ||
state = props.state; | ||
var _classPrivateFieldGet5 = _classPrivateFieldGet(this, _handlerMatches), | ||
exit = _classPrivateFieldGet5.exit; | ||
if (_classPrivateFieldGet(this, _lastChangeFromAppend)) { | ||
_classPrivateFieldSet(this, _lastChangeFromAppend, false); | ||
if (!(exit !== null && exit !== void 0 && exit.suggester.appendTransaction)) { | ||
return this; | ||
} | ||
} | ||
var tr = props.tr, | ||
state = props.state; | ||
var transactionHasChanged = tr.docChanged || tr.selectionSet; | ||
@@ -1434,0 +1437,0 @@ var shouldIgnoreUpdate = tr.getMeta(IGNORE_SUGGEST_META_KEY); |
{ | ||
"name": "prosemirror-suggest", | ||
"version": "0.0.0-pr1552.1", | ||
"version": "0.0.0-pr1552.2", | ||
"description": "Primitives for building your prosemirror suggestion and autocomplete functionality", | ||
@@ -39,5 +39,5 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/prosemirror-suggest", | ||
"@babel/runtime": "^7.13.10", | ||
"@remirror/core-constants": "0.0.0-pr1552.1", | ||
"@remirror/core-helpers": "0.0.0-pr1552.1", | ||
"@remirror/types": "0.0.0-pr1552.1", | ||
"@remirror/core-constants": "0.0.0-pr1552.2", | ||
"@remirror/core-helpers": "0.0.0-pr1552.2", | ||
"@remirror/types": "0.0.0-pr1552.2", | ||
"escape-string-regexp": "^4.0.0" | ||
@@ -44,0 +44,0 @@ }, |
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
302058
7996
+ Added@remirror/core-constants@0.0.0-pr1552.2(transitive)
+ Added@remirror/core-helpers@0.0.0-pr1552.2(transitive)
+ Added@remirror/types@0.0.0-pr1552.2(transitive)
- Removed@remirror/core-constants@0.0.0-pr1552.1(transitive)
- Removed@remirror/core-helpers@0.0.0-pr1552.1(transitive)
- Removed@remirror/types@0.0.0-pr1552.1(transitive)