We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 850671f commit 920ecc1Copy full SHA for 920ecc1
src/edit/methods.js
@@ -136,7 +136,7 @@ export default function(CodeMirror) {
136
else if (styles[mid * 2 + 1] < ch) before = mid + 1
137
else { type = styles[mid * 2 + 2]; break }
138
}
139
- let cut = type ? type.indexOf("cm-overlay ") : -1
+ let cut = type ? type.indexOf("overlay ") : -1
140
return cut < 0 ? type : cut == 0 ? null : type.slice(0, cut - 1)
141
},
142
0 commit comments