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 a44e36c commit 374a7b8Copy full SHA for 374a7b8
app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/binding/live-edit.ts
@@ -105,7 +105,7 @@ ko.bindingHandlers.liveEdit = {
105
_.debounce(() => {
106
const selection = window.getSelection();
107
const range = document.createRange();
108
- const getCharPosition = (editableDiv: HTMLElement) => {
+ const getCharPosition = (editableDiv: HTMLElement): number => {
109
let charPosition = 0;
110
111
if (window.getSelection) {
0 commit comments