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

Edit preview by drag #4

Open
Kitenite opened this issue Jul 20, 2023 · 5 comments
Open

Edit preview by drag #4

Kitenite opened this issue Jul 20, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@Kitenite
Copy link
Contributor

Hello,
It would be great if the styles can be edited by dragging and dropping. I might pick this up but just opening an issue for tracking :)

@kgoedecke
Copy link
Member

@Kitenite love this idea. I was wondering if we can maybe incorporate something like https://github.com/prevwong/craft.js or any other react based editor. Did you have any preference?

@Kitenite
Copy link
Contributor Author

That looks really good. I’ll try it out!

@Kitenite
Copy link
Contributor Author

Went down the rabbit hole and found Utopia which implements a lot of these desired functionalities. Super cool

@kgoedecke
Copy link
Member

@Kitenite that looks really cool. I'm wondering if we should keep it rather simple for now to have a scope that's achievable. By that I mean limiting the things you can modify to certain thingy like text size, color maybe margin and padding. I definitely think this is something achievable and would help a lot of people write code.

@Kitenite
Copy link
Contributor Author

Yes, I agree a small subset of those would be immensely useful. I'm trying to figure out now how to edit the content inside the iframe even with craft.js since the content is basically just a react string.

@kgoedecke kgoedecke added the enhancement New feature or request label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants