[Bug]: 2.2.x linkifies pasted text no matter what you do, even if you disable all options and remove all ProseMirror plugins #5060
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Which packages did you experience the bug in?
core
What Tiptap version are you using?
2.2.6
What’s the bug you are facing?
Pasting links cannot be disabled since
2.2.0
and above as it could be in2.1.x
.What browser are you using?
Chrome
Code example
No response
What did you expect to happen?
Excluding all ProseMirror plugins, setting
linkOnPaste: false
,autolink: false
, andvalidate: () => false
should prevent link pasting, but it has no effect at all. Links can be pasted and this behavior cannot be prevented so long as theLink
extension is used.Anything to add? (optional)
I suspect it was caused by this PR: eaee9c7
Specifically I suspect it's related to the changes to the
addPasteRules
code.This issue could have been caught many months ago if attention were given to blocker issues, but we've been unable to upgrade past
2.1.x
until today.Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: