Skip to content

CSP-compatible editor #460

@thibaudcolas

Description

@thibaudcolas

Is your proposal related to a problem?

Part of Wagtail CSP compatibility. Two of the editor’s components rely on dynamic <style> tag generation, so aren’t CSP-friendly:

  • PlaceholderStyles
  • ListNestingStyles

Describe the solution you’d like

They should be converted to CSP-friendly alternatives, or at least support setting a nonce.

Describe alternatives you’ve considered

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Blocked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions