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

Restricted paste option for post editor #1863

Open
Throne3d opened this issue Nov 7, 2023 · 0 comments
Open

Restricted paste option for post editor #1863

Throne3d opened this issue Nov 7, 2023 · 0 comments
Assignees

Comments

@Throne3d
Copy link
Contributor

Throne3d commented Nov 7, 2023

Right now we paste all sorts of styles, including foreground + background color, which often doesn't show up clearly to the end user. A couple of things that would be good to do here:

  • Have a paste mode that only keeps "basic" formatting (eg bold, italic, underline, strike, presence of links - see Add a quote feature / better sanitize post HTML #23 (comment) for a similar idea)
  • Warn when an element sets a foreground color without a background color (common when people copy from other locations and can mess up dark mode views)
@Throne3d Throne3d self-assigned this Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant