• mdrahul92

    (@mdrahul92)


    First of all, Thanks a lot for this plugin, It’s really great with some powerful feature without sacrifincing performance.


    I need to wrap lines of my codes as the Horizontal scroliing is not good.

    Can you tell me when this feature will be added and how can I implement this for now?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kevin Batdorf

    (@kbat82)

    Hey, I don’t think I’ll add it as an option anytime soon but I can give you some css. Do you want it for all blocks?

    div[class*='code-block-pro']:not(#x) pre {
        padding-right: 12px !important;
    }
    div[class*='code-block-pro']:not(#x) pre code {
        white-space: normal !important;
    }

    Does this work?

    If you’re using line highlighting, that won’t work with line wrapping, but otherwise it should hopefully work.

    Thread Starter mdrahul92

    (@mdrahul92)

    https://wpblocks.dev/switch-images-via-kadence-tabs/

    I added in this page but it’s not working, can you please check what’s going on.

    Plugin Author Kevin Batdorf

    (@kbat82)

    I don’t see it added. But if I add it manually to your stylesheet source, I can see it works (but note I should have said pre-wrap instead of “normal” in that second rule)

    https://share.cleanshot.com/fVHnt6h5

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.