BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

How can I preserve the text appearance when I replace the selected text using HTML or Markdown?

Open jhonattan-inner opened this issue 1 year ago • 0 comments

How can I preserve the text appearance when I replace the selected text using HTML or Markdown doing a merge?

I tried three different approaches, but I could not preserve the same selected structure.

Flow the link with the example: https://codesandbox.io/p/devbox/kind-oskar-yn7c4y?file=%2Fapp%2FEditor.tsx&embed=1

Will be good if has a way to change the selected text between different blocks doing a merge with these blocks and the new content, by Markdown or HTML.

image

image

jhonattan-inner avatar Apr 11 '24 10:04 jhonattan-inner