h3rald / litestore

A lightweight, self-contained, RESTful, searchable, multi-format NoSQL document store.
https://h3rald.com/litestore
MIT License
215 stars 9 forks source link

Edit Content - nothing is shown #57

Closed PlkMarudny closed 3 years ago

PlkMarudny commented 3 years ago

Looks like 'Edit Content' does not really allows editing of a document, this is what is displayed on Chrome and Firefox: image

This is for a document I created, API returns the proper content. I created the document using a GUI, pasting the content JSON into the ACE editor.

h3rald commented 3 years ago

Gotta rewrite the app... it's using a really old version of Mithril. But I'll take a look and see if I can fix this regression first, thanks!

PlkMarudny commented 3 years ago

BTW initial documents can be edited. Anyway, this project is amazing.

Tomasz Plonka

On Sun, Nov 29, 2020 at 5:34 PM Fabio Cevasco notifications@github.com wrote:

Gotta rewrite the app... it's using a really old version of Mithril. But I'll take a look and see if I can fix this regression first, thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/h3rald/litestore/issues/57#issuecomment-735395299, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBI256ODPIQL47JCZIZFZDSSJEWFANCNFSM4UGOK7MA .

h3rald commented 3 years ago

Did some preliminary tests: looks like it's a problem with JSON files! If you try to create and edit a text/plain file it works fine. Will investigate...