DjangoUeditor icon indicating copy to clipboard operation
DjangoUeditor copied to clipboard

DjangoUeditor

Results 68 DjangoUeditor issues
Sort by recently updated
recently updated
newest added

在示例中UEditorWidget是按参数的名字进行赋值的,但是这样会报错: widget=UEditorWidget(width=800,height=500, imagePath='aa', filePath='bb',toolbars={}) 但是实际上UEditorWidget只支持字典类型作为初始化参数,正确的应该是这样 widget=UEditorWidget({"width":600, "height":100, "toolbars":"full"})

不够清晰啊,不够清晰啊

def getImagePath(model_instance=None): return 'a/' 我在model里面设置了imagePath=getImagePath,上传图片会失败,如果直接设置路径就ok的。这个是为什么? upload_settings={"imageManagerUrlPrefix":"a","imageManagerListPath":"a","imageManagerListSize":1} 这里不管我如何更改设置都不起作用,例如:图片管理里面一直是显示30个。是我漏掉了某些配置吗? 谢谢! 楼主辛苦了。

Hi, I just started using your package. But I keep getting this error. I am using `python 3.4` and the version of the package I am using is `1.8.143`

求助: from DjangoUeditor.models import UEditorField class Blog(models.Model): Name=models.CharField(,max_length=100,blank=True) Content=UEditorField(u'内容 ',width=600, height=300, toolbars="full", imagePath="", filePath="", upload_settings={"imageMaxSize":1204000}, settings={},command=None,event_handler=myEventHander(),blank=True) 第一个是Name=models.CharField(,max_length=100,blank=True)这里括号内的第一个逗号语法报错 删了以后就好了 第二个是command=None,event_handler=myEventHander()中的myEventHander()没有定义

我使用MAC系统中的Safari 浏览器 能够正常使用单图上传、多图上传,但在WINXP 中使用IE8 时,单图上传点不动,多图上传提示“后端配置项没有正常加载,上传插件不能正常使用”,请高手指点一下,

目录查找错误,无法看到文件 MEDIA_ROOT = 'media' # MEDIA_URL = 'http://www.xxx.com/media/' MEDIA_URL = '/media/'

后端校验的标准是由前端传过来的,那么校验还有什么意义?你这个设计是不是存在缺陷? /ueditor/controller/?imagePathFormat=&filePathFormat=&imageMaxSize=1204000

图片可以上传,但上传后看不到,404。可能是解析不了,

Ueditor settings在python中储存的是一个dict object,输出到页面上,直接使用的safe filter,没有考虑到dict to js时bool值的错误,False 需要-> false,解决方法是在safe输出之前先用一个tojson的customized filter使dict -> json。