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

Problems to show in front end. #37

Open
just-adriandev opened this issue Sep 26, 2024 · 2 comments
Open

Problems to show in front end. #37

just-adriandev opened this issue Sep 26, 2024 · 2 comments

Comments

@just-adriandev
Copy link

I have a site in nextjs, it's to write some articles in the form of posts. When I'm writing, everything looks very good and well formatted on the page and creation, but when I create the post and see the result, my frontend receives everything incorrectly, the lists in general don't even appear, they are as if they were null, and when I apply bold, strike and other markings, the text goes without any formatting, just the plain text, without being in bold, without being in h1 and so on.

@EdgarsJoja
Copy link

Just a wild guess - are you using TailwindCSS or similar on FE? Tailwind comes with preflight (CSS reset), so it removes default styles - lists, bold, borders, spacing, etc. It's something you have to add back yourself (or remove preflight: https://tailwindcss.com/docs/preflight)

@just-adriandev
Copy link
Author

yes, I'm using talwind to style, I'm going to try and come back here to expose the result.

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