badcodeltd / safecms

A powerful content management system built on top of the SAFE Network
MIT License
14 stars 5 forks source link

Warning when trying to use HTML editor with Medium Editor enabled #21

Open JPL1 opened 6 years ago

JPL1 commented 6 years ago

I was confused for a while when my index.html posts were not uploading - the app just saves it and the page clears. Then I realised I had not disabled the Medium Editor. This is easily done and it would be great if there were a warning in place.

Edit: may have been my error in adding ".html" to the File URL when it is already added (so I was creating "index.html.html")

BadCodeShane commented 6 years ago

Are you using the latest version? It should show ".html" on the right of the Post URL input, but I'll make it throw an error if the post title contains ".html" anyway

BadCodeShane commented 6 years ago

This issue is fixed in the following commit:

https://github.com/badcodeltd/safecms/commit/fd06dbf787e193a8d2c7c235d08ad493f77125a5

This will be released in version 0.0.7