简体   繁体   中英

Change citation style in Ckeditor

I would like to change the citation style in Ckeditor when we click on the button in the editor. I would like that when we click on this button it creates the following code :

<div class="blockquote-guillemets">
        My text
</div>

Have you an idea ?

Ckeditor citation button already have specific class cke_button__blockquote

Use this class to assign your style to it

.cke_button__blockquote {
   // ...
}

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