Skip to content

Commit 54806c5

Browse files
committed
Small fix
1 parent 18f0b5a commit 54806c5

1 file changed

Lines changed: 17 additions & 13 deletions

File tree

.claude/skills/debug-skill/SKILL.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,13 @@ The Playwright CLI should be used for the browser environment. It can be used to
2020

2121
# Selecting an example
2222

23-
# Keyboard navigation
23+
After navigating to `localhost:5173`, an example must be selected. These are listed in the navbar (`mantine-AppShell-navbar` CSS class). The "Default Schema Showcase" should be selected, unless stated otherwise by the user.
2424

25-
Assume you are on a machine running macOS. You can use the following key combinations to navigate through the editor and create selections:
26-
27-
- Left/Right Arrow: Moves the text cursor back/forward one character.
28-
- Up/Down Arrow: Moves the text cursor to the previous/next block.
29-
- Option + Left/Right Arrow: Moves the text cursor to the start/end of the current word. If already at the start/end of a word, moves it to the start/end of the previous/next one instead.
30-
- Cmd + Left/Right Arrow: Moves the text cursor to the start/end of the line.
31-
- Cmd + Up/Down Arrow: Moves the text cursor to the start/end of the document.
32-
33-
Each of these can also be used with Shift to create/extend a selection instead of just moving the cursor.
34-
35-
It is extremely important to note that these key combinations are only relevant for debugging and NOT for writing end-to-end tests. While Playwright is used for both, tests run in a Linux environment which has different bindings for keyboard navigation.
25+
Each example will contain a BlockNote editor, and possibly additional elements like text fields or static toolbars.
3626

3727
# Editor HTML structure
3828

39-
Below is a list of elements that make up a BlockNote editor. This is helpful for mapping BlockNote concepts to what's actually visible in the editor. The nesting of the list items is representative of how the corresponding elements are nested in the rendered HTML. The elements are referenced by their main CSS class.
29+
Below is a list of elements that make up a BlockNote editor. This is helpful for mapping BlockNote concepts to what's actually visible in the browser. The nesting of the list items is representative of how the corresponding elements are nested in the rendered HTML. The elements are referenced by their main CSS class.
4030

4131
- `bn-container`: Wrapper element for the editor.
4232
- `bn-editor`: Root element for the BlockNote editor.
@@ -55,6 +45,20 @@ Each `bn-block-group` and `bn-block-column` also contain `bn-block-outer` elemen
5545

5646
Note that additional UI elements like menus and toolbars are mounted in a portal attached to the `body`.
5747

48+
# Keyboard navigation
49+
50+
Assume you are on a machine running macOS. You can use the following key combinations to navigate through the editor and create selections:
51+
52+
- Left/Right Arrow: Moves the text cursor back/forward one character.
53+
- Up/Down Arrow: Moves the text cursor to the previous/next block.
54+
- Option + Left/Right Arrow: Moves the text cursor to the start/end of the current word. If already at the start/end of a word, moves it to the start/end of the previous/next one instead.
55+
- Cmd + Left/Right Arrow: Moves the text cursor to the start/end of the line.
56+
- Cmd + Up/Down Arrow: Moves the text cursor to the start/end of the document.
57+
58+
Each of these can also be used with Shift to create/extend a selection instead of just moving the cursor.
59+
60+
It is extremely important to note that these key combinations are only relevant for debugging and NOT for writing end-to-end tests. While Playwright is used for both, tests run in a Linux environment which has different bindings for keyboard navigation.
61+
5862
# Opening menus & toolbars
5963

6064
Here are the most often used UI elements, and how to find/open them.

0 commit comments

Comments
 (0)