Check out Atomic Chess, our featured variant for November, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

How to Design and Post Your Own Game. A reference for those who want to post their own games here.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Sun, Nov 27, 2022 09:22 PM UTC:

I modified the scripts for submitting or editing member-submitted pages to use the format attribute instead of the useshtml attribute. While the latter was binary, the former has four values. The format may now be set to HTML, Markdown, Text, or WYSIWYG. HTML and WYSIWYG both get saved to the database as HTML, though they differ in which mode CkEditor is used with them. Markdown and Text are both saved as plain text in the database, and neither uses CkEditor. They differ in how they are displayed. Markdown is a simpler markup language than HTML, and it gets converted to HTML before being displayed. Text just gets surrounded by PRE tags with no additional conversion.

So far, I have added Format to the database without removing UsesHTML. I will remove it later. In the meantime, please check how well the scripts are working and leave any comments on them here.