- Issue created by @megan_m
- First commit to issue fork.
- Merge request !7Issue #3457032: fixed selection.getFirstPosition() is null error → (Closed) created by angheloko
- Merge request !8Issue #3457032: fixed selection.getFirstPosition() is null error → (Closed) created by angheloko
- Merge request !9Issue #3457032: fixed selection.getFirstPosition() is null error → (Merged) created by angheloko
- 🇬🇧United Kingdom ded
We are having this issue also with 3.0.0-beta1. Our console error is slightly different:
TypeError: Cannot destructure property 'parent' of 'selection.getFirstPosition(...)' as it is null. at getClosestSelectedIframeEmbedWidget (iframeEmbedUtils.js:78:11) at Object.getRelatedElement (iframeEmbedToolbar.js:78:102) at q._updateToolbarsVisibility (ckeditor5-dll.js?v=41.3.1:5:718206) at r.<anonymous> (ckeditor5-dll.js?v=41.3.1:5:717231) at r.fire (ckeditor5-dll.js?v=41.3.1:5:663135) at r.update (ckeditor5-dll.js?v=41.3.1:5:602960) at Object.fire (ckeditor5-dll.js?v=41.3.1:5:663135) at de (ckeditor5-dll.js?v=41.3.1:5:201940) at pe.fire (ckeditor5-dll.js?v=41.3.1:5:201331) at St.<anonymous> (ckeditor5-dll.js?v=41.3.1:5:255790)
- Status changed to RTBC
6 months ago 3:31pm 15 July 2024 - 🇺🇸United States earthday47 New York
I can also confirm that the merge request resolves the issue!
This seems to be a common issue with plugins, such as https://www.drupal.org/project/ckeditor_bs_grid/issues/3389827 🐛 conflict with CKEditor5 Show Block Fixed , and checking for the existence of the object is the resolution.
- 🇨🇦Canada joelpittet Vancouver
The input field is empty when this error is happening, Major if not critical so bumping the Priority.
- 🇮🇳India shani maurya Mumbai
I can also confirm that the merge request resolves the issue for D10.3
- 🇬🇷Greece Pavlos.Dontas
Made a patch for those still facing this issue with version 3.0.x.
- Status changed to Needs review
6 months ago 11:02am 23 July 2024 - Status changed to RTBC
6 months ago 3:01pm 24 July 2024 - 🇭🇷Croatia Aporie
Hi Donpas,
There is a MR available. You can find the patch by clicking on "plain diff".
- 🇪🇸Spain CarlosMonroy
hello,
We encountered the same problem when updating core 10.3.
we had ckeditor_iframe in alpha1By updating ckeditor_iframe and using the patch in comment #18, ckeditor works again.
- 🇫🇷France vanessa.fayard
- 🇺🇸United States bkosborne New Jersey, USA
Sorry all, I'll get a new release out today for this.
-
bkosborne →
committed a31e2fec on 3.0.x authored by
angheloko →
Issue #3457032 by angheloko: CKEditorError: selection.getFirstPosition...
-
bkosborne →
committed a31e2fec on 3.0.x authored by
angheloko →
Automatically closed - issue fixed for 2 weeks with no activity.