Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5062

Saving a Take Action Boxout on Posts with code editor doesn't preserve page selection

    XporterXMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Should have
    • Resolution: Released
    • Affects Version/s: None
    • Fix Version/s: 2.32.1
    • Labels:
      None
    • Story Points:
      4
    • Sprint:
      Sprint #136
    • Section:
      Block: Take Action
    • P4 site:
      All sites
    • Track:
      Development
    • P4 Test Environment:
      titan
    • Repositories:
      planet4-plugin-gutenberg-blocks, planet4-base-fork

      Description

      When editing a Post with a TA Boxout in the code editor, refreshing the post removes the page selection from the block markup.
      So for instance, this:
      <!-- wp:planet4-blocks/take-action-boxout

      {"take_action_page":"23439"}

      /-->
      is converted to this:
      <!-- wp:planet4-blocks/take-action-boxout /-->

      Tasks

      • Fix the block to work on the Code Editor too
      • Re-enable the TA test

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              sdeshmuk Sagar Deshmukh
              Reporter:
              nroussos Nikos Roussos
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: