Inject string or onHtmlChangeSelection #407
larsmunkholm
started this conversation in
Ideas
Replies: 1 comment
-
|
This is something already requested in one of the feature requests. You can track progress here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
onChangeSelectionis nice, but I can't use the selection start/end to inject anything, since the numbers don't take html tags into account.So I can use
ref.current.getHtml()to get HTML, andref.current.setValue()to set it, but I need the correct selection start/end. OR a method for injecting a string into the current selection or cursor position.At least - that would be very useful :)
Beta Was this translation helpful? Give feedback.
All reactions