Sign in

Block editor doesn’t always save HTML block

  • This topic has 2 replies, 2 voices, and was last updated 4 weeks, 1 day ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10523
    Avatar photoTravsVoid

    Its happened enough times that I think it’s a bug of some sort. I’m not sure what causes it except I think it happens more often when I’m making small changes and then hitting save. Then when I go to preview I realize my changes were not actually saved.

    Another thing, I love the block editor but I don’t like how random code gets added around my custom html blocks. For example all of them get a blank

    added around them and in some cases like with the <iframe> tag, it causes Publii to add a div with a post__iframe class that completely ruins the bootstrap ratio class I added around my iframe. In my opinion Publii should not be making changes to the content I added in the HTML block.
    #10542
    Avatar photoTomasz Dziuda

    Hi,

    I will check if I can reproduce such issue – as I understand – you observe that the HTML block in block editor sometimes does not properly store their contents?

    Regarding custom changes in HTML output – Publii does it to handle additional features like GDPR compliance.
    At this moment we have no more reports that it is problematic, but if more and more people will arise it as a problem – we will consider to add an option to disable such modification in website settings.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #10545
    Avatar photoTomasz Dziuda

    Hi,

    Unfortunately I am unable to reproduce your issue – every time when I use HTML block in the block editor output in preview is the same as in editor.

    In this case I will be able to fix it only if there will be any way to reproduce it

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

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