sohini2689 / gaewiki

Automatically exported from code.google.com/p/gaewiki
0 stars 0 forks source link

edit-without-preview? #83

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

Sometimes, a page can become uneditable/undeletable if it contains bad html, eg:

<iframe src='http://www.monkeycoder.co.nz'>

This is bad html as it needs a closing </iframe>, but if you accidentally do it 
(and there are probably other ways) the page ends up 'locked' because when you 
go to edit the page, the edit textarea ends up contained in the preview 
<iframe> so you can't use it.

So, would it be possible for you to add an 'edit-without-preview' feature to 
prevent this happening. 

Another idea might be to put the edit textarea *above* the preview?

I'm not actually a big fan of the preview anyway, it just means you have to 
scroll down heaps to get to the editing text area.

Bye,
Mark

Original issue reported on code.google.com by blitzmun...@gmail.com on 13 Jul 2012 at 3:26

GoogleCodeExporter commented 8 years ago
I've implemented this quite similar in my branch.
The preview is not shown per default except if you click the "Preview" button 
which makes sure that you cannot shoot yourself in the foot with corrupted HTML 
content.

https://code.google.com/r/decke-gaewiki/source/detail?r=17d56b398155b23da06c4a37
69aaa2913e4a9eb4

Original comment by de...@bluelife.at on 6 Jun 2013 at 12:11