我有以下规则
.selectable { /* double click -> select (not text-selection) */
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
}
其中每个属性(cursor
除外)在PyCharm编辑器中显示红色波浪线,并显示消息“Unknown CSS property -webkit-touch-callout ..”。
我理解user-select
是非标准的,但有没有办法告诉PyCharm我已经理解了这个警告,请不要再唠叨我了?
答案 0 :(得分:4)
您需要启用忽略特定于供应商的CSS属性选项: