Bug #90952
closedLink Browser in ckeditor breaks with browser search
100%
Description
The Link Browser used with ckeditor breaks when selecting e.g. a file when the browser search is used to find a record in the Link Browser.
How to reproduce (tested in Chrome):
- Select a text in ckeditor
- Open link browser by clicking the "Link" icon
- Switch to tab "File"
- Open browser search (CTRL + F, for example)
- Search for anything that matches a file
- Click that file
The browser console of Chrome now logs the error Uncaught TypeError: Cannot read property 'getParent' of null
.
In Firefox, the whole text gets linked instead.
The issue is that the browser search creates a new Selection
which overrides the previous selection done by the editor.
Updated by Gerrit Code Review over 4 years ago
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64078
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64078
Updated by Gerrit Code Review over 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64078
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63985
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63985
Updated by Gerrit Code Review over 4 years ago
Patch set 3 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63985
Updated by Andreas Fernandez over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 672b8fa1c5078d8c7dc2020d3e7a6091d612ee6b.
Updated by Gerrit Code Review over 4 years ago
- Status changed from Resolved to Under Review
Patch set 4 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63985
Updated by Andreas Fernandez over 4 years ago
- Status changed from Under Review to Resolved
Applied in changeset d16e72e892bcc2e7e0d7057723a868871da3ec98.
Updated by Andreas Kienast over 4 years ago
- Related to Bug #91006: ckeditor still loses ranges when using browser search in RTELinkBrowser added
Updated by Benni Mack over 4 years ago
- Related to Bug #84299: CKEditor IE 11 link update copies the current link to the beginning added