DjangoUeditor icon indicating copy to clipboard operation
DjangoUeditor copied to clipboard

readme中的UEditorWidget示例初始化参数不对

Open RocyLuo opened this issue 9 years ago • 0 comments

在示例中UEditorWidget是按参数的名字进行赋值的,但是这样会报错: widget=UEditorWidget(width=800,height=500, imagePath='aa', filePath='bb',toolbars={})

但是实际上UEditorWidget只支持字典类型作为初始化参数,正确的应该是这样 widget=UEditorWidget({"width":600, "height":100, "toolbars":"full"})

RocyLuo avatar Dec 22 '15 03:12 RocyLuo