Skip to content

Conversation

@dbrant
Copy link
Member

@dbrant dbrant commented Sep 27, 2024

Our handling of ordered list <ol> tags is kind of brittle already, and can lead to issues, because we programmatically insert text into an Editable inside a phase where text shouldn't really be inserted. This can cause clashes with existing Spans, especially ParagraphStyle spans.
This fixes further existing issues by explicitly removing any additional ParagraphStyle spans that might be interfering with an <ol> tag. A more permanent solution will need to be devised later.

https://phabricator.wikimedia.org/T375728

@dbrant dbrant added the Minor Minor stuff label Sep 27, 2024
@dbrant dbrant requested a review from cooltey as a code owner September 27, 2024 21:56
@cooltey cooltey merged commit 7246197 into main Sep 30, 2024
1 check passed
@cooltey cooltey deleted the olParagraphFix branch September 30, 2024 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Minor Minor stuff

Development

Successfully merging this pull request may close these issues.

3 participants