]> source.dussan.org Git - gitea.git/commit
Add some handy markdown editor features (#32400)
authorwxiaoguang <wxiaoguang@gmail.com>
Mon, 4 Nov 2024 10:14:36 +0000 (18:14 +0800)
committerGitHub <noreply@github.com>
Mon, 4 Nov 2024 10:14:36 +0000 (10:14 +0000)
commitaf28ce59b8695a8412632c50cf96fdd420215719
treef3f5d9c70f018883e66c5d34dc9904e974066705
parent54146e62c0b65a941017983f88f7715e6f35c7b1
Add some handy markdown editor features (#32400)

There were some missing features from EasyMDE:

1. H1 - H3 style
2. Auto add task list
3. Insert a table

And added some tests
options/locale/locale_en-US.ini
templates/shared/combomarkdowneditor.tmpl
web_src/css/editor/combomarkdowneditor.css
web_src/css/modules/comment.css
web_src/js/features/comp/ComboMarkdownEditor.ts
web_src/js/features/comp/EditorMarkdown.test.ts [new file with mode: 0644]
web_src/js/features/comp/EditorMarkdown.ts
web_src/js/features/comp/EditorUpload.ts
web_src/js/modules/tippy.ts