Skip to content

feat(editor): mobile quick-input bar, code-block cursor fix, table borders - #11

Merged
do-md merged 1 commit into
mainfrom
feat/mobile-input-bar
Jul 15, 2026
Merged

feat(editor): mobile quick-input bar, code-block cursor fix, table borders#11
do-md merged 1 commit into
mainfrom
feat/mobile-input-bar

Conversation

@do-md

@do-md do-md commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Mobile quick-input bar — a toolbar pinned above the software keyboard using visualViewport (plugins/toolbar/quick-input-bar + plugins/shared/use-visual-viewport-pin.ts). Adds viewport-fit=cover in the root layout so env(safe-area-inset-*) is non-zero on notched iPhones and the bar pads itself above the home indicator.
  • Code-block cursor fix — corrects custom cursor rendering position inside code blocks: measures the downstream character's left edge and handles token spans that Prism splits across multiple leaf nodes.
  • Table border optimization — bump @do-md/core-react 0.2.10 → 0.2.11.

Notes

  • Both desktop (Tauri) and Web paths preserved.
  • CustomCursor comments translated to English (no logic change).

Test plan

  • Mobile: quick-input bar stays pinned above the keyboard while typing; sits above the home indicator on notched devices
  • Desktop/Web: caret renders at the correct position inside code blocks (line starts, token-split spans)
  • Tables render with the updated borders

…rders

- Add mobile quick-input bar pinned above the software keyboard via
  visualViewport (plugins/toolbar/quick-input-bar + use-visual-viewport-pin),
  with viewport-fit=cover so safe-area insets work on notched iPhones
- Fix custom cursor rendering position inside code blocks: measure the
  downstream character's left edge and handle token spans split across leaves
- Optimize table rendering borders (bump @do-md/core-react to 0.2.11)
@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
domd Error Error Jul 15, 2026 9:17am

@do-md
do-md merged commit 4d44eda into main Jul 15, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants