Ticket #59 (assigned enhancement)
Make Indent/Outdent buttons gray out when not applicable
Reported by: | rostr | Owned by: | mr_lundis |
---|---|---|---|
Priority: | minor | Milestone: | 2.0 |
Component: | ui | Version: | trunk |
Keywords: | Cc: |
Description
I have users that want to use the "indent" button to indent paragraphs (when it is obviously done with the css on the page.
Any chance we could gray out these buttons when they don't apply?
Change History
Note: See
TracTickets for help on using
tickets.
My quick fix:
Add the following to postInit:
And in $j(function() {}):
A better solution than show/hide would be to update the images, but it requires a little bit more work.
Could be implemented as a plugin, if you have some time.
Perhaps the SAPI (planned for 0.5) will help.