简体   繁体   English

是否可以在tinymce工具栏中添加自定义文本?

[英]Is it possible to add custom text in tinymce toolbar?

I want to add an custom text to timymce's toolbar. 我想向timymce的工具栏添加自定义文本。

Example picture: 图片示例:

例

Is this possible and how can I achieve this? 这可能吗,我该如何实现?

If you don't want to create a custom button etc. You could do this with css. 如果您不想创建自定义按钮等,则可以使用CSS进行。 For example: 例如:

.mce-container-body::after {
    content: 'Custom Text Here';
    display: block;
    position: absolute;
    right: 8px;
    top: 5px;
    color: red;
    font-size: 20px;
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM