TypeCellOS / TypeCellOS/BlockNote

Copy paste in Quote block

Open
#2,236 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug:P2 sponsor
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:

  1. write a paragraph in any text editor on your computer. Copy the text to your pastbin.
  2. go to Docs and create a new document
  3. Do "/" and choose the "Quote" block You now have your cursor at the beginning of a quote block
  4. Paste the content of your pastebin
  5. The quote block is gone

Second story:

  1. go to Docs and create a new document
  2. write a paragraph
  3. Bring your cursor to the beginning of the block which now contains your paragraph.
  4. Do "/" and choose the "Quote" block
  5. A quote block is created below your paragrah but your paragraph is still a standard block

The third story that already works:

  1. go to Docs and create a new document
  2. write a paragraph
  3. select the paragraph
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.