<div dir="ltr">Hi David, <div><br></div><div>Take a look at <a href="http://www.avoid.org/codemirror-for-tinymce4/">http://www.avoid.org/codemirror-for-tinymce4/</a>, 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).</div>

<div><br></div><div>Just a thought,</div><div><br></div><div>Martin</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Martin Renvoize<div>Software Engineer, PTFS Europe Ltd</div>

<div>Content Management and Library Solutions</div><div>Skype: <img src="http://mystatus.skype.com/bigclassic/ashimema" width="96" height="23"></div><div>Landline: 0203 286 8685</div><div>Mobile: 07725985636</div><div><br>

</div><div><a href="http://www.ptfs-europe.com" target="_blank">http://www.ptfs-europe.com</a></div></div></div>
<br><br><div class="gmail_quote">On 20 January 2014 01:25, David Cook <span dir="ltr"><<a href="mailto:dcook@prosentient.com.au" target="_blank">dcook@prosentient.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Great idea, Eric!<br>
<br>
I've opened bug 11584 for the system preferences and bug 11583 for the<br>
notices/letters.<br>
<br>
At the moment, we're using TinyMCE in other parts of Koha, so I figure it's<br>
useful to provide a consistent HTML editor across the board.<br>
<br>
Martin, I do like the idea of syntax highlighting, indenting, and linting<br>
though!<br>
<br>
MJ: As far as I know, it shouldn't have any problem preserving any<br>
hand-coded HTML, but I'll keep that in mind. Perhaps I'll write some bad<br>
HTML and see what it does with that.<br>
<br>
I'm glad to hear positive support! I'll get working on this right away.<br>
<br>
-David<br>
<div class="im"><br>
<br>
-----Original Message-----<br>
Date: Fri, 17 Jan 2014 06:26:15 -0500<br>
From: Eric B?gin <eric.begin@inLibro.com><br>
To: Martin Renvoize <<a href="mailto:martin.renvoize@ptfs-europe.com">martin.renvoize@ptfs-europe.com</a>>,  Koha Devel<br>
        <<a href="mailto:koha-devel@lists.koha-community.org">koha-devel@lists.koha-community.org</a>><br>
Subject: Re: [Koha-devel] Adding Wysiwyg to (HTML) System Preferences<br>
Message-ID: <52D91357.1050301@inLibro.com><br>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"<br>
<br>
I'm thinking about this type of addition for a long time so I'm all for it !<br>
<br>
Couldn't we also use a WYSIWYG for editing notifications (when HTML is<br>
selected).<br>
<br>
Cheers,<br>
<br>
</div>Eric B?gin<br>
<div class="im">Solutions inLibro inc.<br>
<br>
On 2014-01-17 06:14, Martin Renvoize wrote:<br>
> I've been thinking of doing something like this for some time, so<br>
> would love to see it happen. (and I'm sure our customers would love it)<br>
><br>
> I was of two minds whether to implement TinyMCE as wysiwyg, or one of<br>
> the code editors out there to do syntax highlighting, indenting  and<br>
> linting for all code type blocks (css, html, yaml etc), but I think<br>
> for your average user the wysiwyg approach is the right one.<br>
><br>
> Would be happy to test a patch.<br>
><br>
> Martin<br>
><br>
> Martin Renvoize<br>
> Software Engineer, PTFS Europe Ltd<br>
> Content Management and Library Solutions<br>
> Skype:<br>
</div><div class="im">> Landline: <a href="tel:0203%20286%208685" value="+442032868685">0203 286 8685</a><br>
> Mobile: <a href="tel:07725985636" value="+447725985636">07725985636</a><br>
><br>
> <a href="http://www.ptfs-europe.com" target="_blank">http://www.ptfs-europe.com</a><br>
><br>
><br>
> On 17 January 2014 11:04, MJ Ray <<a href="mailto:mjr@phonecoop.coop">mjr@phonecoop.coop</a><br>
</div><div class="im">> <mailto:<a href="mailto:mjr@phonecoop.coop">mjr@phonecoop.coop</a>>> wrote:<br>
><br>
>     David Cook wrote:<br>
>     > What would folks think about adding the tinymce wysiwyg to some<br>
>     of the<br>
>     > system preferences that deal with HTML?<br>
><br>
>     I think it would probably be a useful feature to many libraries and<br>
>     tinymce seems like the best of the current rather weak bunch.<br>
><br>
>     A system preference to control it seems like a good thing.<br>
><br>
>     If you can make tinymce abort if it finds handcoded html that it can't<br>
>     preserve (I don't know if this is possible), then that would be great.<br>
><br>
>     Hope that helps,<br>
>     --<br>
>     MJ Ray (slef), member of <a href="http://www.software.coop" target="_blank">www.software.coop</a><br>
</div>>     <<a href="http://www.software.coop" target="_blank">http://www.software.coop</a>>, a for-more-than-profit co-op<br>
<div class="im">>     <a href="http://koha-community.org" target="_blank">http://koha-community.org</a> supporter, web and library systems<br>
>     developer.<br>
>     In My Opinion Only: see <a href="http://mjr.towers.org.uk/email.html" target="_blank">http://mjr.towers.org.uk/email.html</a><br>
>     Available for hire (including development) at<br>
>     <a href="http://www.software.coop/" target="_blank">http://www.software.coop/</a><br>
>     _______________________________________________<br>
>     Koha-devel mailing list<br>
>     <a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br>
</div>>     <mailto:<a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a>><br>
<div class="im">>     <a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
>     website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
>     git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
>     bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Koha-devel mailing list<br>
> <a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br>
> <a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
> website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
> git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
> bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br>
</div>******************************************<br>
<br>
<br>
</blockquote></div><br></div>