KevinBatdorf / code-block-pro

A Gutenberg code block with syntax highlighting powered by VS Code
https://code-block-pro.com
132 stars 10 forks source link

Feature Request: Multiple tabs #332

Open senadir opened 3 months ago

senadir commented 3 months ago

I'm a huge Code Block Pro fan. I'm really hoping to bring it to developer.woocommerce.com to write tutorials there but one really great feature (to reduce the size of a page) is the ability to have multi tab instances. This is something that might require an architectural change (to move from a monoblock to a parent block that owns the styles part and a child blocks that own tab content and line settings).

KevinBatdorf commented 3 months ago

I liek this idea but I'm not sure I'd be able to do it and reduce the size of the page. It would still need to ship both versions and just use some JS to group them before the page loads. I'm going to focus on this for the next major version of the plugin though as I also want this feature in there in some form.