CKEditor - Change image source

前端 未结 1 989
长情又很酷
长情又很酷 2021-01-12 12:52

I have made some custom functionality to the CKEditor. In short, it shows a div tag with 5 links, for Small, Medium, Large X-Large and Original size.

When I click th

相关标签:
1条回答
  • 2021-01-12 13:27

    The src of images and href of links are protected in CKEditor to avoid browser bugs (when copying, dragging or sometimes even just loading the content), so you must update also this custom attribute:

    data-cke-saved-src

    0 讨论(0)
提交回复
热议问题