onClick in rendered component not working #5790
Unanswered
mikeycoxon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can anyone see what's wrong with this render?
Its based on the example here:
https://github.com/ianstormtaylor/slate/blob/main/site/examples/ts/images.tsx
Basically, when you click on the button nothing happens - I never see the 'hit me' message.
The image is in slate JSON just before the render:
I haven't stopped event propagation or anything. Just that there's seemingly no click event.
Is there some crucial step that I've missed? Some piece of enablement, not made clear in the images.tsx example?
Beta Was this translation helpful? Give feedback.
All reactions