Toolbar over the text field: picture, bold, italic, quote #183
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom#183
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User (D-052, points 8 and 9): "The "image" field in the new post screen is obtrusive. Take a page from Teams, Reddit or Discord and make it another button in the text field or add it similar to a "rich text" toolbar on top of the "text" field." and "In the "new post" window there is no good way of adding italics, bold or other types of text weight or details."
Plan: a small toolbar over the text field: picture (attach; paste and drop keep working), bold, italic, quote, link. The picture shows as a thumbnail with a remove button instead of a file field. Bold and italic insert the light conventions the reader already renders (
*fet*,/kursiv/,>quotes, DESIGN "Light formatting"), so the stored text stays plain and reads the same in elisp ("What we won't do": no Markdown/HTML). Keyboard: Ctrl+B / Ctrl+I.Done in #203 (main green). The text field sits in one box with a toolbar: picture (the file field is hidden behind the button; paste and drop still work; the picture shows as a thumbnail in the box with Ta bort bilden), bold, italic and quote, plus Ctrl+B / Ctrl+I. They write …, /…/ and > quotes, the plain-text conventions the reader renders, so elisp shows the same text. Verified with e2e/tests/toolbar.spec.ts (bold around a selection, Ctrl+I with nothing selected, quoting two lines, picking and removing a picture) and the existing post-image, paste, compose and drafts specs, on desktop, Android and iPhone; screenshots toolbar.png checked; full e2e 289 passed.