-
-
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
[GHS/Style] List styles preserves itself and spreads to other list types and blocks. #14216
Comments
|
…s-to-htmlXAttributes Other (html-support): Change `htmlAttributes` to `htmlXAttributes` where X represents the name of the view element. See #14216. MINOR BREAKING CHANGE (html-support): The `htmlAttributes` model property has been replaced by `htmlXAttributes`, where "X" represents the name of the view element. Clients will need to modify their code accordingly by replacing all instances of `htmlAttributes` with `htmlXAttributes` for the respective view elements.
This task was split into 3 PRs:
|
…es-from-unassociated-elements Fix (html-support): Remove unrelated `html*Attributes` from elements. See #14216.
…butes Feature (html-support): Changing list type removes styles from the old type. Closes #14216.
Since styles leaking to other elements is a recurring problem, we decided to look at it more broadly and fix it so that it doesn't happen in any case, not just the one described in this ticket. We decided to rename the attribute created by GHS (General HTML Support) that the This way, when we:
|
📝 Provide detailed reproduction steps (if any)
ul
ol
list.Screen.Recording.2023-05-23.at.14.03.29.mov
✔️ Expected result
ol
doesn't have the style.❌ Actual result
ol
has the style.❓ Possible solution
htmlListAttributes
on non-list blocks.📃 Other details
Workarounds: delete the class via the Source mode or turn to a different list, disable the style turn back to the list type you wanted to have.
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: