Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
greatislander opened this issue Apr 1, 2020 · 0 comments
Open
Labels
enhancement New feature or request maybe later To be revisited in the future.

Comments

@greatislander
Copy link
Collaborator

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.

@greatislander greatislander added enhancement New feature or request maybe later To be revisited in the future. labels Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maybe later To be revisited in the future.
Projects
None yet
Development

No branches or pull requests

1 participant