From 7e174455d73bf4a3c1d26d8694a187166386c2db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philipp=20Ku=CC=88hn?=
Date: Wed, 12 May 2021 21:12:54 +0200
Subject: [PATCH] docs: fix focus demo options
---
docs/src/demos/Extensions/Focus/index.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/src/demos/Extensions/Focus/index.vue b/docs/src/demos/Extensions/Focus/index.vue
index 0e4d4e732..4d397d88e 100644
--- a/docs/src/demos/Extensions/Focus/index.vue
+++ b/docs/src/demos/Extensions/Focus/index.vue
@@ -33,7 +33,7 @@ export default {
Text,
Focus.configure({
className: 'has-focus',
- nested: true,
+ mode: 'all',
}),
Code,
BulletList,
@@ -45,7 +45,7 @@ export default {
The focus extension adds a class to the focused node only. That enables you to add a custom styling to just that node. By default, it’ll add .has-focus
, even to nested nodes.
- - Nested elements (like this list item) will be focused with the default setting of
nested: true
.
+ - Nested elements (like this list item) will be focused with the default setting of
mode: all
.
- Otherwise the whole list will get the focus class, even when just a single list item is selected.
`,