knowledge Article Template without spacing the paragraph in Html Editor

karishma shaik
Tera Contributor

Hi All ,

 

I have a requirement, about knowledge article template,I want to be able to publish articles without additional paragraphs with spaces so that our Knowledge Base is well formatted. an issue where additional paragraphs  <p>&nbsp;</p>  are being added to KBA as we save/publish them.

the content enter into few paragraph in article body Go to HTML editor and click at the end of a row's HTML code

Click Save and Save the article

Upon inspecting the code again via html editor you can see an extra line of code

 

karishmashaik_2-1695564220175.pngkarishmashaik_3-1695564334861.png

please help me on this

3 REPLIES 3

Manoj89
Giga Sage

Hi Shaik,

 

This is the known issue with TinyMCE that ServiceNow refuses to address

 

Check --> PRB1095336 & KB0677982 

 

What I usually do is instead of updating after writing and removing those extra tags (anyway they will get added) I just save it, most of the time it works but sometimes not.

__PRESENT

__PRESENT

__PRESENT

__PRESENT

__PRESENT

__PRESENT

Hi Manoj 

I was tried in personal Instance, It's working But in development it's not working 

karishmashaik_0-1695626078885.png

 

Anand Kumar P
Giga Patron
Giga Patron

Hi @karishma shaik ,

-->Access the HTML Editor: After entering the article editor, access the HTML editor mode. This mode enables direct editing of the HTML source code.

-->Identify and Delete Unwanted Paragraphs: Inside the HTML editor, search for any additional <p>&nbsp;</p> elements within the HTML source code. These elements are usually inserted as empty paragraphs.

-->Eliminate the Unwanted <p>&nbsp;</p> Elements: Delete or remove the undesired <p>&nbsp;</p> elements from the HTML source code.

Thanks,
Anand