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 0921c32 commit 951c2bcCopy full SHA for 951c2bc
.changeset/many-nails-argue.md
@@ -0,0 +1,5 @@
1
+---
2
+'tiptap-docs': patch
3
4
+
5
+Fix Selection extension className documentation
src/content/editor/extensions/functionality/selection.mdx
@@ -50,13 +50,13 @@ new Editor({
50
51
### className
52
53
-The class that is applied to the focused element.
+The class that is applied to the current selection.
54
55
-Default: `'has-focus'`
+Default: `'selection'`
56
57
```js
58
Selection.configure({
59
- className: 'focus',
+ className: 'selection',
60
})
61
```
62
0 commit comments