DjangoUeditor icon indicating copy to clipboard operation
DjangoUeditor copied to clipboard

修复了safe输出python dict settings 为字符串作为js代码时的时候bool值错误的Bug

Open ttc9082 opened this issue 9 years ago • 0 comments

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

ttc9082 avatar Aug 25 '15 07:08 ttc9082