Fix comment edit
This commit is contained in:
parent
51707df439
commit
a5f6d32977
2 changed files with 5 additions and 2 deletions
|
@ -136,7 +136,10 @@ class CommentEditForm(ModelForm):
|
|||
fields = ["body"]
|
||||
widgets = {
|
||||
"body": HeavyPreviewPageDownWidget(
|
||||
id="id-edit-comment-body", preview=reverse_lazy("comment_preview")
|
||||
id="id-edit-comment-body",
|
||||
preview=reverse_lazy("comment_preview"),
|
||||
preview_timeout=1000,
|
||||
hide_preview_button=True,
|
||||
),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue