• I use some custom blocks and either the blocks or WordPress serialise some characters or data. Everything works fine in terms of the blocks and copy/pasting them from one page to another. However, If I use this plugin and duplicate a page it strips the backslash added to characters.

    Here is a simplified blocks markup before duplicate page
    wp:meta-box/text-with-icon -block{“id”:”mb-block-9a7d60af-dfa9-44b5-8d3c-cff673bb74cf”,”font_attr”:{“line_height”:”\u002d\u002dline-height-4xs”}}}

    Here is the markup after duplicate page
    wp:meta-box/text-with-icon -block{“id”:”mb-block-9a7d60af-dfa9-44b5-8d3c-cff673bb74cf”,”font_attr”:{“line_height”:”u002du002dline-height-4xs”}}}


    You’ll notice that the line_height markup will no longer deserialise as –line-height-4xs but rather u002du002dline-height-4xs because the duplicate page process stripped the slashes from the block markup.

    thanks

Viewing 1 replies (of 1 total)
  • Plugin Support duplicatepagesupport

    (@duplicatepagesupport)

    Hello justauser034675,

    The issue you’re seeing usually happens when the duplication process doesn’t preserve the Gutenberg block formatting correctly.

    Please try this:

    1. Go to Admin Dashboard → Settings → Duplicate Page Settings
    2. In the Choose Editor dropdown, select “Gutenberg Editor”
    3. Save your changes and try duplicating the page again

    This ensures the duplication process uses the correct block editor handling and should preserve the serialized block markup (including backslashes).

    Let me know if this resolves it for you!

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.