paste image when review

This commit is contained in:
Your Name 2022-04-01 22:45:36 -04:00
parent 7b3387064a
commit 82ec85b086
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
$(document).ready( function() {
$(".markdownx-preview").hide();
$(".markdownx textarea").attr("placeholder", "拖拽图片至编辑框即可插入哦~");
$(".markdownx textarea").attr("placeholder", "从剪贴板粘贴或者拖拽文件至编辑框即可插入图片");
$(".review-form__preview-button").click(function() {
if ($(".markdownx-preview").is(":visible")) {

View file

@ -1,7 +1,7 @@
dateparser
django~=3.2.10
django-hstore
django-markdownx
django-markdownx @ git+https://github.com/alphatownsman/django-markdownx.git@a8eb0775767b075f5a5d08eed09f89739f832cce
django-sass
django-rq
django-hijack