fix click event if iframe mode is loaded on contentwrapper

This commit is contained in:
REJack
2021-09-17 21:28:20 +02:00
parent 3267f781b9
commit ab0ebc9a88
173 changed files with 96241 additions and 81251 deletions

View File

@@ -320,7 +320,7 @@ CodeMirror.runMode = function(string, modespec, callback, options) {
if (!stream.string && mode.blankLine) { mode.blankLine(state); }
while (!stream.eol()) {
var style = mode.token(stream, state);
callback(stream.current(), style, i, stream.start, state);
callback(stream.current(), style, i, stream.start, state, mode);
stream.start = stream.pos;
}
}