Skip to content

Commit 56371c3

Browse files
committed
Fix inline links plugin
1 parent 259deb6 commit 56371c3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/bundle.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/bundle.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/InlineLinkPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class InlineLinkPlugin extends Plugin {
107107
appendTransaction(transactions, _oldState, newState) {
108108
for (let i = 0; i < transactions.length; i += 1) {
109109
const tr = transactions[i];
110-
if (tr.docChanged === false) {
110+
if (tr.docChanged) {
111111
return findAndInsertInlineLinks(newState);
112112
}
113113
}

0 commit comments

Comments
 (0)