tinymce-react icon indicating copy to clipboard operation
tinymce-react copied to clipboard

Cursor jumps to the start when I start typing

Open arthurvanl opened this issue 1 year ago • 2 comments

What is the current behavior? Cursor jumps to the start of the content I am using 5.0.1

Video:

https://cdn.discordapp.com/attachments/1233030809267474556/1243188454016422039/2024-05-23_15-06-13.mp4?ex=665090f8&is=664f3f78&hm=a35e5db9e2883f756c1b7c87b6c27fedcdcbba32ad4b8fc6615bea5a7ea1f22c&

arthurvanl avatar May 23 '24 13:05 arthurvanl

Unfortunately we can't access your discord link.

Could you please provide a codesandbox (or something similar) which replicates your issue. You can fork our code sandbox if you'd like. Then we're happy to help you further.

danoaky-tiny avatar May 26 '24 23:05 danoaky-tiny

@arthurvanl I had a similar issue while I was passing the controlled value into initialValue prop. When I switched to use the value prop instead it got fixed. Also you can wrap your initial-value with useMemo then the initial-value passed will actually be static.

u-rogel avatar Jun 06 '24 11:06 u-rogel

This issue is stale because it has been open 30 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 7 days.

tiny-stale-bot avatar Jul 07 '24 00:07 tiny-stale-bot

This issue was closed because it has been stalled for 7 days with no activity.

tiny-stale-bot avatar Jul 14 '24 00:07 tiny-stale-bot