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

fix/clipboard: use docsSoap to prepare html from google doc #366

Merged
merged 1 commit into from
Oct 11, 2021

Conversation

tx0c
Copy link
Contributor

@tx0c tx0c commented Oct 5, 2021

fix #365 [Editor] - Texts become bold when copy and paste from Google doc

References:

@tx0c tx0c requested a review from a team as a code owner October 5, 2021 07:08
@tx0c tx0c self-assigned this Oct 5, 2021
@tx0c tx0c force-pushed the fix/clipboard-use-docs-soap branch from b0d2883 to 7003750 Compare October 5, 2021 07:12
@tx0c tx0c force-pushed the fix/clipboard-use-docs-soap branch from 7003750 to 502e482 Compare October 7, 2021 02:29
fix #365 [Editor] - Texts become bold when copy and paste from Google doc

References:
- facebookarchive/draft-js#393 (comment)
- [Superdesk CMS is using DraftJS](https://github.com/superdesk/superdesk-client-core/blob/develop/scripts/core/editor3/html/from-html/index.ts#L60) and internally calling docsSoap to resolve this
- slab/quill#2462 has some dirty fix with side effects
- ProseMirror/prosemirror#459 (comment) this fix mentioned ProseMirror/prosemirror-schema-basic@cbbdc1a691 in ProseMirror looks much cleaner
@tx0c tx0c force-pushed the fix/clipboard-use-docs-soap branch from 502e482 to 95f009f Compare October 7, 2021 02:30
@tx0c tx0c merged commit 8567320 into develop Oct 11, 2021
@delete-merged-branch delete-merged-branch bot deleted the fix/clipboard-use-docs-soap branch October 11, 2021 18:14
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

Successfully merging this pull request may close these issues.

[Editor] - Texts become bold when copy and paste from Google doc
2 participants