Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example for Inline-Editing with TinaCloud #78

Closed
Perni1984 opened this issue May 27, 2021 · 4 comments
Closed

Example for Inline-Editing with TinaCloud #78

Perni1984 opened this issue May 27, 2021 · 4 comments
Labels
question Further information is requested

Comments

@Perni1984
Copy link

Hello,

we are trying to setup inline-editing with TinaCloud and are a bit overwhelmed by the different docs and concepts that exist in the TinaCloud/TinaCMS space. My current understanding is that we need to "switch" to an inlineForm inside the https://tina.io/docs/tina-cloud/client/#formify callback and then also use https://tina.io/docs/tina-cloud/client/#field-customization to return inline-editing fields. Is that the correct approach?

Is there anywhere an example of how to setup TinaCloud including inline-forms?

Thanks in advance.

@Perni1984
Copy link
Author

cc @npeham

@DirtyF DirtyF added the question Further information is requested label May 27, 2021
@logan-anderson
Copy link
Contributor

logan-anderson commented May 28, 2021

Hello @Perni1984 and @npeham thanks for your interest in Tina Cloud! We are excited about the future of inline editing with Tina Cloud but unfortunately right now inline editing with Tina Cloud does not work. This article will explain more about the future of inline editing and how we are planning to switch to a ref based approach with inline editing. All our current inline editing are experimental and are likely to change when we support inline editing with Tina Cloud.

We apologize for the inconvenience.

Side Note:
You had the right idea but unfortunately the way we are generating the forms does not allow for inline editing. We are focused on sidebar editing with Tina Cloud.
I tried to implement inline editing and everything was working except for saving. This does not work and is not recommended but if you are curious the code is here. This is not how inline editing will be implemented in the future.

@Perni1984
Copy link
Author

@logan-anderson thanks for the info, makes perfect sense.

@DirtyF
Copy link
Contributor

DirtyF commented Jun 1, 2021

We didn't start an RFC for the next to come inline editing API, you can subscribe or submit one on https://github.com/tinacms/rfcs if you have ideas about how to elegantly solve the implementation and provide a single developer experience, whether it's to build forms for sidebar editing or inline editing 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants