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 Nighswonger <chris.nighswonger@gmail.com>
Sat, 8 Oct 2011 16:48:49 +0000 (12:48 -0400)
commit0e1283413acf5de9d2844083e8e0e73b3398e939
treef400595bb0e169d4977f1be703b986ee53f91f3d
parent2afee7b84a2d23f461dad1e39a6e97f25a90e3ed
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>
(cherry picked from commit 3c0883fac72368814e527325fc4e42d59f1339fc)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
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