Changeset a7e8e19 in Klonkt for src/views/pages/fan-gate.ejs

Timestamp:
06/19/2026 10:34:24 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
16ce669
Parents:
f83ccf3
Message:

fix(editor): mobile — formatting buttons no longer steal focus (toggle + no jump)

Toolbar buttons called editor.focus() on click after the tap had already
moved focus/selection out of the contenteditable field → bold/italic
could not be toggled off and the page jumped to the caret. Now
mousedown-preventDefault on the toolbar (focus stays in the editor) +
editor.focus({preventScroll:true}) + touch-action:manipulation for snappy
taps.

Co-Authored-By: Claude <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.