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

Allow basic rich text formatting on blocks description fields

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Merged
    • Icon: Should have Should have
    • 2.58.0
    • None
    • 5
    • Blocks (all), Gutenberg
    • Sprint #163
    • oberon

      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

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

              Created:
              Updated:
              Resolved: