<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0mm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#44546A;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>Thanks for responding to this. Nice to know someone else cares about this sort of thing.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>Rob Watson made a mention in favour of Markdown on Slack a month ago, but it was ambiguous which part of “the system” he was talking about or who he thought would use it for what particular purpose.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>For “Edit this page” when the page is part of the handbook, then obviously it is already in HTML and no one is going to rewrite 900 pages or so into Markdown – which doesn’t do illustrations and photos very well if at all.<br><br>But the number of people who want to edit the handbook who don’t already know HTML seems to have been vanishingly small over the past few years.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>Reading between the lines, I think it may be that it is in Cave Descriptions and Cave Entrances that markdown would be useful. Though even here we would want to be able to add photos of entrances etc. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>This is where newish expoers are most likely to want to input new content. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>(And in logbook entries; though handwriting in ink is an established alternative.)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>We should perhaps look on the removal of TinyMCE as a temporary measure: while we are restructuring things and moving to python3, a later version of the OS on the server, and (perhaps) to a later version of django (if that is easy, otherwise not).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>We can always install another  javascript wysiwyg HTML editor at a later date. It doesn’t require much plumbing and is a fairly self-contained job.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>And we should document and promulgate the possibility of writing logbook entries directly into the website using “Edit This Page” during expo. (in :expoweb:/years/<2020>/logbook.html )<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>Philip<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Martin Green [mailto:martin.speleo@gmail.com] <br><b>Sent:</b> 12 June 2020 17:28<br><b>To:</b> Philip Sargent (Gmail)<br><b>Cc:</b> expo-tech@lists.wookware.org<br><b>Subject:</b> Re: [Expo-tech] Remove tinymce dependency - use plain text editing<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Has anyone checked how many people on expo get scared by html? It may be more than we would assume. Several people have complained about it over the years.<o:p></o:p></p><div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Is it that often that we search for changes to make it actually a<o:p></o:p></p></div><div><p class=MsoNormal>problem?<o:p></o:p></p></div><div><p class=MsoNormal>Cheers, Martin<o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Thu, 11 Jun 2020, 17:22 Philip Sargent (Gmail), <<a href="mailto:philip.sargent@gmail.com">philip.sargent@gmail.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0mm 0mm 0mm 6.0pt;margin-left:4.8pt;margin-right:0mm'><p class=MsoNormal>OK, <br>Wookey & I agree that the wysiwyg HTML editing is more trouble than it is<br>worth, so we propose to remove the TinyMCE javascript editor from troggle<br>when we move to python3.<br><br>This is only used in the "Edit this page" capability on HTML pages.<br>(The similar capability to edit .svx files online just uses JQuery and is<br>not a problem.)<br><br>The problem is that TinyMCE insists on reformatting all the HTML so that git<br>thinks the whole page has been changed when the person editing made only a<br>one-line change.<br><br>We can't find a setting, even in the most recent version of TinyMCE, that<br>stops this happening. There are settings to add to the default format:{}<br>setting but none to get rid of it completely that we can find.<br>If anyone can find this setting, please get in touch asap.<br><br>The only real use for it is editing tables, as in the who&when table or the<br>gear-tape table:<br><a href="http://expo.survex.com/handbook/geartape.html_edit" target="_blank">http://expo.survex.com/handbook/geartape.html_edit</a> <br><br>example of the svx editor which we propose to use instead:<br><a href="http://expo.survex.com/survexfile/caves-1623/107/alcovepop.svx" target="_blank">http://expo.survex.com/survexfile/caves-1623/107/alcovepop.svx</a><br><br>Philip<br><br>-----Original Message-----<br>From: Wookey [mailto:<a href="mailto:wookey@wookware.org" target="_blank">wookey@wookware.org</a>] <br>Sent: 11 June 2020 16:11<br>To: Philip Sargent (Gmail)<br>Subject: Re: edit this page - tinymce or plain text<br><br>On 2020-06-11 16:03 +0100, Philip Sargent (Gmail) wrote:<br>> Ideally we would want one that used language-servers to provide syntax <br>> colouring.<br>> <br>> The same tinymce editor is NOT used in the online svx editing, e.g.<br>> <a href="http://expo.survex.com/survexfile/caves-1623/264/amalgamation.svx" target="_blank">http://expo.survex.com/survexfile/caves-1623/264/amalgamation.svx</a><br>> which is just jQuery / form.<br>> <br>> So if we used that instead for the HTML pages, we would lose all the <br>> HTML-wysiwyg-ness, but at least it wouldn't reformat.<br>> probably a short-medium term solution ?<br><br>Fine by me. The wysiwyg-ness is useful for table-editing (e.g. on<br>who-and-when pages), (and not scaring away people who've never seen<br>HTML) but that's about it.<br><br>Wookey<br>--<br>Principal hats:  Linaro, Debian, Wookware, ARM <a href="http://wookware.org/" target="_blank">http://wookware.org/</a><br><br><br>_______________________________________________<br>Expo-tech mailing list<br><a href="mailto:Expo-tech@lists.wookware.org" target="_blank">Expo-tech@lists.wookware.org</a><br><a href="https://lists.wookware.org/cgi-bin/mailman/listinfo/expo-tech" target="_blank">https://lists.wookware.org/cgi-bin/mailman/listinfo/expo-tech</a><o:p></o:p></p></blockquote></div></div></body></html>