Relative Content

Tag Archive for javascriptckeditor5

How to append data in CKEditor5

I’m trying to add some data "<div title="" + parts[0]+ "" id="" + parts[1]+ "" class="galleryPlaceholder"><p> </p></div><p></p>" with a custom plugin button in ckeditor5. What I want to achieve is to add the data where the cursor is, then move the cursor to the end of immitted data (the last <p>).