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

Question about feasibility to Integrate portable text #1

Open
robertocommit opened this issue Jan 11, 2023 · 1 comment
Open

Question about feasibility to Integrate portable text #1

robertocommit opened this issue Jan 11, 2023 · 1 comment

Comments

@robertocommit
Copy link

robertocommit commented Jan 11, 2023

Thanks for much for this.

I am wondering, do you think it would you possible to integrate a portable text editor?

(and eventually, all the custom types defined into a sanity schema)

@robertocommit robertocommit changed the title Integrate portable text example Question about feasibility to Integrate portable text Jan 11, 2023
@bacalj
Copy link
Owner

bacalj commented Jan 17, 2023

Hi - thanks, glad it's been useful. Well, I suppose you could? You would then have to manage the process of serializing and deserializing the portable text data, when rendering, editing, and saving, and, if you wanted to approximate the real-time aspects, you'd have to ...well you see where this is going, you'd be rebuilding a significant chunk of the Sanity studio!

In my mind, this was a proof-of-concept that I could see using for data that is saved as a single chunk, like a user-entered preference, or rating, or or maybe a simple bit of stringified JSON. That said, I know there is a lot that has been modularized out of Studio V3, so perhaps it would be easier now.

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

No branches or pull requests

2 participants