diff --git a/src/templates/src/project_edit.html b/src/templates/src/project_edit.html index 6f24321..259d4ca 100644 --- a/src/templates/src/project_edit.html +++ b/src/templates/src/project_edit.html @@ -15,7 +15,7 @@ font-style: italic; } - #description.drop { + #full_description.drop { box-shadow: inset 0px 0px 5px yellow; } @@ -151,7 +151,7 @@
Short description:
-
Plaintext only. No links or markdown.
@@ -173,7 +173,7 @@
Full description:
-
@@ -264,7 +264,7 @@ {{ else }} const projectName = "{{ .Project.Name }}"; {{ end }} - const description = document.querySelector('#description'); + const description = document.querySelector('#full_description'); const descPreview = document.querySelector('#desc-preview'); const { clear: clearDescription } = autosaveContent({ inputEl: description, diff --git a/src/website/projects.go b/src/website/projects.go index 1faca0b..3b530ba 100644 --- a/src/website/projects.go +++ b/src/website/projects.go @@ -698,7 +698,7 @@ func ParseProjectEditForm(c *RequestContext) ProjectEditFormResult { return res } links := ParseLinks(c.Req.Form.Get("links")) - description := c.Req.Form.Get("description") + description := c.Req.Form.Get("full_description") parsedDescription := parsing.ParseMarkdown(description, parsing.ForumRealMarkdown) lifecycleStr := c.Req.Form.Get("lifecycle")