Skip to content

Commit 48ffbec

Browse files
committed
docs(mdviewer): add image handling and End/Home key test cases
1 parent 46a8b68 commit 48ffbec

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src-mdviewer/to-create-tests.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,16 @@
178178
- [ ] List buttons remain visible when cursor is in list (for UL/OL switching)
179179
- [ ] Moving cursor out of list restores all toolbar buttons
180180

181+
## Image Handling
182+
- [ ] Images not reloaded when editing text in CM (DOM nodes preserved)
183+
- [ ] GIFs don't blink/restart when editing text elsewhere
184+
- [ ] Image upload placeholder (uploading.svg) is not preserved across updates
185+
- [ ] End key near image goes to end of current block (not end of file) on Win/Linux
186+
- [ ] Home key near image goes to start of current block (not start of file) on Win/Linux
187+
- [ ] Cmd+Right near image goes to end of block on Mac
188+
- [ ] Cmd+Left near image goes to start of block on Mac
189+
- [ ] End/Home work normally on lines without images
190+
181191
## Heading Editing
182192
- [ ] Enter at start of heading (|Heading) inserts empty `<p>` above, heading shifts down
183193
- [ ] Enter in middle of heading splits: text before stays heading, text after becomes `<p>`

0 commit comments

Comments
 (0)