mirror of https://github.com/fantasticit/think.git
tiptap: fix link
parent
4651453e86
commit
7425a4e53e
|
@ -42,6 +42,7 @@ export const Link = BuiltInLink.extend({
|
|||
}),
|
||||
];
|
||||
},
|
||||
|
||||
addAttributes() {
|
||||
return {
|
||||
...this.parent?.(),
|
||||
|
@ -53,13 +54,10 @@ export const Link = BuiltInLink.extend({
|
|||
title: null,
|
||||
parseHTML: (element) => element.getAttribute('title'),
|
||||
},
|
||||
hasTrigger: {
|
||||
default: false,
|
||||
},
|
||||
};
|
||||
},
|
||||
}).configure({
|
||||
openOnClick: false,
|
||||
linkOnPaste: true,
|
||||
autolink: true,
|
||||
autolink: false,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue