[BUGFIX] Restore text selection correctly in RTE LinkBrowser
In Firefox the editor loses the text selection information after opening the Link Browser. Instead of using the references, we are now passing the selection start and end positions to the link browser to restore the text selection. Resolves: #99284 Releases: main Change-Id: I2f9e985c07c20ae59a83d22d0ff6e231ed4706e8 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77276 Tested-by:Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Daniel Siepmann <coding@daniel-siepmann.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/TypeScript/rte_ckeditor/plugin/typo3-link.ts 9 additions, 12 deletionsBuild/Sources/TypeScript/rte_ckeditor/plugin/typo3-link.ts
- Build/Sources/TypeScript/rte_ckeditor/rte-link-browser.ts 18 additions, 17 deletionsBuild/Sources/TypeScript/rte_ckeditor/rte-link-browser.ts
- typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/plugin/typo3-link.js 1 addition, 1 deletion...ckeditor/Resources/Public/JavaScript/plugin/typo3-link.js
- typo3/sysext/rte_ckeditor/Resources/Public/JavaScript/rte-link-browser.js 1 addition, 1 deletion..._ckeditor/Resources/Public/JavaScript/rte-link-browser.js
Please register or sign in to comment