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

Add default word-break to trix-content #1126

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Add default word-break to trix-content #1126

merged 1 commit into from
Jan 30, 2024

Conversation

afcapel
Copy link
Contributor

@afcapel afcapel commented Jan 29, 2024

Fix for #1125

@afcapel afcapel requested a review from jzimdars January 29, 2024 10:17
Copy link
Member

@jzimdars jzimdars 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. In our apps we've been compensating for this in local CSS. Makes sene to upstream it.

For example: https://github.com/basecamp/haystack/blob/master/app/assets/stylesheets/web/components/trix.scss#L203

@afcapel afcapel merged commit cadc7bb into main Jan 30, 2024
1 check passed
@afcapel afcapel deleted the default-word-break branch January 30, 2024 18:38
@dorianmarie
Copy link

Thanks a lot @jzimdars and @afcapel

@huabin
Copy link

huabin commented Feb 13, 2024

Actually, this bug still remains.
Firefox version: 122.0 (64-bit)

@afcapel
Copy link
Contributor Author

afcapel commented Feb 19, 2024

@huabin are you sure you're using the latest version css? Seems ok in trix-editor.org

Screenshot 2024-02-19 at 10 14 39

@huabin
Copy link

huabin commented Feb 19, 2024

Hey @afcapel,

I tried on https://trix-editor.org on Firefox, it happened, that's why I leave my reply.

I have tried on Firefox, Chrome and Safari just now, it works well on them. BTW, I reinstalled Firefox, maybe this issue was caused by the Firefox I was using at the time. :(

@afcapel
Copy link
Contributor Author

afcapel commented Feb 19, 2024

No worries, glad it's fixed now 👍

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.

4 participants