[英]Change citation style in Ckeditor
I would like to change the citation style in Ckeditor when we click on the button in the editor. 当我们单击编辑器中的按钮时,我想更改Ckeditor中的引用样式。 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
Ckeditor引用按钮已经具有特定的类cke_button__blockquote
Use this class to assign your style to it 使用此类为您分配样式
.cke_button__blockquote {
// ...
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.