简体   繁体   中英

CKEditor : Remove default text “image preview” in box using CKEditor

firstly thanks in advance. in CKEditor when i click on image tab in tool box , the image properties window open, in this window , we upload the image and also image preview box is there , but when the "image properties " windows open in the "image preview" box there is some text like show in this link http://ckeditor.com/demo but i want to remove the default text in "image preview" box at initialize time. how can we done ?

You can change the preview text by setting image_previewText

See that URL: http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.image_previewText

You need to add this to your config:

config.image_previewText = ' ';

I found you have to set it to an empty space rather than an empty string else it defaults to lorem ipsum.

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