Edgewall Software
Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 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@…
Release Notes:
API Changes:

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

Description

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@…> 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Ethan Jucovy <ethan.jucovy@…>

Attachment: wiki_toolbars.diff added

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

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 Changed 6 years ago by Christian Boos

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

comment:3 Changed 6 years ago by Christian Boos

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

Patch (corrected and) applied in r11760.

comment:4 Changed 6 years ago by Christian Boos

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

comment:5 Changed 6 years ago by franz.mayer@…

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
Action
as closed The owner will remain Ethan Jucovy <ethan.jucovy@…>.
The resolution will be deleted.
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.