CKEditor的一些插件似乎指定了屬性的值。例如,左到右插件有以下規則:CKEditor - 使用高級內容過濾器規則來指定值
{
"styles":null,
"requiredStyles":null,
"classes":null,
"requiredClasses":null,
"attributes":{
"dir":"ltr"
},
"requiredAttributes":{
"dir":true
},
"elements":{
"span":true
},
"featureName":"styles",
"propertiesOnly":false,
"match":null
},
我怎麼可以指定字符串格式規則的價值? 類似於span[!dir=ltr]
。
你想要這些規則返回字符串格式,我說得對嗎? – oleq
你是對的!我不知道如何翻譯''屬性「:{」dir「:」ltr「}'。 –