Questions tagged [react-md-editor]

5 questions
0
votes
0 answers

Having trouble setting dark theme with react-md-editor in NextJS

I have followed the instructions for setting up react-md-editor for NextJS which has gotten the text editor to appear in the application, but I cannot get the text editor to represent a dark theme given the instructions on…
0
votes
1 answer

Why @uiw/react-md-editor don't working on nextjs 13

I try to use @uiw/react-md-editor for markdown editor on NextJS 13. But I got this error This is my code on editor.tsx const MDEditor = dynamic(() => import('@uiw/react-md-editor'), { ssr: false, }); export const BlogList =…
Nelson Vu
  • 1
  • 1
0
votes
0 answers

How can i fix the error "Must use import to load ES Module"?

I found this error while testing with jest. Must use import to load ES Module: ...\node_modules\react-markdown\index.js 1 | import React from "react"; 2 | import styled from "styled-components"; > 3 | import MDEditor from…
0
votes
0 answers

How can we extract `img`, `h2` values from the submitted `blogValue in react-md-editor

How can we extract img, h2 values from the submitted blogValue in the react-md-editor. So that I could save those values separately in database. Right now its saves as single string in a single column in DB. Could someone please advise ! Please…
soccerway
  • 10,371
  • 19
  • 67
  • 132
0
votes
1 answer

How can i get the typed in data as string and submit in my `MDEditor` of react app

How can I submit all of the typed data in MDEditor in my react app ? I have tried the below way to submit, but i am not getting the whole types in data as string, could someone please advise me ? import MDEditor from '@uiw/react-md-editor'; const…
soccerway
  • 10,371
  • 19
  • 67
  • 132