Skip to content

Commit 32fc2fa

Browse files
committed
chore: add note on css modules
1 parent e32b32f commit 32fc2fa

File tree

1 file changed

+2
-0
lines changed
  • src/content/editor/getting-started/style-editor

1 file changed

+2
-0
lines changed

src/content/editor/getting-started/style-editor/index.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ p {
5858
}
5959
```
6060

61+
**_Note:_** When using CSS modules, class names are modified to enable local scoping, which may prevent styles from applying if targeting the .tiptap class. Use global styles or the :global(.tiptap) modifier in your CSS module to ensure styles are applied correctly.
62+
6163
## Add custom classes
6264

6365
You can control the whole rendering, including adding classes to everything.

0 commit comments

Comments
 (0)