简体   繁体   English

添加内联样式以链接到CK Editor 4

[英]Add inline styling to link in CK Editor 4

I would like to add a inline styling color to a link when it is created by the user in CK editor. 当用户在CK编辑器中创建链接时,我想向链接添加内嵌样式颜色。 Is this possible? 这可能吗?

Regards, Andreas 问候安德烈亚斯

Yes .. 是的..

Create a separate style in new css file and then assign path in ContentCSS. 在新的CSS文件中创建单独的样式,然后在ContentCSS中分配路径。

info : http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-contentsCss 信息: http : //docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-contentsCss

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

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