Knowledge Base editor control adding unwanted inline style for Numbered and Bulleted lists

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2019 08:43 AM
So, I'm really spinning my wheels trying to figure this out, so now I'm here hoping someone can give me some ideas of where to go from here.
I admit, I'm not great at navigating my way through ServiceNow and have a hard time finding anything so "ServiceNow for Bone-Heads" instructions are welcomed (I have full Administrator access to the platform).
I'm working on writing and building our KB for our company.
- I click in the Article Body field,
- Then, click the Numbered List icon on the text editor.
- I type the list items.
- When I go to look at the Code-behind, I see the <ol> tag is being inserted as: <ol style="list-style-position: inside;"> (the reason I dislike the "inside" position is because it wraps the test weirdly under the number bullets)
- When I click the Numbered list icon, I want the default action to be <ol> without the inline style.
Screen shot showing exactly the problem.

- Labels:
-
Knowledge Management
- 1,968 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2019 10:15 AM
Is THAT what makes the text wrap under the number? This has also frustrated me because it makes the list more difficult to follow. Thanks for posting this, Let's hope there's a response that fixes it!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2019 02:43 PM
Hello Nikkit,
The short answer to your post is that the HTML encoding of what you are writing is done by the WizWig editor.
The workaround is to write your HTML code on another platform then copy paste the HTML code (be careful not to use code that will be scrubbed)
While I was looking at how to answer your post I also came across this post:
https://community.servicenow.com/community?id=community_question&sys_id=2fba436ddb5cdbc01dcaf3231f96...
It looks like there is a way you can replace the WizWig editor, I'm curious to try that on my personal dev but I have a feeling that it may be more complicated than it looks, my main concern is that it may try to encode using HTML codes that ServiceNow will then sanitize.
Hope this helps
Lorenzo

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2019 07:19 AM
- Item One
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Morbi quis commodo odio aenean sed adipiscing diam donec. Ultrices neque ornare aenean euismod elementum nisi quis.
- Item Three
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2021 03:53 PM
Did anyone ever resolve this issue?
We are new to ServiceNow and the "inside" list style that is added by the SN HTML editor is a big complaint for users and makes it harder to read.
This is not default HTML behavior. Seems like they should just use standard <ul> and <ol> tags without enforcing a style to all bulleted and numbered lists that doesn't align with standard HTML best practices.