Skip to content

Strip most tags from abstract, hide unnecessary toolbar items #338

Open
@greatislander

Description

@greatislander

Is your feature request related to a problem? Please describe.

The abstract (resource content) field allows all HTML tags supported by the WordPress classic editor. This causes weird formatting in some circumstances.

Describe the solution you'd like

We should filter the allowed tags, restricting them to:

  • <p>
  • <em>
  • <strong>
  • <a> (with href and rel attributes)
  • <blockquote>
  • <cite>
  • <ul>, <ol>, and <li>

We should also modify the toolbar to remove all buttons for markup that we don't want added.

Describe alternatives you've considered

Not applicable.

Additional context

Not applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmaybe laterTo be revisited in the future.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions