Skip to content
Discussion options

You must be logged in to vote

In general Tiptap absolutely is style-able via Tailwind. If you add the prose class to the editor's class attribute via editorProps.

The layout.css OP is talking about is probably a Next.js layout.css that overrides styles globally and has nothing to do with Tiptap. In general - if you use Tailwind, make sure to not have other styles that globally override your Tailwind-styled elements or use CSS Layers to make sure Tailwind classes take a higher priority than external styles.

Read more on the Tailwind docs here: https://tailwindcss.com/docs/adding-custom-styles#adding-base-styles

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@WayneFilmalter
Comment options

@blockboundjj
Comment options

@WayneFilmalter
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bdbch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants