Formatting of the description in the 'Standard Ticket Header' widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2022 11:52 PM
Hello!
I have such a question. There is a widget "Standard ticket header" that populates the ticket short description, description and basic details. It has a "Show more/Show less" button that expands the "description" field.
As per checked in the widget script, it takes just the description value without any special formatting.
The question from the client was whether we can keep the formatting (spaces etc.) from the ticket description, but currently the description is inserted there without special formatting. Can you please advise if this is possible somehow to keep the formatting for this widget?
Looking forward to your reply 🙂
Best regards,
Oleg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 12:27 AM
HI @Oleg Grecic
Use <pre> tag to show the text.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 12:52 AM
Hello Newhand,
Thank you for your reply.
Can you please clarify where exactly should this tag be used and would it populate the description keeping the original formatting that it is in the ticket?
Looking forward to your reply.
Best regards,
Oleg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 05:45 AM
Hi
I have found the widgets( please see the pic~) , and you can try to modify it.
And this widget is read-only, you need to clone it first.