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

nikkit
Tera Contributor

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. 

  1. I click in the Article Body field, 
  2. Then, click the Numbered List icon on the text editor. 
  3. I type the list items. 
  4. 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)
  5. When I click the Numbered list icon, I want the default action to be <ol> without the inline style.
How in the heck do I change the default style for this button? Additionally, would I be able to change other defaults such as the default font face and size for all articles?   

Screen shot showing exactly the problem.

9 REPLIES 9

nikkit
Tera Contributor

I wish! I have not yet found a solution for this issue. I am still going through and manually fixing the broken HTML from the editor. It's been making me crazy for four years. We're upgrading to Quebec next week. I hope it's fixed there, but I'm not holding my breath. 

Ok, ours is fixed now. I got the information for your SN developer. 
This is what needs to be done in the background:

 

In the dictionary on the HTML field there's an attribute called align_listitems

Removing that removes the standard styling on lists.

Has to be completed for all the html fields. Just took a second from the list view.

Michael QCKM
Tera Guru

<sadface>

trout1974
Kilo Guru

Hi, 
I have dealt with this for years also. LOL
I have not figured out yet on the backside to make "outside" the default but the quickest way to fix it for me is to create my list, go into the source code and press Shift +Ctrl+R and type inside (it appears at the top left of the source code box) and then press Enter. It asks what you want to replace it with so type outside and press Enter. It will replace all the inside with outside. Click Save. 

It ain't perfect but it is faster than doing it all manually. I have a developer working on trying to find a fix for this, if he does I will let ya know. Hope this was helpful.

trout1974
Kilo Guru

Ok, ours is fixed now. I got the information for your SN developer. 
This is what needs to be done in the background:

 

In the dictionary on the HTML field there's an attribute called align_listitems

Removing that removes the standard styling on lists.

Has to be completed for all the html fields. Just took a second from the list view.