-
-
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
hgroup and summary should work with source editing #16962
Conversation
allowIn: 'htmlDetails', | ||
isLimit: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, this is could be redundant, I was followed the community PR here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it because I found that, without it, CK would remove the summary element if it contained a heading. If it works without it, great.
@@ -341,7 +349,10 @@ export default { | |||
model: 'htmlHgroup', | |||
view: 'hgroup', | |||
modelSchema: { | |||
allowIn: '$root', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why $root and not $container? hgroup can go anywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be safe to use $container
here.
… and in $container.
Suggested merge commit message (convention)
Fix (html-support):
hgroup
andsummary
elements should work with source editing. Closes #16947 .Additional information
For example – encountered issues, assumptions you had to make, other affected tickets, etc.