Sign in

Block editor: full width HTML block

  • This topic has 0 replies, 1 voice, and was last updated 2 months, 1 week ago by Avatar photoGPax.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #9715
    Avatar photoGPax

    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.

     

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.