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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

67 views 0 4
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