From 9c64432fc8f08d63ec6a1b800e50c9a3a938dbfe Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Tue, 29 Jun 2021 22:12:51 +0200 Subject: [PATCH] Update focus.md --- docs/src/docPages/api/extensions/focus.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/docPages/api/extensions/focus.md b/docs/src/docPages/api/extensions/focus.md index 91b45d92c..adae9bed4 100644 --- a/docs/src/docPages/api/extensions/focus.md +++ b/docs/src/docPages/api/extensions/focus.md @@ -2,7 +2,7 @@ [![Version](https://img.shields.io/npm/v/@tiptap/extension-focus.svg?label=version)](https://www.npmjs.com/package/@tiptap/extension-focus) [![Downloads](https://img.shields.io/npm/dm/@tiptap/extension-focus.svg)](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.