django-summernote 图像中存在错误我不知道为什么

问题描述

    from django_summernote.widgets import SummernoteWidget,SummernoteInplaceWidget

    class PostForm(forms.ModelForm):
        content = forms.CharField(widget=SummernoteWidget(
            attrs={
            'iframe':False,'attachment_filesize_limit': 10 * 1024 * 1024,'summernote': {'width': '100%','height': '450px'}
            }))
        class Meta:
            model = Post
            fields = ('title','hook_text','content','head_image','category')

enter image description here

enter image description here

当我发布大图时,图像总是具有“绝对”尺寸。它不会随着浏览器窗口大小而减小大小。我怎么解决这个问题?感谢您的帮助。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)