TypeCellOS / TypeCellOS/BlockNote
Copy paste in Quote block
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10.2k
- Forks
- 772
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 17
Description
Bug Report
Problematic behavior
I wanted to create a quote block from a text I'm copy/pasting.
I tried 2 ways to do it before I found the third way that works...
This caveat applies to all types of blocks.
Expected behavior/code
I feel the 2 stories detailed below should work, especially the first one.
Steps to Reproduce
First story:
- write a paragraph in any text editor on your computer. Copy the text to your pastbin.
- go to Docs and create a new document
- Do "/" and choose the "Quote" block You now have your cursor at the beginning of a quote block
- Paste the content of your pastebin
- The quote block is gone
Second story:
- go to Docs and create a new document
- write a paragraph
- Bring your cursor to the beginning of the block which now contains your paragraph.
- Do "/" and choose the "Quote" block
- A quote block is created below your paragrah but your paragraph is still a standard block
The third story that already works:
- go to Docs and create a new document
- write a paragraph
- select the paragraph
- the format toolbar appears, choose "quote" in the select box with all formats
Misc
- Node version:
- Package manager:
- Browser:
- I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the three Quote-block workflows in the Docs editor: paste into a newly inserted Quote block, use the slash command at the start of an existing paragraph, and use the format toolbar. Compare the resulting block structure and behavior; done means the first two workflows preserve or convert the paragraph as expected without removing the Quote block.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100