How to change the default source code in the html boxes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
We would like to change the default source code in our html boxes from unordered lists and ordered lists having a style tag that sets the position to "inside".
This is the default now: <ul style="list-style-position: inside;"></ul> and <ol style="list-style-position: inside;"></ol> We are trying to get the html boxes to default to: <ol></ol> and would like to get rid of this extra style setting.
- Labels:
-
Request Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @Hollydayray ,
If you want to change it on field level
In the Default Value field, you can define custom HTML/CSS.
- Example: Set a clean
<ol>
or<ul>
without inline styles. - You can also define font size, line height, etc
if you want globally you need to modify the property
- Look for:
glide.ui.html.editor
Thank you,
Omkar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Omkar, you are right about the specific Default Value html field overriding the font, size, and color but for some reason the <ol> styling does not override what is set internally by ServiceNow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Can you please elaborate what the exact business requirement is.
Shashank Jain