Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jhonattan-inner opened this issue Apr 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jhonattan-inner
Copy link

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 jhonattan-inner added the enhancement New feature or request label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant