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

[BUG] numbered list can't render number in preview panel

Open zshnb opened this issue 1 year ago • 5 comments

image

as you can see in the pic, left I write numbered list like

  1. 1
  2. 2
  3. 3

but right doesn't render number. how can I fix this?

zshnb avatar Mar 28 '24 04:03 zshnb

I am having the same issue

h4ck4life avatar Mar 28 '24 08:03 h4ck4life

@zshnb try add below css to override it,

.wmde-markdown ol {
  list-style: auto !important;
}

You should now see the numbering.

h4ck4life avatar Mar 28 '24 14:03 h4ck4life

image

@h4ck4life @zshnb Is it because the default styles have been reset? Do I need to add the default styles to the CSS?

jaywcjlove avatar Apr 04 '24 16:04 jaywcjlove