Wiki not doing anything when save edit clicked

For a wiki post I started, I added lots of raw HTML tables and links to png images. They look pretty good in the preview. Upon clicking Save Edit nothing happens. No save, no error message. Screen is the same as if I had not pressed Save Edit.

Same when pressing Ctrl-Enter.

Had to save text to local machine and abandon edit.

After save re-edited Wiki, pasted in saved text and then clicking Save Edit worked as expected.

Example of pasted HTML


<table>
	<tr>
		<td style="text-align:left;vertical-align:top">a = a</td>
		<td style="text-align:left;vertical-align:top">π = π</td>
		<td style="text-align:left;vertical-align:top">☃ = ☃</td>
	</tr>
	<tr>
		<td style="text-align:left;vertical-align:top">
			Unify: <font color="green">true</font><br />
			MGU: {}
		</td>
		<td style="text-align:left;vertical-align:top">
			Unify: <font color="green">true</font><br />
			MGU: {}
		</td>
		<td style="text-align:left;vertical-align:top">
			Unify: <font color="green">true</font><br />
			MGU: {}
		</td>
	</tr>
	<tr>
		<td style="text-align:left;vertical-align:top">
			SWI-Prolog:<br />
			?- =(a,a).<br />
			true.
		</td>
		<td style="text-align:left;vertical-align:top">
			SWI-Prolog:<br />
			?- =(π,π).<br />
			true.
		</td>
		<td style="text-align:left;vertical-align:top">
			SWI-Prolog:<br />
			?- =(☃,☃).<br />
			true.
		</td>
	</tr>
</table>

![image|179x59](upload://aflxfL5MciVnWeRccFqv5Vyj2DY.png)  
![image|179x59](upload://7im8QmYe2pSIF0camTQ7l4YW7QZ.png)  
![image|179x59](upload://rO62CQBsJDJuPb05AT9FMtHNaWy.png)  

What preview shows.

image

The pattern repeats 16 times, just the values for the data and images change.

Is there any reason you aren’t using markdown tables?

1 Like

Yes.

I started with markdown tables and they looked horrible. Give it a try and if you can do it looking as good as the example posted I will take a serious look at them again. I am no markdown expert, but also not a beginner.

Also the images are not in the way I would like them. They are also suppose to be a row in the table and line up under the corresponding query, but I haven’t figured out how to do images in a table in a way that discourse likes.

What do you see in your browser console after clicking safe edit? Any JS errors?

3 Likes

Sorry for the delayed reply. I wasn’t expecting another response and don’t regularly visit this forum

Currently can’t reproduce the error. Will try to remember this next time and respond back.

I only did the raw HTML tables once in discourse and don’t see a need for it again anytime soon. May be a long, long time, if ever that I need to do tables in discourse again.

Here is the actual page with the HTML. It is a Wiki so you can look at it you need.

3 Likes