Opened 7 years ago

Closed 6 years ago

# Only show Wysiwyg editor for wiki pages

Reported by: Owned by: dreas@… Jun Omae low TracWysiwygPlugin minor Ryan J Ollos 0.12

### Description

We would prefer to only see the Wysiwyg editor when editing wiki pages. Ideally it does not show for Trac tickets. Could that be included as an optional feature?

### comment:1 Changed 6 years ago by Ryan J Ollos

Cc: Ryan J Ollos added; anonymous removed

### comment:2 Changed 6 years ago by Jun Omae

Resolution: → fixed new → closed

(In [11158]) fixed #8771, Adds [tracwysiwyg] templates option. It's able to show WYSIWYG editors for pages that the user wants.

### comment:3 Changed 6 years ago by Jun Omae

Type: defect → enhancement

If you want show the WYSIWYG editor for wiki pages;

[tracwysiwyg]
templates = wiki_*.html


If you don't want show for ticket pages;

[tracwysiwyg]
templates = !ticket*.html,*.html


### comment:4 Changed 6 years ago by Ryan J Ollos

I noticed you don't maintain a description of the configuration options on the project wiki page, which I think is a good idea because they can become out of sync so easily with the source code and can differ depending on the Trac release. However, I added a note about how to find the configuration options because I've seen the question raised fairly regularly for various plugins. I just wanted to mention this since I made an edit to your project wiki page and I think it is always a good idea to keep the author in the loop of any changes that are made.

### Modify Ticket

Change Properties