dons20 / steam-review-editor

Easily create, format and preview your Steam reviews in real-time
https://projects.claytoninnovations.com/sre
Apache License 2.0
25 stars 5 forks source link

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

Closed Neo9421 closed 1 month ago

Neo9421 commented 5 months ago

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!

dons20 commented 1 month ago

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 commented 1 month ago

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