You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/repo/editor
Kerwin Bryant f0f1737d4d
Refactor markup and pdf-viewer to use new init framework (#33772)
1. Add some "render-content" classes to "markup" elements when the
content is rendered
2. Use correct "markup" wrapper for "preview" (but not set that class on
the tab)
3. Remove incorrect "markup" class from LFS file view, because there is
no markup content
    * "edit-diff" is also removed because it does nothing
5. Use "initPdfViewer" for PDF viewer
6. Remove incorrect "content" class from milestone markup
7. Init all ".markup" elements by new init framework

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 weeks ago
..
cherry_pick.tmpl Refactor Safe modifier (#29392) 1 year ago
commit_form.tmpl Support choose email when creating a commit via web UI (#33432) 1 month ago
delete.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
diff_preview.tmpl Fix all rounded borders, change affected tab menus to pills (#30707) 11 months ago
edit.tmpl Refactor markup and pdf-viewer to use new init framework (#33772) 2 weeks ago
patch.tmpl Fix file editor & preview (#32706) 3 months ago
upload.tmpl Convert max file name length to 255 (#30489) 11 months ago