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

David Cook dcook at prosentient.com.au
Mon Jan 20 23:40:52 CET 2014


Hi Martin:



That looks pretty cool!

 

I think we’re using TinyMCE 3.5.8 at the moment, so perhaps it would be useful for us to open another bug to look at moving all the TinyMCE instances up to 4.0.x. 

 

-David 

 

From: Martin Renvoize [mailto:martin.renvoize at ptfs-europe.com] 
Sent: Monday, 20 January 2014 7:27 PM
To: David Cook
Cc: Koha Devel
Subject: Re: [Koha-devel] Adding Wysiwyg to (HTML) System Preferences

 

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 <mailto: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 <mailto:martin.renvoize at ptfs-europe.com> >,  Koha Devel
        <koha-devel at lists.koha-community.org <mailto: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 <tel:0203%20286%208685> 
> Mobile: 07725985636 <tel:07725985636> 
>
> http://www.ptfs-europe.com
>
>
> On 17 January 2014 11:04, MJ Ray <mjr at phonecoop.coop <mailto:mjr at phonecoop.coop> 

> <mailto: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> 

>     <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> 

>     <mailto: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 <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/

******************************************



 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20140121/55a2b20e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 359 bytes
Desc: not available
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20140121/55a2b20e/attachment-0001.jpg>


More information about the Koha-devel mailing list