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

Convert Counter Block to WYSIWYG

    XporterXMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Should have
    • Resolution: Released
    • Affects Version/s: None
    • Fix Version/s: 2.36.0
    • Labels:
    • Story Points:
      2
    • Sprint:
      Sprint #138, Sprint #139, Sprint #140
    • Section:
      Block: Counter
    • Track:
      Development
    • Epic Link:
    • P4 Test Environment:
      saturn
    • Repositories:
      planet4-plugin-gutenberg-blocks

      Description

      Convert Counter Block to WYSIWYG. 

      Tasks:
      - Convert the LayoutSelector to a set of Block Styles (see: https://github.com/Automattic/gutenberg-block-styles) Use same thumbnail image

      • Convert Title and Description to RichText components.  already existing PR
      • Move Completed, Target, Text and API URL to the sidebar.
        - Refactor rendering according to PLANET-4793.

      Details, references and screenshots in the document:

      https://docs.google.com/document/d/1RB4mOYWzUZM7uWYcyllfSdIGCQat4n04nrsFXLGIPBE/edit#heading=h.xtmpy6dmx9j3

      There is a (possibly outdated) example PR here: https://github.com/greenpeace/planet4-plugin-gutenberg-blocks/pull/73

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mleray Maud Leray
                Reporter:
                pcuadrad Pablo Cuadrado
                Tester:
                Andrada Radu
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: