Use regular text editor instead of tiny MCE editor on knowledge article comments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 09:45 AM
The OOB Knowledge Article Comments widget uses a MCE editor for the user to fill in the text box on the portal. But it makes the comments on the platform side include html tags so if a user goes kinda crazy with the MCE editor it makes the comments hard to read. We manage all the feedback on the platform side because we actually hide the comments on the articles so people cant see them after they are published. We want to avoid an open conversation in the comments. Also our email server doesn't play well with html tags from external sources so the comments also look ugly in the notifications.
So my question is this, is there a way to use a regular text editor field for the text entry for the comments?
I've tried using a regular textarea field but it seems to break the submit button and nothing happens. I've also looked at using the old KB Article Comments widget but it doesn't want to cooperate on the kb_article_view page. I'd like to keep using that page since its the recommended page to use so I'm seeing if there are any other ideas.
I guess another potential solution would be using roles to limit who can view the published comments. Using the system settings to do role based things hides the whole widget. We want anyone to be able to comment, just not see the comments. Its just ideally, we try to manage all work on the platform instead of sending our techs to the portal. The portal is mainly seen as a customer view only
- Labels:
-
Knowledge Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 09:53 AM
Hi BehelC,
You can update the property glide.ui.html.editor from tinymce to normal htmlarea. Refer below screenshot
Also if you do not want any toolbar option to be visible you can hide it by updating the dictionary attributes. Refer below screenshot.
Regards,
Deepankar Mathur

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 09:54 AM
Link to docs for attributes details - https://docs.servicenow.com/bundle/sandiego-platform-administration/page/administer/form-administration/task/t_ConfigureTheTinyMCEHTMLToolbar.html
Regards,
Deepankar Mathur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 10:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 10:27 AM
well i pointed to the textarea tag, its the sp-tinymce-editor one thats being used. if you comment out the tinymce editor, it will display the text area content but the submit button stops working