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

paste formatted/unformatted text #770

Open
2 tasks
edenvidal opened this issue Apr 16, 2024 · 0 comments
Open
2 tasks

paste formatted/unformatted text #770

edenvidal opened this issue Apr 16, 2024 · 0 comments
Assignees

Comments

@edenvidal
Copy link
Member

edenvidal commented Apr 16, 2024

there are two types of text pasting

  • cmd+shift+v - unformatted text. if in text-mode (t), simply paste the text. if in selecting mode, the pasted text will be inside a <span> element. this should become a defacto for text. so when using the api with text addition involves, rnbw will know how to handle it.
  • cmd+v - formatted (can also hold unformatted) text - in this case, the pasted texx will organize itself. validated by the allowed elements 'formatting and text' elements (elements stated in rfrncs as such). for example - text from notion, coming as markdown.
@edenvidal edenvidal self-assigned this Apr 16, 2024
@edenvidal edenvidal changed the title Copy paste formatted/unformatted text paste formatted/unformatted text Apr 16, 2024
@vicki29 vicki29 assigned vicki29 and unassigned VictoriaShyika May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Next Up
Development

No branches or pull requests

5 participants