Nic Edit : Bullet point in not working
-
30-06-2021 - |
Вопрос
I have used ' Nic Edit ' in my rails project .
Bullet point ( ol and ul ) is not working .
I have checked nicEDIT.js.erb
it is there in button list .
Bold , Italic and others are working except this 'ol' and 'ul' .
Решение
I have got the solution . That was a CSS problem . These two classes fixed the problem
.nicEdit-main ol{ list-style:inside; list-style-type: decimal; }
.nicEdit-main ul{ list-style: inside; list-style-type: circle; }
Другие советы
It's likely you have a css style that is changing these.
Check your css styles for any changes to ul/ol.
Не связан с StackOverflow