-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error thrown when inserting table within selection composed of multiple heading styles #3276
Comments
Hello, I'm not able to reproduce the issue. Can you record a screencast to show exact steps to reproduce? Also, please check if you're able to reproduce it here. |
Thanks, @wf-gijs, now I'm able to reproduce the issue. However, the scenario could be simplified, you just need to insert the table at the beginning of the document, select the second block and the table, then insert a new table. It throws with the following error:
cc @jodator |
Ah, I see. Thank you for the quick response! |
There's a potential bug in the |
And I have a quick fix so if the change will not cause some side-effects we will try to address this in the current iteration. |
Other: Remove the `Selection#getTopMostBlocks()` method. Closes ckeditor/ckeditor5-widget#95. Closes ckeditor/ckeditor5-table#199. BREAKING CHANGE: The `Selection#getTopMostBlocks()` was removed from the public API. Use `Selection#getSelectedBlocks()` instead. BREAKING CHANGE: The `Selection#getSelectedBlocks()` does not return blocks nested in other blocks now.
Steps to reproduce
I was able to reproduce this issue on the official examples / latest version.
Backtrace
The text was updated successfully, but these errors were encountered: