Skip to content

[BUG] CodeGroup / Tabs: after copy-paste, active tab content is hidden and only appears after clicking/switching tabs #557

@MahaRosomaha

Description

@MahaRosomaha

Has this bug been raised before?

  • I have checked "open" AND "closed" issues and this is not a duplicate

Description

Bug description

After copy-pasting a CodeGroup or Tabs block, the pasted block renders incorrectly: the tab header is visible, but the active tab content is not displayed (the content area looks collapsed or not rendered).

The content becomes visible only after interacting with the tabs (e.g., clicking the current tab or switching to another tab and back).

Expected: pasted block immediately shows the active tab content.
Actual: after paste, tab content is hidden/blank; it appears only after a tab click/switch.

Affected plugins: codeGroup, Tabs

Steps to reproduce

  1. Insert a CodeGroup (or Tabs) block.
  2. Ensure it has content (for CodeGroup — code in a tab; for Tabs — any content inside a tab).
  3. Copy the block.
  4. Paste it.
  5. Observe: the pasted block shows tab headers, but the tab content area is blank/hidden.
  6. Click a tab or switch between tabs — content appears.
copy.paste.codeGroup.mov

Do you want to work on this issue?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions