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

Implement fully custom rich copy-paste processing #285

Open
thibaudcolas opened this issue Apr 24, 2021 · 0 comments
Open

Implement fully custom rich copy-paste processing #285

thibaudcolas opened this issue Apr 24, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@thibaudcolas
Copy link
Owner

thibaudcolas commented Apr 24, 2021

Currently, the filters operate on Draft.js content as provided by the built-in Draft.js copy-paste processing. This has the advantage of being more light-touch, but greatly reduces how much can be adjusted to either preserve more content, or filter more intelligently.

I think this is worth revisiting with the release of Draft.js v0.11, which has a new rich text copy-paste processing implementation of questionable benefit.

This is blocked by: #284

This would resolve: #12, #14, #212, facebookarchive/draft-js#166

Relevant: facebookarchive/draft-js#721, thibaudcolas/draftjs-conductor#269


Alternative: formatPastedText from Draft.js v0.11.7, however that means being able to do more filtering only, not more "preserving".

@thibaudcolas thibaudcolas added the enhancement New feature or request label Apr 24, 2021
@thibaudcolas thibaudcolas changed the title Implement fully custom rich paste processing Implement fully custom rich copy-paste processing Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant