ckeditor4
ckeditor4 copied to clipboard
Unable to open combo box after reinitializing the editor
Type of report
Bug
Provide detailed reproduction steps (if any)
- Go to https://codepen.io/slewthsloth/pen/oNyoEya?editors=1010
- Click on the editable (triggers focus, which enables toolbar commands).
- Open the font toolbar dropdown.
- Click outside the editor to invoke the
blur
event and disable the toolbar commands. - Click the "Destroy 1st instance" button.
- Click "Create 1st instance" again.
- Try to open the same dropdown in the toolbar.
Expected result
The combo box opens correctly.
Actual result
The combo box is not opened. There is an error in the console.
Uncaught TypeError: Cannot read properties of null (reading 'getElementsByTag')
Other details
This can be related to blur
event but there is more investigation needed to confirm the cause of this issue.