react-md-editor icon indicating copy to clipboard operation
react-md-editor copied to clipboard

Bullet list and number list are not showing properly in preview

Open Andrew781123 opened this issue 3 years ago • 4 comments

Hello, I just have a basic setup of the MDEditor component with Next.js. Screenshot 2023-01-25 at 16 53 22

All list including number and bullet list are not showing properly in the preview as shown Screenshot 2023-01-25 at 16 51 08

Below are the versions of Next.js and react-md-editor used

"next": "13.1.1",
"@uiw/react-md-editor": "^3.20.2",

Thanks for your help and please let me know if I have to provide more information :)

Andrew781123 avatar Jan 25 '23 08:01 Andrew781123

I have tried light mode and didn't solve the issue, the bullets and numbers are still missing

Andrew781123 avatar Jan 25 '23 08:01 Andrew781123

This is my next.config.mjs

// @ts-check
import removeImports from "next-remove-imports";

/**
 * Don't be scared of the generics here.
 * All they do is to give us autocompletion when using this.
 *
 * @template {import('next').NextConfig} T
 * @param {T} config - A generic parameter that flows through to the return type
 * @constraint {{import('next').NextConfig}}
 */
function defineNextConfig(config) {
  return removeImports()(config);
}

export default defineNextConfig({
  reactStrictMode: true,
  swcMinify: true,
  i18n: {
    locales: ["en"],
    defaultLocale: "en",
  },
});

Andrew781123 avatar Jan 25 '23 12:01 Andrew781123

I am having the same issue!

jdai1 avatar Sep 11 '23 13:09 jdai1