Open raivatshah opened 12 months ago
I managed to fix some of the issue by:
import externalStyles from "@uiw/react-md-editor/markdown-editor.css";
export const links: LinksFunction = () => [
{ rel: "stylesheet", href: externalStyles}
]
inside my <LiveEditor>
component file. However, the changes I make in the editor aren't visible in the preview! Could this have something to do with the CSS?
Hi @jaywcjlove!
I'm trying to use this library on my remix react app. I tried importing the updated CSS file, i.e.import
@uiw/react-md-editor/dist/mdeditor.css
; but my CSS still does not load well.I'm just trying to setup the basic demo:
I'm guessing this might be due to
serverDependenciesToBundle: [/^(?!.*(jsdom|fluent-ffmpeg)).*$/]
(seeremix.config.js
).Codesandbox of the math setup (but the idea is the same, it doesn't seem to get the styling in this server side framework).