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

Adolfo Casari Jun 07, 2012

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
Matthew J. Horn Jun 07, 2012

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:

http://www.tinymce.com/

hth,

matt

0 votes
Matthew J. Horn Jun 07, 2012

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.

matt

Adolfo Casari Jun 07, 2012

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 in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

1,156 views 7 18
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you