diff --git a/internal/conf/conf.go b/internal/conf/conf.go index e232995..a47dddd 100644 --- a/internal/conf/conf.go +++ b/internal/conf/conf.go @@ -67,8 +67,8 @@ var ( assets []Asset = []Asset{ {Path: "css/bootstrap.min.css", Url: "https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css"}, {Path: "js/bootstrap.bundle.min.js", Url: "https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js"}, - {Path: "css/tiny-mde.min.css", Url: "https://unpkg.com/tiny-markdown-editor/dist/tiny-mde.min.css"}, - {Path: "js/tiny-mde.min.js", Url: "https://unpkg.com/tiny-markdown-editor/dist/tiny-mde.min.js"}, + {Path: "css/easy-mde.min.css", Url: "https://unpkg.com/easymde/dist/easymde.min.css"}, + {Path: "js/easy-mde.min.js", Url: "https://unpkg.com/easymde/dist/easymde.min.js"}, {Path: "icons/eye.svg", Url: "https://raw.githubusercontent.com/twbs/icons/refs/heads/main/icons/eye.svg"}, } BaseTemplate string = "base.tmpl.html" diff --git a/internal/conf/templates/edit.tmpl.html b/internal/conf/templates/edit.tmpl.html index e637b48..cb578da 100644 --- a/internal/conf/templates/edit.tmpl.html +++ b/internal/conf/templates/edit.tmpl.html @@ -17,38 +17,48 @@ - +