简体   繁体   中英

Ckeditor image alignment remove

I am using ckeditor for my textarea. It works great, but I don't need the image alignment option. How do I remove it? Here is the image.js file in which I guess you can change that, but I am not that good with javascript! http://pastebin.com/ZX2ECECp

If you're using CKEditor 4.4+ then this will work:

config.disallowedContent = 'img{float}';

Read more in the Disallowed Content guide .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM