Skip to content
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

TASK: cleanup disabled autoparagraph mode #3559

Merged
merged 2 commits into from Jul 5, 2023

Conversation

mhsdesign
Copy link
Member

While the fix at #3532 was the most correct one in terms of behaviour its also the hardest one to maintain over time. And brought a regression see #3558.
@grebaldi had the idea to simplify the optional cleanup.

In the disabled paragraph mode (which is now also named in the code like this, in preparation for #3553) we still trim the outer span, but in case there was another span somewhere we return the original content (so we dont ever run into this: #2918)

What I did

How I did it

How to verify it

Copy link
Member

@crydotsnake crydotsnake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me..

@mhsdesign mhsdesign changed the title Task: cleanup disabled autoparagraph mode TASK: cleanup disabled autoparagraph mode Jul 5, 2023
Copy link
Contributor

@grebaldi grebaldi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 (aside from one typo nitpick)

Co-authored-by: Wilhelm Behncke <2522299+grebaldi@users.noreply.github.com>
Copy link
Member

@crydotsnake crydotsnake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looked into this again. Tested it and it works as expected.

@crydotsnake crydotsnake merged commit 0d4a018 into 7.3 Jul 5, 2023
9 checks passed
@crydotsnake crydotsnake deleted the task/cleanupDisabledAutoparagraphMode branch July 5, 2023 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants