From e61c09ed7331e6ea72e4d9f08c0490713598942d Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 4 Aug 2020 21:56:37 +0200 Subject: Add loading spinners and mermaid error handling (#12358) - Add loading spinners on editor and mermaid renderers - Add error handling and inline error box for mermaid - Fix Mermaid rendering by using the .init api --- templates/repo/editor/edit.tmpl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'templates/repo/editor/edit.tmpl') diff --git a/templates/repo/editor/edit.tmpl b/templates/repo/editor/edit.tmpl index cc98539eab..af65813b33 100644 --- a/templates/repo/editor/edit.tmpl +++ b/templates/repo/editor/edit.tmpl @@ -41,9 +41,7 @@ data-markdown-file-exts="{{.MarkdownFileExts}}" data-line-wrap-extensions="{{.LineWrapExtensions}}"> {{.FileContent}} -
- {{.i18n.Tr "loading"}} -
+
{{.i18n.Tr "loading"}} -- cgit v1.2.3