-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Copy / Paste error core/paragraph using InnerBlocks #12774
Copy link
Copy link
Closed
Labels
Needs TestingNeeds further testing to be confirmed.Needs further testing to be confirmed.[Block] ParagraphAffects the Paragraph BlockAffects the Paragraph Block[Feature] Nested / Inner BlocksAnything related to the experience of nested/inner blocks inside a larger container, like Group or PAnything related to the experience of nested/inner blocks inside a larger container, like Group or P
Metadata
Metadata
Assignees
Labels
Needs TestingNeeds further testing to be confirmed.Needs further testing to be confirmed.[Block] ParagraphAffects the Paragraph BlockAffects the Paragraph Block[Feature] Nested / Inner BlocksAnything related to the experience of nested/inner blocks inside a larger container, like Group or PAnything related to the experience of nested/inner blocks inside a larger container, like Group or P
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
Using
InnerBlockswith a nested block template, you can not copy / paste inside of thecore/paragraphblock. It results in a console error and the text is not copied into the blockUncaught TypeError: r is not a function at t.value (index.js?ver=1542840426:formatted:830) at t.value (index.js?ver=1542840430:formatted:11004) at Object.Fg (react-dom.min.713f0afa.js:formatted:4357) at Eg (react-dom.min.713f0afa.js:formatted:42) at Hg (react-dom.min.713f0afa.js:formatted:45) at ae (react-dom.min.713f0afa.js:formatted:96) at Ig (react-dom.min.713f0afa.js:formatted:4390) at Hc (react-dom.min.713f0afa.js:formatted:113) at Jc (react-dom.min.713f0afa.js:formatted:150) at gh (react-dom.min.713f0afa.js:formatted:872)core/headingworks fine. If I begin typing in thecore/paragraphand then copy / paste, the new text is added without the console error.To Reproduce
Add a custom block that uses
InnerBlockswith a template that includescore/pargraph. Something likeExpected behavior
core/paragraphshould not have issues with copy / paste when used inside of a nested blockDesktop (please complete the following information):
Additional context
Gutenberg version 4.5.0