mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
* fix(rich-markdown-editor): keep highlight from shifting text The highlight <mark> added horizontal padding, which pushed the highlighted text (and the text after it) to the right when the mark was applied. Cancel the padding with an equal negative margin so the amber tint still bleeds slightly past the text but the text never moves as a highlight is applied or removed. * feat(rich-markdown-editor): hover block drag handle (+ / grip) Adds a left-margin block handle revealed on hover (only when the editor is editable): a + that inserts a paragraph below the hovered block and opens the slash menu, and a grip that drags to reorder blocks (via @tiptap/extension-drag-handle) or, on a plain click, selects the block. The keyboard equivalent of the reorder is Mod-Shift-Arrow (block-mover). The control buttons reset their own chrome (no default border/background/padding) so they render consistently regardless of the surrounding reset.