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

Allow basic rich text formatting on blocks description fields

    XporterXMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Should have
    • Resolution: Merged
    • Affects Version/s: None
    • Fix Version/s: 2.58.0
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      Sprint #163
    • Section:
      Blocks (all), Gutenberg
    • Track:
      Development
    • P4 Test Environment:
      oberon
    • Repositories:
      planet4-plugin-gutenberg-blocks

      Description

      Summary

      We currently have some inconsistencies on where we allow rich text formatting on P4 blocks. Blocks used to allow HTML editing on some of these fields. On WYSIWYG we can display a RichText bar with certain controls (bold, italic). Hyperlinks are still not allowed (there is an upstream bug for that).

      Specs

      All Blocks

      Most of our blocks have a Title and a Description on the very top. Some also CTA buttons. These rules should apply for all blocks:

      • Title: Disallow
      • Description: Allow
      • Buttons: Disallow

      Below are the blocks that have additional text fields, where we also need to make them consistent.

      Carousel Header

      Disallow everywhere

      Columns

      Column Header: Disallow
      Column Description: Allow

      Cookies

      Cookie name: Disallow
      Cookie description: Allow

      Counter

      Text: Disallow (to avoid confusion with counter variables)

      Split Two Columns

      Issue (left side)
      Title: Disallow
      Description: Allow
      Link: Disallow

      Tag (right side)
      Description: Allow

      Accordion

      Headline: Disallow
      Text: Allow

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              nroussos Nikos Roussos
              Reporter:
              nroussos Nikos Roussos
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: