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

More complete patch for the TextEditor to support being rendered in the Shadow DOM #6222

Merged
merged 3 commits into from
Jan 18, 2024

Conversation

maximlt
Copy link
Member

@maximlt maximlt commented Jan 17, 2024

In a complex application using the TextEditor widget it becomes unusable after certain operations. I couldn't reproduce the bug with a simple example. I found a Shadow DOM patch (slab/quill#2961 (comment)) that looked more complete and that made other Quill users happy, so I decided to try it out. It seems like it fixed my issue! I've updated a test as it fixes another issue (see the last paragraph of this comment #5511 (comment)).

Copy link

codecov bot commented Jan 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (eac968a) 22.35% compared to head (cb89e1a) 84.18%.
Report is 18 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #6222       +/-   ##
===========================================
+ Coverage   22.35%   84.18%   +61.83%     
===========================================
  Files         299      301        +2     
  Lines       44647    45099      +452     
===========================================
+ Hits         9980    37967    +27987     
+ Misses      34667     7132    -27535     
Flag Coverage Δ
ui-tests 40.72% <100.00%> (?)
unitexamples-tests 71.85% <0.00%> (+49.49%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@philippjfr philippjfr 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, thanks! One nitpick, please use the standard of 2-space indentation that we use for all TS code.

@maximlt
Copy link
Member Author

maximlt commented Jan 18, 2024

Looks good, thanks! One nitpick, please use the standard of 2-space indentation that we use for all TS code.

Done in cb89e1a using the built-in formatter in VSCode.

@philippjfr philippjfr merged commit 3a3b1be into main Jan 18, 2024
14 of 15 checks passed
@philippjfr philippjfr deleted the fix_texteditor_patch branch January 18, 2024 12:20
philippjfr pushed a commit that referenced this pull request Jan 18, 2024
@philippjfr philippjfr mentioned this pull request Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants