[Koha-devel] Adding Wysiwyg to (HTML) System Preferences

Martin Renvoize martin.renvoize at ptfs-europe.com
Mon Jan 20 09:27:08 CET 2014


Hi David,

Take a look at http://www.avoid.org/codemirror-for-tinymce4/, it may be a
suitable way to implement TinyMCE whilst also allowing code editing with
all the goodness of codemirror.. (and hopefully the codemirror libraries
are already on their way into koha with Jesse's advanced cataloguing stuff).

Just a thought,

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 20 January 2014 01:25, David Cook <dcook at prosentient.com.au> wrote:

> Great idea, Eric!
>
> I've opened bug 11584 for the system preferences and bug 11583 for the
> notices/letters.
>
> At the moment, we're using TinyMCE in other parts of Koha, so I figure it's
> useful to provide a consistent HTML editor across the board.
>
> Martin, I do like the idea of syntax highlighting, indenting, and linting
> though!
>
> MJ: As far as I know, it shouldn't have any problem preserving any
> hand-coded HTML, but I'll keep that in mind. Perhaps I'll write some bad
> HTML and see what it does with that.
>
> I'm glad to hear positive support! I'll get working on this right away.
>
> -David
>
>
> -----Original Message-----
> Date: Fri, 17 Jan 2014 06:26:15 -0500
> From: Eric B?gin <eric.begin at inLibro.com>
> To: Martin Renvoize <martin.renvoize at ptfs-europe.com>,  Koha Devel
>         <koha-devel at lists.koha-community.org>
> Subject: Re: [Koha-devel] Adding Wysiwyg to (HTML) System Preferences
> Message-ID: <52D91357.1050301 at inLibro.com>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
> 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
> >
> > http://www.ptfs-europe.com
> >
> >
> > On 17 January 2014 11:04, MJ Ray <mjr at phonecoop.coop
> > <mailto:mjr at 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 at lists.koha-community.org
> >     <mailto:Koha-devel at 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 at 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/
> ******************************************
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20140120/89d4fad7/attachment.html>


More information about the Koha-devel mailing list