Fix for Bug 6884, Improve TinyMCE configuration on Koha News page
authorOwen Leonard <oleonard@myacpl.org>
Fri, 16 Sep 2011 14:27:24 +0000 (10:27 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 24 Sep 2011 07:45:47 +0000 (19:45 +1200)
commit3c0883fac72368814e527325fc4e42d59f1339fc
tree139181b9dcecee35e4fff436740f18266a845f0e
parent0920d96767f1e366670e87b5d4275c5473595d52
Fix for Bug 6884, Improve TinyMCE configuration on Koha News page

- Increases the width of the editor to fill the space provided
- Adjusts the layout of the toolbars to better fit the space
- Adds a custom editor stylesheet to make the contents of the
  editor better match the expected output

In changing the toolbar configuration I chose to make the display
of each button explicit rather than assuming a default set of
buttons and adding or subtracting from that. I think this is
clearer for someone approaching the configuration trying to under-
stand how buttons are displayed. I also chose to use the
shorthand "|" instead of "separator" for brevity. This last change
is the only one made to the edithelp configuration.

[2011.09.20] F. Demians. This patch is compatible with bug 6649 patch,
fixing help pages editing, and so could be applied before or after it.

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/css/tinymce.css [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/help/edithelp.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt