gambitph / Stackable

Page Builder Blocks for WordPress. An Amazing Block Library for the new WordPress Block Editor (Gutenberg).
https://wpstackable.com
GNU General Public License v3.0
326 stars 62 forks source link

When default text block is Stackable Text block, I'm unable to paste Text blocks properly #3330

Open andeng1106 opened 4 days ago

andeng1106 commented 4 days ago

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Go to Stackable settings
  2. Enable "Stackable Text as Default Block" setting
  3. Add a new page
  4. Add any text block (e.g. Heading)
  5. Add any stylings
  6. Copy block
  7. Add a new Stackable Text block or Paragraph block
  8. Paste the Heading block
  9. See that it only pastes the text content

Expected behavior

Screenshots

https://github.com/user-attachments/assets/93912b82-dea6-49e8-b11f-24a2a33a319f

Arukuen commented 4 days ago

The issue exist even before the previous version without the implementation of Stackable default block. The pasting of block works fine with Native Paragraph but not on Stackable Text block.

https://github.com/user-attachments/assets/973650be-5c6c-4cda-82a9-bd249e46ff31

andeng1106 commented 4 days ago

@Arukuen I see. For the current version, pasting in the Native Paragraph block doesn't work also if the setting is enabled. Is it possible to be fixed even for the Paragraph block only?

@bfintal I'd like to ask if ever we'll support this for Stackable text blocks (currently can't paste another Stackable text block inside), can I file this as another issue instead?