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
Accepted answer

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

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

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
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

76 views 3 3
Join discussion

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