Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RocyLuo opened this issue Dec 22, 2015 · 0 comments
Open

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

RocyLuo opened this issue Dec 22, 2015 · 0 comments

Comments

@RocyLuo
Copy link

RocyLuo commented Dec 22, 2015

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant