Update focus.md
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
[](https://www.npmjs.com/package/@tiptap/extension-focus)
|
[](https://www.npmjs.com/package/@tiptap/extension-focus)
|
||||||
[](https://npmcharts.com/compare/@tiptap/extension-focus?minimal=true)
|
[](https://npmcharts.com/compare/@tiptap/extension-focus?minimal=true)
|
||||||
|
|
||||||
The Focus extension adds a CSS class to focused nodes. By default it adds `.has-class`, but you can change that.
|
The Focus extension adds a CSS class to focused nodes. By default it adds `.has-focus`, but you can change that.
|
||||||
|
|
||||||
Note that it’s only a class, the styling is totally up to you. The usage example below has some CSS for that class.
|
Note that it’s only a class, the styling is totally up to you. The usage example below has some CSS for that class.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user