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

Fix Missing Default Style in HTML Export #368

Merged
merged 6 commits into from
Aug 21, 2024
Merged

Fix Missing Default Style in HTML Export #368

merged 6 commits into from
Aug 21, 2024

Conversation

danstarns
Copy link
Member

Adds a test to assert the issue described in:

Fix in progress.

@danstarns danstarns changed the title Fix/ Missing Default Style in HTML Export Fix Missing Default Style in HTML Export Aug 17, 2024
>

<div
style=\\"font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;\\"
Copy link
Member Author

Choose a reason for hiding this comment

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

line-height: 1

This test asserts the issue @RakulAgn found.

Thoughts @artf ?

Copy link
Member

Choose a reason for hiding this comment

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

I'd say it was wrong on our side to define as default 22px where mj-text has 1 as default (not in px).
IMHO it would make more sense to remove that default value on our side as 1 is not in px so it's not in line with the style manager configuration.

@artf artf merged commit a3f0cc2 into master Aug 21, 2024
1 check passed
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.

2 participants