Open tloureiro opened 2 years ago
It looks like the JSX version is using string
and the non-JSX version is using array
.
We should probably have them both set to string
. Interested in putting together a pull request?
Yes, here it is (sorry for the delay) https://github.com/WordPress/gutenberg-examples/pull/228
Why the type of content attribute of the 03-editable (and 03-editable-jsx) examples is array and not string? I know they work correctly but wouldn't string be a more appropriate type?
Thanks!