knowledge Article Template without spacing the paragraph in Html Editor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 07:06 AM
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> </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
please help me on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 08:45 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 12:14 AM
Hi Manoj
I was tried in personal Instance, It's working But in development it's not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2023 10:36 AM - edited 09-24-2023 10:37 AM
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> </p> elements within the HTML source code. These elements are usually inserted as empty paragraphs.
-->Eliminate the Unwanted <p> </p> Elements: Delete or remove the undesired <p> </p> elements from the HTML source code.
Thanks,
Anand