It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Customize or replace RTE for comments

I would like to customize (no Insert menu for instance) the RTE for fill comments. Is there a way to customize the actual RTE or replace it with the tinyRTE just for submitting comments?

Thank you.

2 answers

1 accepted

0 votes
Answer accepted

They are the same. They are both using the TinyMCE RTE. But the answers site must use some different styles (you can style them just like you'd style any other object with CSS) -- for example, to hide the paragraphy styling drop down and to add the different images.

If you go here, you can see lots of options for styling it:



Adolfo, if you figure this out, I'd love to hear about it. I've been wanting to do a similar thing but haven't had the time to investigate.

There's a couple moving parts here that are frustratingly unclear: you can get at the $rte object in the Comments Layout, which tells me you could try and replace it with your own or another one, but how to reference a custom object eludes me. Here's teh relevant line:

#macro (displayCommentForm $formname $actionParams $pageId $rte)

Also, you can edit the comments' VM directly, but again, it's not clear how you would pull in a thirdparty RTE.


I would like to use the RTE like this one on this site to submitt this comment, but in Confluence.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

172 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you