Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-02 23:06:11 +01:00
forgejo/options/locale
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
..
locale_ar.ini [I18N] Translations update from Weblate (#3992) 2024-06-10 18:41:20 +00:00
locale_be.ini [I18N] Translations update from Weblate (#2521) 2024-03-04 01:58:49 +00:00
locale_bg.ini [I18N] Translations update from Weblate (#3851) 2024-05-25 18:32:20 +00:00
locale_bn.ini [I18N] Translations update from Weblate (#2350) 2024-02-17 22:18:04 +00:00
locale_bs.ini s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
locale_ca.ini s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
locale_cs-CZ.ini i18n: Translations update from Weblate (#4168) 2024-06-26 11:07:32 +00:00
locale_de-DE.ini i18n: Translations update from Weblate (#4168) 2024-06-26 11:07:32 +00:00
locale_el-GR.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_en-US.ini Remove tab key handling in markdown editor, add toolbar buttons instead, re #4072 #4142 (#4263) 2024-06-30 13:03:32 +00:00
locale_eo.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_es-ES.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_fa-IR.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_fi-FI.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_fil.ini i18n: Translations update from Weblate (#4168) 2024-06-26 11:07:32 +00:00
locale_fr-FR.ini [I18N] Translations update from Weblate (#4098) 2024-06-18 05:27:03 +00:00
locale_gl.ini i18n: Translations update from Weblate (#4168) 2024-06-26 11:07:32 +00:00
locale_hi.ini [I18N] Translations update from Weblate (#3508) 2024-05-04 18:36:49 +00:00
locale_hu-HU.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_id-ID.ini [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
locale_is-IS.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_it-IT.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_ja-JP.ini [I18N] Translations update from Weblate (#4098) 2024-06-18 05:27:03 +00:00
locale_ko-KR.ini i18n: Translations update from Weblate (#4168) 2024-06-26 11:07:32 +00:00
locale_lv-LV.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_nl-NL.ini i18n: Translations update from Weblate (#4168) 2024-06-26 11:07:32 +00:00
locale_pl-PL.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_pt-BR.ini [I18N] Translations update from Weblate (#4098) 2024-06-18 05:27:03 +00:00
locale_pt-PT.ini [I18N] Translations update from Weblate (#4098) 2024-06-18 05:27:03 +00:00
locale_ru-RU.ini i18n: Translations update from Weblate (#4168) 2024-06-26 11:07:32 +00:00
locale_si-LK.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_sk-SK.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_sl.ini [I18N] Translations update from Weblate (#3992) 2024-06-10 18:41:20 +00:00
locale_sv-SE.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_tr-TR.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_uk-UA.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_zh-CN.ini i18n: Translations update from Weblate (#4168) 2024-06-26 11:07:32 +00:00
locale_zh-HK.ini Refactor install page hints (#3961) 2024-06-02 13:06:56 +00:00
locale_zh-TW.ini [I18N] Translations update from Weblate (#3992) 2024-06-10 18:41:20 +00:00
TRANSLATORS Fix missing left and right carets in TRANSLATORS (#21397) 2022-10-10 10:36:37 -04:00