steven-tey / novel

Notion-style WYSIWYG editor with AI-powered autocompletion.
https://novel.sh
Apache License 2.0
12.47k stars 1.03k forks source link

fix: remove katex styling import inside mathematics extension #438

Open phyohtetarkar opened 3 weeks ago

phyohtetarkar commented 3 weeks ago

This pull request resolves #432 by removing KaTex styling import inside mathematics extension. Instead, KaTex css must be explicitly imported inside root layout if mathematics extension is used.

Example:

import "@/styles/globals.css";
import "@/styles/prosemirror.css";

// KaTex styling import
import 'katex/dist/katex.min.css';
vercel[bot] commented 3 weeks ago

@phyohtetarkar is attempting to deploy a commit to the Dub Team on Vercel.

A member of the Team first needs to authorize it.