Open ankon opened 2 years ago
We have the need for this too! Thanks for this PR @ankon !
@dmonad any thoughts here?
Same here! Bump
Any update on this one?
Bumping this! @dmonad Any thoughts?
Purely for the record: I no longer work with prosemirror at all, so if you want to merge this -- please do! But if it needs fixes/adjustments, please also feel absolutely free to do them as I won't be able to.
This mapping is needed for invoking the position transformation functions, and therefore shouldn't be thrown away.
I added the parameter at the end and made it optional with a default matching the previous behavior, so I claim that this should be quite safe.
Possibly related: