Files
linkliti a799990186 refactor(webui): keep the composer plain text without inline code blocks
The composer previously built inline code-block elements from typed fences, which detached edits from the native undo stack and conflicted with the full-screen input editor. The composer is now a native textarea: typing, paste, and undo are the browser's own, with no paste interception, DOM caret walkers, or code-block machinery. Drafts, history navigation, progress placeholders, and attachment image paste are unchanged, and the one-row textarea auto-grows through reset-then-measure sizing capped by its CSS maximum height.

Validation: node --check webui/components/chat/input/input-store.js webui/js/scroller.js; pytest tests/test_chat_input_composer_edits.py tests/test_welcome_composer_static.py tests/test_chat_input_drafts.py tests/test_chat_loading_refresh.py (22 passed)
2026-11-28 13:35:54 +03:00
..