We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd468a7 commit f1bd95fCopy full SHA for f1bd95f
resources/js/plugin.js
@@ -86,7 +86,6 @@ let coreExtensions = {
86
italic: [Italic],
87
lead: [Lead],
88
link: [CustomLink.configure({
89
- isAllowedUri: (url, ctx) => ctx.defaultValidate(url) && !url.startsWith('./'),
90
openOnClick: false,
91
autolink: false,
92
HTMLAttributes: {
src/Extensions/Marks/Link.php
@@ -8,14 +8,14 @@ class Link extends BaseLink
8
{
9
public function addOptions(): array
10
11
- return [
+ return array_merge(parent::addOptions(), [
12
'openOnClick' => true,
13
'linkOnPaste' => true,
14
'autoLink' => true,
15
'protocols' => [],
16
'HTMLAttributes' => [],
17
'validate' => 'undefined',
18
- ];
+ ]);
19
}
20
21
public function addAttributes(): array
0 commit comments