Commit 0104878
committed
feat: disable preview panel buttons in read-only mode
- Block all buttons inside #markdown-preview (remove, run, fill, open, etc.)
- Extend click interceptor to show toast for preview button clicks
- Uses blanket selector for future-proof coverage1 parent 45d1064 commit 0104878
3 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
463 | 465 | | |
464 | 466 | | |
465 | 467 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6430 | 6430 | | |
6431 | 6431 | | |
6432 | 6432 | | |
6433 | | - | |
| 6433 | + | |
| 6434 | + | |
6434 | 6435 | | |
6435 | 6436 | | |
6436 | 6437 | | |
| |||
0 commit comments