Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Block editor: full width HTML block

  • #9715
    Avatar photo[anonymous]

    When I use the HTML block and there’s a lot of code, I find it difficult to edit because the block itself is tight and because of the overflo-x: scroll + white-space: pre.

    To make it more comfortable to work with it, I usually add the class image__post–full to the block wrapper through the inspector.

    My question is: is there an easy way to have the HTML block full width by default? I’m no electron dev, so accessing the HTML file in the .asar is impossible for me, is there any possible workaround?

    If not, can I suggest adding this feature in a future release of Publii? Having a button like those in the image block that toggles the HTML block large and small would be great.