pratik hirpara
pratik hirpara

Reputation: 1

How add html to ckeditor's custom plugin?

I have written my own custom plugin for inserting HTML in CKEDITOR. I enable the drop-down in toolbar .but I don't know how I put this HTML to ckeditor's custom plugin?

<div class="standardcolor">
    <div class="titlecolor">Standard Colors</div>
    <span class="color empty" data-color='ffffff'></span>                           
    <span class="color" style="background: #f5a623" data-color='f5a623'></span>
    <span class="color" style="background: #f8e71c" data-color='f8e71c'></span>                           
    <div class="clear"></div>
</div>

Upvotes: 0

Views: 71

Answers (0)

Related Questions