-
Notifications
You must be signed in to change notification settings - Fork 29
Fixed Schema#allow()
entry.
#98
Conversation
Misses a test for the thing which was actually supposed to be fixed. |
Two tests could be written – what happens with links which are being inserted directly into the root and a simple schema check whether link is allowed directly in a root. |
What was actually supposed to be fixed is that We expect
I'll add this one but I don't tests like this (as there are infinite examples where text with link is not allowed). |
Okay you know what, I'll write that integration test. It will fail after the issue in paragraph is fixed and then we will fix that test so we won't forget about that case. |
IMO, there's a lot of sense in writing such tests. We will have to change that incorrect test once paragraph is fixed. You will know very well that something has changed because it will start failing. For now, the test will just confirm how it currently behaves and that there are no other issues (e.g. it does not crash). |
:D I've read it after writing my previous comment. So, yep – that's the idea. |
Suggested merge commit message (convention)
Fix: Schema is now correctly set for Link feature. Closes ckeditor/ckeditor5#4780.