Comments (6)
@hdaggett @prevwong I am intrigued by this library. A hierarchical output of the state would be really nice. I think it can be done in consumer libraries/apps, but I also think that for generating the UI from the state, the nested JSON would be a preferable format than a flat object.
I would love to try it out and use this library for a form builder component for dynamic form library we are developing using in our projects. So I am more than willing to create a PR with this feature if you haven't started working on it yet.
from craft.js.
Thank you for the suggestion. I like the idea of having the cleaner serialised output, will look into it for sure!
Unfortunately, we currently do not support custom serialisers. If you'd like, could you file a new feature request for it ?
from craft.js.
@hdaggett @Hyperkid123 PR is much needed herein
from craft.js.
Unfortunately, enlightenment has no virtue here...
from craft.js.
@Hyperkid123 Yes, please create a PR if @prevwong isn't already on it! A cleaner, hierarchical JSON format would make this much more powerful.
from craft.js.
@Hyperkid123 Sure, go ahead! 👌🏽
from craft.js.
Related Issues (20)
- Make all child editable HOT 1
- Not working in production HOT 2
- How to delete a linked node? HOT 3
- How to make connections two components HOT 3
- Update a Node's prop without polluting editor state history HOT 1
- How to add a custom component to the bottom of the page by clicking on the left side HOT 2
- https://dynamics.sorce.interno/datagrid/forms_dynamic
- Multiple frames inside of an editor HOT 1
- User Component name doesn't change when specified in config HOT 1
- Nested elements are created as Linked Nodes instead of child nodes HOT 1
- How do I drag my saved serialized json into the editor? HOT 4
- The rollup packaging of the Craft.js project was successful, but when used, it reported an error "Buffer is not defined."
- Cancel drop HOT 2
- How do i get my html markup HOT 2
- Craft.js with React version 17 or 18 HOT 1
- Customizeable drag and drop
- Rollup cache is published to NPM
- Avoid animation of the element snapping back to its origin position when element is dropped. HOT 1
- Something like maxlength or max content restrictions
- Rendering a Navbar with dynamic menu items (e.g. Home, Blog) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from craft.js.