[Koha-bugs] [Bug 11584] Add wysiwyg editor to system preferences dealing with HTML

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 14 09:16:40 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11584

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40959|0                           |1
        is obsolete|                            |

--- Comment #11 from David Cook <dcook at prosentient.com.au> ---
Created attachment 40980
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40980&action=edit
Bug 11584 - Add wysiwyg editor to system preferences dealing with HTML

This patch adds the ability to use a WYSIWYG editor for system preferences.

The key files that I touch are:

1) admin/systempreferences.pl
2) koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt
3) koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt

I also add:

4) koha-tmpl/intranet-tmpl/prog/en/includes/wysiwyg-systempreferences.inc

and

5) koha-tmpl/intranet-tmpl/lib/tiny_mce/plugins/advimage

This plugin is part of the TinyMCE distribution. It used to be in Koha, but
then someone removed it. It's useful for preferences like "opacheader" though.

*If you're using anything except IE, this should work super well. If
you're using IE, it'll probably only work for keyboard input and dragging
text within the editor box but not from outside of it. IE has worse
security, so you can probably paste using the context menu paste.

*While I think a WYSIWYG editor can be useful, there might be times
where the content is displayed differently than it is in the editor
because of higher level CSS and Javascript.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list