Open chkatz opened 1 month ago
I just found the solution:
Update abbrevationui.js, line 100 from
target = () => view.domConverter.viewRangeToDom(viewDocument.selection.getFirstRange());
to
target = () => view.domConverter.viewRangeToDom(viewDocument.selection.getFirstRange()).getBoundingClientRect();
Unfortunately, the plugin no longer works with the latest TYPO3 version 12.4.20. If I click the abbrevation button, nothing happens (tested on Chrome and Firefox).
Only if I select text including a linebreak (br tag), the overlay appears after clicking the button.
I guess there is an error somewhere in abbrevationui.js in in line 100:
target = () => view.domConverter.viewRangeToDom(viewDocument.selection.getFirstRange());