CKEditor 更改拼写检查器 scayt 的样式
当 SCAYT 发现错误的世界时,它会添加一种样式来跨越错误的世界,如下所示:
.scayt-enabled [data-scayt_word] {
background: url("data:image/gif;base64,R0lGODlhBAADAIABAP8NDQAAACH5BAEAAAEALAAAAAAEAAMAAAIFRB5mGQUAOw==") repeat-x scroll center bottom transparent !important;
padding-bottom: 0 !important;
text-decoration: none !important;
white-space: nowrap !important;
}
但它破坏了我的父样式“word-wrap:break-word”。如何覆盖这种风格?
When SCAYT find a wrong world it will add a style to span with wrong worlds like that :
.scayt-enabled [data-scayt_word] {
background: url("data:image/gif;base64,R0lGODlhBAADAIABAP8NDQAAACH5BAEAAAEALAAAAAAEAAMAAAIFRB5mGQUAOw==") repeat-x scroll center bottom transparent !important;
padding-bottom: 0 !important;
text-decoration: none !important;
white-space: nowrap !important;
}
But it`s broke my parent style "word-wrap: break-word". How is possible to override this style?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
删除
white-space: nowrap
规则,或!important
,或者尝试其他内容并告诉我们。顺便说一句,你尝试过什么吗?delete
white-space: nowrap
rule, or!important
, or trie something else and tell us about it. have you tried anything btw?