Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bullet list and number list are not showing properly in preview #19

Open
Andrew781123 opened this issue Jan 25, 2023 · 3 comments
Open

Comments

@Andrew781123
Copy link

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 Andrew781123 changed the title List are not showing properly in preview Bullet list and number list are not showing properly in preview Jan 25, 2023
@Andrew781123
Copy link
Author

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

@Andrew781123
Copy link
Author

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",
  },
});

@jdai1
Copy link

jdai1 commented Sep 11, 2023

I am having the same issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants