![](/img/trans.png)
[英]is it possible to change the Wrapper “<div>” of Image in Image2 ckeditor plugin?
[英]Why is resize disabled in my Ckeditor Image2 plugin
我已将image2添加到我的ckeditor中,但是我不能调整我添加的图像的大小。 图像属性对话框甚至不显示更改尺寸的字段。 谁能暗示我的配置可能在哪里限制了插件?
谢谢!
config.allowedContent必须正确设置。 我需要包含img [width,height] 。
这是一个正确的例子:
config.allowedContent = 'a[!href,target];img[src,alt,width,height]; span[*](*)';
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.