File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' tiptap-docs ' : patch
3
+ ---
4
+
5
+ Update link and suggestion doc to include the new options
Original file line number Diff line number Diff line change @@ -67,6 +67,18 @@ A CSS class that should be added to the suggestion.
67
67
68
68
Default: ` 'suggestion' `
69
69
70
+ ### decorationContent
71
+
72
+ The content that should be rendered in the suggestion decoration.
73
+
74
+ Default: ` '' `
75
+
76
+ ### decorationEmptyClass
77
+
78
+ A CSS class that should be added to the suggestion when it is empty.
79
+
80
+ Default: ` 'is-empty' `
81
+
70
82
### command
71
83
72
84
Executed when a suggestion is selected.
Original file line number Diff line number Diff line change @@ -89,6 +89,18 @@ Link.configure({
89
89
})
90
90
```
91
91
92
+ ### enableClickSelection
93
+
94
+ If enabled, clicking on a link will select the link.
95
+
96
+ Default: ` false `
97
+
98
+ ``` js
99
+ Link .configure ({
100
+ enableClickSelection: true ,
101
+ })
102
+ ```
103
+
92
104
### linkOnPaste
93
105
94
106
Adds a link to the current selection if the pasted content only contains an url.
You can’t perform that action at this time.
0 commit comments