Considering 4/28/2026 Stefano Bagnatica

1

Votes

Add PRE and BLOCKQUOTE in HTML editor

In HTML editor, it would be useful to have the ability to set paragraph as PRE or BLOCKQUOTE, in addition to H1 / H2 / H3.

PRE would be useful to insert entire blocks of source code, while the actual CODE button would be used for inline code.

A custom CSS could then be defined to have a view like this:

This is specially useful when composing reponses with GPT, that uses a lot of <pre> as blocks and <code> for inlines.

QUOTE would be useful for highlighting citations, for example:

avatar
Alex 4/28/2026 5:38 PM Tech
The "quote" is already there, under the lists dropdown. We'll think about multiline code tho
SB
Stefano Bagnatica 4/29/2026 3:18 AM
About the quote under the list dropdown, yes, but

1) it set the style attribute


2) it wrap the DIVs in outer blockquote tag

I'd like instead a pure
tag in order to style it like in the example
avatar
Alex 4/29/2026 4:34 PM Tech
We can't control how browsers implement "execCommant.indent" but we'll make this more polished
TH
Travis Howard 6/12/2026 4:50 PM
Would love to have a code block with monospaced font available as an option
avatar
Alex 6/13/2026 11:32 AM Tech
Code block already available, the square icon with [<>] symbols
TH
Travis Howard 6/15/2026 10:12 AM
I'm not saying I want to edit the HTML. That feature is useful but I'd like to be able to insert a block of text with a monospaced font for pasting things like code and log messages into a ticket reply. I don't want to have to manually edit HTML to do this. I am talking exactly about the block of text with monospaced font that is shown in the example picture that is attached to this ticket. How exactly that should be implemented... I don't think anyone cares, we just want that feature.
avatar
Alex 6/15/2026 4:42 PM Tech
No, not the "HTML code" button, there's another one - "Format as code"
TH
Travis Howard 6/15/2026 4:57 PM
I see. Thank you. Is it possible to get a box around these, like in the screenshot sent in the original request?
SB
Stefano Bagnatica 6/16/2026 3:17 AM
I'm currently using this custom CSS, that display
 code as block and  as inline (similar to typical GPT output).
As actually there is no button for
 tag, you can adapt it for displaing  as block, if you want.

.commentBody pre, #ticketBody pre, div.kbArticleBox pre, .richeditor pre {
border: 1px solid #ddd;
border-left: 3px solid rgb(247 144 30);
page-break-inside: avoid;
font-size: 14px;
line-height: 1.5;
max-width: 100%;
overflow: auto;
padding: 1em 1.5em;
display: block;
word-wrap: break-word;
}
.commentBody code, #ticketBody code, div.kbArticleBox code, .richeditor code {
border: 1px solid #ddd;
border-left: 3px solid rgb(247 144 30);
color: #666;
font-size: 14px;
line-height: 1.5;
max-width: 100%;
padding: 0.1em 0.5em;
}
.commentBody pre code, #ticketBody pre code, div.kbArticleBox pre code, .richeditor pre code {
border: none;
border-left: none;
padding: 0;
color: inherit;
font-size: inherit;

}
html.dark .commentBody code, html.dark #ticketBody code, html.dark div.kbArticleBox code, html.dark .richeditor code {
color: #ccc;
}

avatar
Alex 6/16/2026 8:04 AM Tech
We'll think about this. Currently - if you use Markdown for formatting, the code auto-formats nicely and even supports syntax highlighting. Example: https://support.jitbit.com/helpdesk/KB/View/67881882-supported-html-tags-in-the-knowledge-base-and-tickets

Log in to comment...