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

Preview - Text Imported from Google Docs Display Error (Workarounds Included) #13

Closed
Neo9421 opened this issue Mar 20, 2024 · 2 comments · Fixed by #21
Closed

Preview - Text Imported from Google Docs Display Error (Workarounds Included) #13

Neo9421 opened this issue Mar 20, 2024 · 2 comments · Fixed by #21
Labels

Comments

@Neo9421
Copy link

Neo9421 commented Mar 20, 2024

Hey! Thanks for making this tool!
I'd just like to report an issue I've been having with it.

Text Copied and Pasted from Google Documents will have the text shown on the review writing field and review preview display appear with chosen coloured text in Google Docs.

Example with black coloured text (default to Google Docs):
Screenshot_61
Screenshot_62

Example with white-coloured text (attempt to solve the issue):
Screenshot_63
(Don't mind the red underlines, Grammarly put them there because I put goofy text)
Screenshot_64

Though the white text does solve the issue for the preview, it also makes it very difficult to use the edit field for formatting purposes.

But I think I might have found a workaround. By using a shade of grey, the text is somewhat visible in the typing field and has better visibility in the preview field. (Examples below)

Screenshot_65 Screenshot_66

I'm also quite sure why the markdown preview tab puts a [/spoiler] at the end of every line, but I think this might not affect the result.
(I tried pasting centre-aligned text and left-aligned text to see if it would make a difference, but the [/spoiler] markdown still shows up, I'm not quite sure what causes it, might be related to Google Docs itself)

I'd like to thank you once again for making this tool! Cheers!

Edit: Just found out that copying the text and pasting it into Notepad seems to resolve both issues. Whoops... Sorry!

@Neo9421 Neo9421 changed the title Preview - Text Imported from Google Docs Display Error (Workaround Included) Preview - Text Imported from Google Docs Display Error (Workarounds Included) Mar 20, 2024
@dons20
Copy link
Owner

dons20 commented Jul 16, 2024

Hi, thanks for checking out the tool! This is something I'd like to resolve.

I've released some small updates within the past day, I'll try it out with copied text from Google Docs to see if it has been addressed in Quill (the editor)

@dons20
Copy link
Owner

dons20 commented Jul 27, 2024

I've resolved the weird spoiler tag being added at the end. I will be fixing this other issue soon also.

dons20 added a commit that referenced this issue Jul 30, 2024
* Refactored Spoiler to function as an Inline blot
* Cleaned up multiple portions of logic to latest standards
* Updated list of formats to prevent pasted content from taking unsupported styles. Fixes #13
* Removed unnecessary IDs from spoiler and divider buttons
@dons20 dons20 closed this as completed in 49ab2be Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants