Commit c8c4580
committed
refactor(rich-markdown-editor): hoist paste-strip regex, cross-ref block-mover
/simplify pass follow-ups: hoist the <style>/<script> strip regex to module scope (matches
the file's other module-level pattern consts, avoids re-alloc per paste), and note the
Mod-Shift-Arrow block-reorder chords in the keymap doc so arrow handling is discoverable
across the two files. No behavior change.1 parent 6528a83 commit c8c4580
2 files changed
Lines changed: 6 additions & 2 deletions
File tree
- apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
72 | | - | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
0 commit comments