使用通配符*重置样式,再使用 revert 还原样式
.editor * { font-weight: revert; font-size: revert; font-style: revert; }
显示效果
编码区域 strong
编码区域 i
富文本编辑区域 strong
富文本编辑区域 i