Edgewall Software

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#10837 closed enhancement (fixed)

Optionally disable wiki toolbars

Reported by: Ethan Jucovy <ethan.jucovy@…> Owned by: Ethan Jucovy <ethan.jucovy@…>
Priority: normal Milestone: 1.0.2
Component: general Version:
Severity: minor Keywords: wikitoolbar
Cc: ryan.j.ollos@…, franz.mayer@… Branch:
Release Notes:
API Changes:

Add a setting for making it possible to disable the wiki toolbars ([trac] wiki_toolbars = false).

Internal Changes:


I'm setting up a Trac site that treats ticket descriptions, comments, etc as straight HTML instead of wiki text, and gives users a WYSIWYG editing environment with Javascript. For this scenario, the wiki toolbars from js/wikitoolbar.js don't really belong — they're redundant (there's another Javascript editing system in place) and also incorrectly assume I'm using the standard wiki formatting. However, there's no straightforward way to turn off these toolbars.

The attached patch provides a new setting to disable the wiki toolbars altogether, like the similar resizable_textareas setting.

Attachments (1)

wiki_toolbars.diff (1.0 KB ) - added by Ethan Jucovy <ethan.jucovy@…> 12 years ago.

Download all attachments as: .zip

Change History (6)

by Ethan Jucovy <ethan.jucovy@…>, 12 years ago

Attachment: wiki_toolbars.diff added

comment:1 by Ryan J Ollos <ryan.j.ollos@…>, 11 years ago

Cc: ryan.j.ollos@… added

It looks like the comment for the BoolOption in your patch is incorrect (likely a copy and paste error).

comment:2 by Christian Boos, 11 years ago

Keywords: wikitoolbar added
Milestone: 1.0.2
Owner: set to Christian Boos
Status: newassigned

comment:3 by Christian Boos, 11 years ago

API Changes: modified (diff)
Resolution: fixed
Severity: normalminor
Status: assignedclosed

Patch (corrected and) applied in r11760.

comment:4 by Christian Boos, 11 years ago

Owner: changed from Christian Boos to Ethan Jucovy <ethan.jucovy@…>

comment:5 by franz.mayer@…, 11 years ago

Cc: franz.mayer@… added

Ethan, what's that WYSIWYG editing environment? Does any plugin exist and does it working well? Thanks.

We are currently using the CkEditorPlugin and there we had the same problem with the wiki toolbar.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ethan Jucovy <ethan.jucovy@…>.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ethan Jucovy <ethan.jucovy@…> to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.