How to add title attribute at CKEditor images

前端 未结 2 1706
-上瘾入骨i
-上瘾入骨i 2021-01-15 22:37

Is there a way to add the title attibute to CKEditor images? I\'m using v4.1.2 and CKEditor is removing it automatically each time it\'s added from the HTML source view. I h

2条回答
  •  情书的邮戳
    2021-01-15 22:41

    You got to define config.extraAllowedContent = 'img[title]' if you want title attribute to be accepted into editor contents (see: official guide).

提交回复
热议问题