The config.allowedContent has to be set correctly. I needed img[width,height] to be included.
Here is a correct example:
config.allowedContent = 'a[!href,target];img[src,alt,width,height]; span[*](*)';
Вопрос
I added image2 to my ckeditor and it doesn't I cannot resize images I add. The image properties dialog does not even show fields to change the size. Can anyone hint at where my configurations may be restricting the plugin?
Thanks!
Решение
The config.allowedContent has to be set correctly. I needed img[width,height] to be included.
Here is a correct example:
config.allowedContent = 'a[!href,target];img[src,alt,width,height]; span[*](*)';