<div dir="auto">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.<div dir="auto"><div dir="auto"><br></div><div dir="auto">Is it that often that we search for changes to make it actually a</div><div dir="auto">problem?</div><div dir="auto">Cheers, Martin</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 11 Jun 2020, 17:22 Philip Sargent (Gmail), <<a href="mailto:philip.sargent@gmail.com">philip.sargent@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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" rel="noreferrer noreferrer" 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" rel="noreferrer noreferrer" 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" rel="noreferrer">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" rel="noreferrer noreferrer" 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/" rel="noreferrer noreferrer" 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" rel="noreferrer">Expo-tech@lists.wookware.org</a><br>
<a href="https://lists.wookware.org/cgi-bin/mailman/listinfo/expo-tech" rel="noreferrer noreferrer" target="_blank">https://lists.wookware.org/cgi-bin/mailman/listinfo/expo-tech</a><br>
</blockquote></div>