DjangoUeditor
DjangoUeditor copied to clipboard
修复了safe输出python dict settings 为字符串作为js代码时的时候bool值错误的Bug
Ueditor settings在python中储存的是一个dict object,输出到页面上,直接使用的safe filter,没有考虑到dict to js时bool值的错误,False 需要-> false,解决方法是在safe输出之前先用一个tojson的customized filter使dict -> json。