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

Italic text does not work in preview mode #573

Closed
qsdamar opened this issue Sep 21, 2023 · 2 comments
Closed

Italic text does not work in preview mode #573

qsdamar opened this issue Sep 21, 2023 · 2 comments

Comments

@qsdamar
Copy link

qsdamar commented Sep 21, 2023

Italic text does not work in preview mode, next.js project.

I've looked into the issues and did not find anything similar to this. I understand that font-style: inherit is used, but I'm wondering what the initial value of font-style should be for this to work.

Does anyone have a similar problem?

These are the libraries and versions I am using:

"next": "^12.0.7",
"@uiw/react-md-editor": "^3.6.0",
"next-remove-imports": "^1.0.12",

Attaching an image below:
Screenshot 2023-09-21 at 15 01 59

Thank you.

@jaywcjlove
Copy link
Member

image

@qsdamar You may have reset <em> style.

em {
    font-style: italic;
}

@qsdamar
Copy link
Author

qsdamar commented Sep 22, 2023

This helped me to achieve what I wanted.

Thank you, closing the issue.

@qsdamar qsdamar closed this as completed Sep 22, 2023
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

No branches or pull requests

2 participants