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

Disable Tailwind preflight #59

Closed
leekaimun opened this issue Nov 11, 2022 · 4 comments
Closed

Disable Tailwind preflight #59

leekaimun opened this issue Nov 11, 2022 · 4 comments

Comments

@leekaimun
Copy link
Contributor

In blog post and page, the rich editor allows text to be formatted with the basic HTML tags. However, these formatting are lost when the post or page is rendered on the browser. My guess is that Tailwind Preflight is normalising all these formatting. What is the best way to disable Tailwind Preflight?

@atmonshi
Copy link
Member

I think the "fastest way" will be to create your tailwind build
and include the typography plugin
then add prose class to post.blade.php

I don't recommend removing Tailwind Preflight since it will cause other issues.

I will look into including the typography plugin in the core and support this out of the box.

@atmonshi
Copy link
Member

actually, the typography plugin is already in the core, so I will update the blade files to include the needed classes and release it today.

@atmonshi
Copy link
Member

atmonshi commented Nov 11, 2022

#60
let me know if you still have any issues :)

@leekaimun
Copy link
Contributor Author

Works great! Thanks!

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