问题描述
我将 Django-Ckeditor 用于 RichTextUploadField,但是,有些图像非常大,我需要在将其发送到服务器之前调整大小/压缩
或者如果我可以设置默认宽度和高度或样式表类
我试过了,但没有运气:
CKEDITOR_CONfigS = {
'default': {
'stylesSet': [
{
'name': 'Image-Fluid','element': 'img','attributes': {'class': 'img-fluid'},},],
}
需要您的帮助社区。任何想法如何使这成为可能。 我的 CKeditor 配置:gist
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)