Comments/Ratings for a Single Item
It has nothing to do with the CkEditor. When I switch JavaScript off, so that this editor cannot be invoked, the text also disappears on submission if there isn't a closing </p> tag.
I made a quick test submission and can confirm that text outside of paragraph tags disappears somewhere between the submission and the database. What changes happened with the addition of markdown as an option for MS pages, and to what extent does CKEditor interfere with the HTML option?
You can recover from this entry on archive.org, there wasn't much ...
But what was there was quite essential. Thanks!
I repaired it now, again with some difficulty. There seems to be something terribly wrong with the submission form: it appears to be able to just delete entire sections without warning. We should figure out why that happens.
All I initially did was paste the Diagram I had made in the comment into the Setup textentry of the submission form. This was empty before; the article only consisted of Introduction and Rules. When I then pressed 'Send', the Introduction section was entirely gone (including the header), and the Rules section had only retained its first sentence.
By using the 'back' button of the browser I could back up the the submission form as it looked before I pressed 'send'. As I assumed that I must have accidentally hit some key that led to deletion of the content of the text entries, I thought that resubmitting it while making sure all text was there would solve it, but as a safety measure I copied the text in the Introduction entry to the clipboard. Again the same thing happened: the Introduction section just disappeared.
I noticed that the text in the Introduction text entry was just plain text without any line breaks. So I added <p></p> tags around it after pasting it again from the clipboard, and then it remained. But I had not saved the remainder of the Rules section anywhere.
When I pasted the missing text at the bottom of the Rules text entry in the submission form, it again consistently disappeared on saving the submission. The only content remaining in that section was the first sentence, followed by a line with a <p> tag. Only when I pasted the missing text under that, and added a closing </p> tag behind it, the text remained on submission.
So it seems that text not in HTML tags, or in unbalanced tags, gets deleted on submission. It is risky to assume that none of the articles that I am editing will not contain any such text, and if they do these would be severly dameged on editing; probably withoout noticing it.
Is it possible to check an earlier version to see what else was destroyed?
Yes, we save all revisions to member-submitted pages. Go toward the bottom of the page where it tells who last revised the page, and click on the word revised, or go to the Edit menu and select the menu item for the revisions.
You can recover from this entry on archive.org, there wasn't much ...
Help!
I was editing this article, to put an Interactive Diagram in the formerly empty Setup section, and when I saved it all other sections had disappeared. Fortunately I did still have the Introduction on the clipboard, but attempts to paste it back kept failing. I could paste it in the Setup section, and then it showed up. When I finally posted it in the Introduction surrounded by <p></p> tags it did get included in the page after saving.
Is it possible to check an earlier version to see what else was destroyed?
8 comments displayed
Permalink to the exact comments currently displayed.
That should be fixed now. When I switched member submissions and revisions to using Format, I neglected to modify database-funcs.php to recognize Format as a column in the MemberSubmissions and Revisions tables. I have now corrected this omission. So, what was going on was a database security precaution that hadn't been updated with new information about changes to the database.