Improvements to richtexteditor to allow file management in raw html editor. Also allow disabling of raw html editor which can be utilized via new setting in Html/Text module.
This commit is contained in:
@ -389,6 +389,11 @@ Oqtane.Interop = {
|
||||
behavior: "smooth",
|
||||
block: "start",
|
||||
inline: "nearest"
|
||||
});
|
||||
});
|
||||
}
|
||||
},
|
||||
getCaretPosition: function (id) {
|
||||
var element = document.getElementById(id);
|
||||
return element.selectionStart;
|
||||
}
|
||||
}};
|
||||
};
|
||||
|
Reference in New Issue
Block a user