mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-21 18:24:58 +08:00
Fix and enhance comment editor monospace toggle (#36181)
Fixes: https://github.com/go-gitea/gitea/issues/36175 1. Correctly apply setting on textareas spawned by comment edit 3. When changing the setting, apply it to all textareas on the current page --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
1
web_src/js/globals.d.ts
vendored
1
web_src/js/globals.d.ts
vendored
@@ -77,6 +77,7 @@ interface Window {
|
||||
push: (e: ErrorEvent & PromiseRejectionEvent) => void | number,
|
||||
},
|
||||
codeEditors: any[], // export editor for customization
|
||||
localUserSettings: typeof import('./modules/user-settings.ts').localUserSettings,
|
||||
|
||||
// various captcha plugins
|
||||
grecaptcha: any,
|
||||
|
||||
Reference in New Issue
Block a user