-
Notifications
You must be signed in to change notification settings - Fork 382
Labels
BugSomething isn't workingSomething isn't working
Description
Bug Description
As reported in #3259:
See #3259 (comment) for where this might be happening.
Expected Behaviour
Pasting arbitrary text should create a new text block with correct height
Steps to reproduce
- Copy text from somewhere
- Click on story page
- Paste via keyboard
- Notice how newly added text block does not update its height
Screenshots
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- Pasting arbitrary text should create a new text block with correct height
Implementation brief
- Update
maybeUpdateBlockDimensionsso it correctly handles pasted blocks
QA testing instructions
- Copy text from somewhere
- Click on story page
- Paste via keyboard ( CTRL + V)
- Verify height of text block is the height of the text.
Demo
Changelog entry
- Improve calculating block dimensions when pasting text
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working
