Skip to content

Commit 6e9484d

Browse files
authored
Merge pull request #628 from joseeverton/fix/update-tiptap
Fix/update tiptap
2 parents 3acc557 + f1bd95f commit 6e9484d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"php": "^8.1",
2323
"filament/filament": "^3.2.138",
2424
"spatie/laravel-package-tools": "^1.9.2",
25-
"ueberdosis/tiptap-php": "^1.1"
25+
"ueberdosis/tiptap-php": "^2.0.0"
2626
},
2727
"require-dev": {
2828
"laravel/pint": "^1.0",

src/Extensions/Marks/Link.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ class Link extends BaseLink
88
{
99
public function addOptions(): array
1010
{
11-
return [
11+
return array_merge(parent::addOptions(), [
1212
'openOnClick' => true,
1313
'linkOnPaste' => true,
1414
'autoLink' => true,
1515
'protocols' => [],
1616
'HTMLAttributes' => [],
1717
'validate' => 'undefined',
18-
];
18+
]);
1919
}
2020

2121
public function addAttributes(): array

0 commit comments

Comments
 (0)