CodeMirror css mode: recognize "isolation"

This commit is contained in:
tophf 2017-11-23 13:01:27 +03:00
parent def05f2f0a
commit d2826d92f6

View File

@ -100,7 +100,13 @@
});
}
CodeMirror.mimeModes['text/css'].propertyKeywords['mix-blend-mode'] = true;
Object.assign(CodeMirror.mimeModes['text/css'].propertyKeywords, {
'mix-blend-mode': true,
'isolation': true,
});
Object.assign(CodeMirror.mimeModes['text/css'].valueKeywords, {
'isolate': true,
});
const MODE = {
stylus: 'stylus',