Dealing with a legacy application that features CKEDITOR 4 integration has presented me with a challenge involving the display of a nested ordered list. The issue arose when a user added an ordered list using the bullet list plugin.
I encourage you to take a look at the screenshot provided https://i.sstatic.net/6qATG.png
You can also view the HTML source code by clicking on this link: https://i.sstatic.net/dmT0v.png
In viewing mode, however, the ordered list is not rendering as expected. Please see the screenshot here: https://i.sstatic.net/VTjQX.png
The presence of multiple CSS files in my application is influencing the output on the view page.
div.docSection ol li {
/* list-style-type: decimal; Commenting this line fixes the issue */
margin: auto;
margin-left: 2.0em;
padding: 0em;
}
.sectionDiv li {
padding: 0;
padding-left: 2em;
margin: 0;
margin-bottom: 0.2em;
margin-right: 1em;
/* list-style: none; Commenting this line resolves the problem */
line-height: 1.6em;
}
I am looking for solutions to ensure that the ordered list displays correctly in view mode. Is there a setting within CKEDITOR 4 that addresses this, or can it be resolved through CSS rules?