Closed Joshfindit closed 8 years ago
Disclaimer: I am not this project's dev.
Correct me if I'm wrong but are you talking about making kajero a backend service to which you send a json with the markdown you want rendered and receive the UI?
Disclaimer acknowledged.
Correction: I'm asking about making Kajero a browser-based api client that sends and receives the unrendered JSON
Ah ok I think I understand now. The existing code should be able to do what you ask by simply adding a upload from feature and save, where the API payload would be the markdown content stringified. As the dev of this project stated in other issues for now he won't accept pull requests until his thesis is done, afterwards this can be done relatively easily in my opinion.
You should be able to do that relatively easily, though you'd need decent knowledge of React, Redux and how Redux handled asynchronous actions.
I wouldn't accept a PR on it, though, as this sounds like a different aim to the one Kajero has, and a feature most users would not want. I'll be hanging out in our Gitter room if you'd like some guidance on making a fork - the issue tracker probably isn't the place for that.
Let's count out user permissions for a second, as I'm sure the standard practices are enough (stop me if I'm wrong).
Assuming a simple REST API that works with JSON objects with Markdown content areas, how difficult would it be to use Kajero to view the rendered content, edit in-browser, then submit the change to the API?
Please explain as though you're talking to someone with only rudimentary JS knowledge. :)
Love the design, and would like to use this for a personal project.