forgejo/release-notes/8.0.0/feat
Danko Aleksejevs 36b6444f34 Remove tab key handling in markdown editor, add toolbar buttons instead, re #4072 #4142 (#4263)
We haven't decided much (to my knowledge), and I've been using the main branch in production (as one does) and found out even I myself rely on Tab sometimes working to move focus and have been caught off guard by it indenting lines instead.

So this removes Tab handling and instead adds two new buttons to the toolbar. The indentation logic is unchanged (other than now focusing the textarea during button handling, to ensure execCommand works, and thus undo history is preserved).

I'm not sure which terminology to use in tooltips. Could also add keyboard shortcuts for the whole toolbar eventually, but as is this is hopefully an better solution to the problems I previously created than un-merging the whole thing :)

<img width="414" alt="Screenshot with two new buttons" src="/attachments/b7af3aa4-a195-48d1-be0a-1559f25dce8e">

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4263
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Danko Aleksejevs <danko@very.lv>
Co-committed-by: Danko Aleksejevs <danko@very.lv>
2024-06-30 13:03:32 +00:00
..
3307.md fix: PKCE only for supported providers 2024-06-10 11:24:32 +02:00
3337.md Adding release note for #3337 2024-06-02 06:04:53 +02:00
3434.md UI: use full screen height for displaying pdf files 2024-04-26 20:42:45 +02:00
3642.md [UI] Allow org members to navigate between the org and the dashboard 2024-05-05 23:14:57 +05:00
3654.md [FEAT] support searching non default branches/tags when using git-grep (#3654) 2024-05-14 15:41:03 +00:00
3723.md chore(release-notes): go-enry v2.8.8 2024-05-13 17:32:28 +02:00
3729.md chore(release-notes): [gitea] week 2024-20 cherry pick 2024-05-12 20:20:18 +02:00
3791.md chore(release-notes): enmime upgrade to v1.2.0 2024-05-23 11:44:26 +02:00
3808.md chore(release-notes): goth upgrade to v1.80.0 2024-05-23 10:55:32 +02:00
3836.md feat: parse prefix from redis URI for queues (#3836) 2024-05-20 14:10:54 +00:00
3838.md [skip ci] docs(release): week 2024-21 cherry pick 2024-06-03 09:11:17 +02:00
3847.md feat: wiki search using git-grep 2024-05-20 13:48:50 +00:00
3870.md Replace imgage diff png background pattern with gradient (#3870) 2024-05-24 17:33:13 +00:00
3886.md add a release note 2024-05-31 16:28:26 +02:00
3917.md [skip ci] docs(release): week 2024-22 cherry pick 2024-06-03 08:24:21 +02:00
3922.md Update module github.com/alecthomas/chroma/v2 to v2.14.0 (take 2) 2024-05-30 22:52:26 +02:00
3985.md [FEAT] Adds x-mode-only anchor styles to display images based if the theme is light or dark mode. (#3985) 2024-06-09 10:50:53 +00:00
3989.md docs(release): add release notes 2024-06-03 10:03:29 +02:00
4027.md add release note 2024-06-05 15:58:51 +02:00
4072.md Remove tab key handling in markdown editor, add toolbar buttons instead, re #4072 #4142 (#4263) 2024-06-30 13:03:32 +00:00
4083.md docs(release): week 2024-24 cherry pick 2024-06-11 09:19:09 +02:00
4134.md [FEAT] folding results for repo search (#4134) 2024-06-15 20:16:18 +00:00
4136.md chore(dependency): github.com/yuin/goldmark v1.7.2 release notes 2024-06-15 06:38:04 +02:00
4143.md chore(dependency): asciinema-player to v3.8.0 release notes 2024-06-16 07:30:29 +02:00
4145.md docs(release-notes): week 2024-25 cherry pick 2024-06-16 13:42:59 +02:00
4160.md [FEAT] expose fuzzy search for issues/repo (#4160) 2024-06-17 18:58:24 +00:00
4262.md [FEAT] branch/tag dropdown for git-grep (#4262) 2024-06-29 06:57:34 +00:00