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

Remove formatting controls in WYSIWYG blocks

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Should have Should have
    • None
    • Blocks (all)

      In WYSIWYG blocks we use RichText components for text fields in the editor, however it comes with formatting options that we should remove (for consistency purposes, and also because it can cause issues in the frontend).

      This can be easily done by adding allowedFormats={[]} to the RichText props.

      Note: some blocks might be implemented with the now deprecated formattingOptions={[]}, we need to update those too to use the new prop

            Unassigned Unassigned
            mleray Maud Leray
            Magali Fatome Magali Fatome (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: