Fix html editor for adding �

This patch would fix html editor
for adding � characters in
html attributes whenever cursor
is inside quotes. � characters
are added on save.

PROD-1076
This commit is contained in:
Adeel Khan
2019-12-23 15:42:08 +05:00
parent 610ea4a5a4
commit 51da469762
2 changed files with 16 additions and 11 deletions

View File

@@ -6113,6 +6113,11 @@ window.CodeMirror = (function () { 'use strict';
getLine: function(line) {var l = this.getLineHandle(line); return l && l.text},
setLine: function(line, text) {
if (isLine(this, line))
replaceRange(this, text, Pos(line, 0), clipPos(this, Pos(line)));
},
getLineHandle: function(line) {if (isLine(this, line)) { return getLine(this, line) }},
getLineNumber: function(line) {return lineNo(line)},

File diff suppressed because one or more lines are too long