• Resolved WP Turned UP

    (@wpturnedup)


    Hey, Kevin. Awesome plugin!

    I saw your reply to another poster re: Line Wrapping, so I’ll try to give that ago.

    As for Global Styling, any idea if this is coming/coming soon? I’m trying to figure out my approach here in case I want to make styling changes down the road. I have a ton of code snippets to add to the site.

    Thank you,

    Ryan

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

    (@kbat82)

    I can give you some CSS for line wrapping. There’s a few issues on GitHub too where it has been discussed too. You can check those out:

    https://github.com/KevinBatdorf/code-block-pro/issues?q=line+wrap

    For global styling, I need to rewrite the plugin to support a big breaking change in the underlining engine, and given that Gutenberg doesn’t have a clean path toward upgrading blocks that change their underlining implimentation (unless you support both old and new), I need to plan it out a bit more. It’s likely I’ll have to support two versions of the block, and then just default to the new block for future blocks. The next version, however, will be powered by css variables, so a global settings could be used to override them.

    I do want to have some way to upgrade existing blocks if it’s possible, but I don’t currently know what that will look like, I also don’t have a timeline when any of this will be done as It’s a pretty big undertaking. it’s definitely something I want to do though. Sorry it’s not the greatest news!

    Thread Starter WP Turned UP

    (@wpturnedup)

    Thank you for the detailed response, Kevin. I’ll roll with what you’ve done so far, which is great, and be closely following along. Thanks again!

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