Adding Wysiwyg to (HTML) System Preferences
What would folks think about adding the tinymce wysiwyg to some of the system preferences that deal with HTML? At Prosentient, we've added the "htmlarea" option for local system preferences, and now we're thinking about expanding to include some of the standard system preferences (such as OpacNav, OpacHeader, OpacMainBlock, etc). Many users probably don't know HTML, so it might be useful if they could use a wysiwyg to generate or modify content for these system preferences. That said, maybe not everyone wants to use a wysiwyg. Personally, I rather write HTML by hand. I don't like using wysiwyg editors. Tinymce does have an option where you can hand-edit the HTML source, so that solves that problem, but maybe there should be a system preference that controls whether certain system preferences have the wysiwyg appear or not. Maybe a list style syspref (e.g. OpacNav|OpacHeader) or just a general Yes/No. I would be willing to write the patch, but I want to figure out if there is any interest first. Cheers, David P.S. It's worth mentioning that the "type" stored in the database appears to have *zero* impact on a non-local system preference, and that the ".pref" files are used as the source of truth.
David Cook wrote:
What would folks think about adding the tinymce wysiwyg to some of the system preferences that deal with HTML?
I think it would probably be a useful feature to many libraries and tinymce seems like the best of the current rather weak bunch. A system preference to control it seems like a good thing. If you can make tinymce abort if it finds handcoded html that it can't preserve (I don't know if this is possible), then that would be great. Hope that helps, -- MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op http://koha-community.org supporter, web and library systems developer. In My Opinion Only: see http://mjr.towers.org.uk/email.html Available for hire (including development) at http://www.software.coop/
I've been thinking of doing something like this for some time, so would love to see it happen. (and I'm sure our customers would love it) I was of two minds whether to implement TinyMCE as wysiwyg, or one of the code editors out there to do syntax highlighting, indenting and linting for all code type blocks (css, html, yaml etc), but I think for your average user the wysiwyg approach is the right one. Would be happy to test a patch. Martin Martin Renvoize Software Engineer, PTFS Europe Ltd Content Management and Library Solutions Skype: Landline: 0203 286 8685 Mobile: 07725985636 http://www.ptfs-europe.com On 17 January 2014 11:04, MJ Ray <mjr@phonecoop.coop> wrote:
David Cook wrote:
What would folks think about adding the tinymce wysiwyg to some of the system preferences that deal with HTML?
I think it would probably be a useful feature to many libraries and tinymce seems like the best of the current rather weak bunch.
A system preference to control it seems like a good thing.
If you can make tinymce abort if it finds handcoded html that it can't preserve (I don't know if this is possible), then that would be great.
Hope that helps, -- MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op http://koha-community.org supporter, web and library systems developer. In My Opinion Only: see http://mjr.towers.org.uk/email.html Available for hire (including development) at http://www.software.coop/ _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
I'm thinking about this type of addition for a long time so I'm all for it ! Couldn't we also use a WYSIWYG for editing notifications (when HTML is selected). Cheers, Eric Bégin Solutions inLibro inc. On 2014-01-17 06:14, Martin Renvoize wrote:
I've been thinking of doing something like this for some time, so would love to see it happen. (and I'm sure our customers would love it)
I was of two minds whether to implement TinyMCE as wysiwyg, or one of the code editors out there to do syntax highlighting, indenting and linting for all code type blocks (css, html, yaml etc), but I think for your average user the wysiwyg approach is the right one.
Would be happy to test a patch.
Martin
Martin Renvoize Software Engineer, PTFS Europe Ltd Content Management and Library Solutions Skype: Landline: 0203 286 8685 Mobile: 07725985636
On 17 January 2014 11:04, MJ Ray <mjr@phonecoop.coop <mailto:mjr@phonecoop.coop>> wrote:
David Cook wrote: > What would folks think about adding the tinymce wysiwyg to some of the > system preferences that deal with HTML?
I think it would probably be a useful feature to many libraries and tinymce seems like the best of the current rather weak bunch.
A system preference to control it seems like a good thing.
If you can make tinymce abort if it finds handcoded html that it can't preserve (I don't know if this is possible), then that would be great.
Hope that helps, -- MJ Ray (slef), member of www.software.coop <http://www.software.coop>, a for-more-than-profit co-op http://koha-community.org supporter, web and library systems developer. In My Opinion Only: see http://mjr.towers.org.uk/email.html Available for hire (including development) at http://www.software.coop/ _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
+1 for notifications when html is selected Sophie -- Responsable support BibLibre + 33 (0)4 91 81 35 08 http://www.biblibre.com Le 17/01/2014 12:26, Eric Bégin a écrit :
I'm thinking about this type of addition for a long time so I'm all for it !
Couldn't we also use a WYSIWYG for editing notifications (when HTML is selected).
Cheers,
Eric Bégin Solutions inLibro inc.
On 2014-01-17 06:14, Martin Renvoize wrote:
I've been thinking of doing something like this for some time, so would love to see it happen. (and I'm sure our customers would love it)
I was of two minds whether to implement TinyMCE as wysiwyg, or one of the code editors out there to do syntax highlighting, indenting and linting for all code type blocks (css, html, yaml etc), but I think for your average user the wysiwyg approach is the right one.
Would be happy to test a patch.
Martin
Martin Renvoize Software Engineer, PTFS Europe Ltd Content Management and Library Solutions Skype: Landline: 0203 286 8685 Mobile: 07725985636
On 17 January 2014 11:04, MJ Ray <mjr@phonecoop.coop <mailto:mjr@phonecoop.coop>> wrote:
David Cook wrote: > What would folks think about adding the tinymce wysiwyg to some of the > system preferences that deal with HTML?
I think it would probably be a useful feature to many libraries and tinymce seems like the best of the current rather weak bunch.
A system preference to control it seems like a good thing.
If you can make tinymce abort if it finds handcoded html that it can't preserve (I don't know if this is possible), then that would be great.
Hope that helps, -- MJ Ray (slef), member of www.software.coop <http://www.software.coop>, a for-more-than-profit co-op http://koha-community.org supporter, web and library systems developer. In My Opinion Only: see http://mjr.towers.org.uk/email.html Available for hire (including development) at http://www.software.coop/ _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website :http://www.koha-community.org/ git :http://git.koha-community.org/ bugs :http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
I´d love the possibility to enable an WYSIWYG editor for (all) parts of Koha that outputs HTML. And stopping it from stripping hand-coded HTML that someone put there earlier would be great. (On a side note: is TinyCMS still alive/possible to resurrect? WYSIWYG editing of extra pages created when using the Opac as a CMS would be great too.) Kind regards /Viktor Sarge Viktor Sarge Senior Regional Library Development Officer Region Halland TFN: +46(0)35-17 98 73 EMAIL: Viktor.Sarge@regionhalland.se<mailto:Viktor.Sarge@regionhalland.se> WEB: www.regionhalland.se/regionbibliotek<http://www.regionhalland.se/regionbibliotek> 17 jan 2014 kl. 03:29 skrev David Cook <dcook@prosentient.com.au<mailto:dcook@prosentient.com.au>>: What would folks think about adding the tinymce wysiwyg to some of the system preferences that deal with HTML? At Prosentient, we’ve added the “htmlarea” option for local system preferences, and now we’re thinking about expanding to include some of the standard system preferences (such as OpacNav, OpacHeader, OpacMainBlock, etc). Many users probably don’t know HTML, so it might be useful if they could use a wysiwyg to generate or modify content for these system preferences. That said, maybe not everyone wants to use a wysiwyg. Personally, I rather write HTML by hand. I don’t like using wysiwyg editors. Tinymce does have an option where you can hand-edit the HTML source, so that solves that problem, but maybe there should be a system preference that controls whether certain system preferences have the wysiwyg appear or not. Maybe a list style syspref (e.g. OpacNav|OpacHeader) or just a general Yes/No. I would be willing to write the patch, but I want to figure out if there is any interest first. Cheers, David P.S. It’s worth mentioning that the “type” stored in the database appears to have *zero* impact on a non-local system preference, and that the “.pref” files are used as the source of truth. _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org<mailto:Koha-devel@lists.koha-community.org> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
participants (6)
-
David Cook -
Eric Bégin -
Martin Renvoize -
MJ Ray -
Sophie Meynieux -
Viktor.Sarge@regionhalland.se