Prev Wong

Results 28 comments of Prev Wong

@prateekrastogi The links you've shared are discussing the html `` . Care to elaborate how that relates to this ? I've not yet investigated this bug in details, but it's...

@ackvf Craft.js does not introduce additional markup/attributes (only the `draggable` attribute is added to the elements with the `drag` connector). You can still pass the `json` prop to preview the...

Hi @skychavda This is an expected behaviour. The `` is intended to define a Node for a given React Element. From that point on, the React Element is governed by...

Given this component: ```jsx const Button = () => { return ( ) ) ``` You cannot manually change the props via React: ```jsx const Button = ({textValue}) => {...

This is an expected behaviour for now. When you render a User Component (ie: ``), the props of that component is managed by its corresponding Node. So here's a simpler...

@monkeywithacupcake Thank you for the PR, sorry for getting back on this late! 😄

Weird, would it be possible for you to create a codesandbox reproducing the behaviour?

Unfortunately, this is currently out of our scope. For now, you can only serialize the editor state into JSON, and pass the JSON to the editor to reload the state....

@janus-reith The `slate` code is located [here](https://github.com/prevwong/craft.js/tree/next/packages/slate), and you can use it by installing one of the `v.0.2.0-alpha.x` versions of the `@craftjs/core` and `@craftjs/slate` packages on NPM. A word of...