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

Paste from Word is in reverse (vertical and horizontal order) when 'bold' is enabled on simple communications #4751

Closed
1 task done
NikkiAZ opened this issue Aug 3, 2021 · 4 comments
Labels
Fixed in v14.0 Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs.
Milestone

Comments

@NikkiAZ
Copy link

NikkiAZ commented Aug 3, 2021

Prerequisites

Description --A Picture Is worth a Thousand Words

Formatted Word Document with content to be pasted into an email. Highlighted portion is what is intended to be copied and paste in the email.

Screen shot from Rock Demo site to recreate bug. From the line "start test" and through to the line "end test" all is bolded. I intend to paste my formatted content between 'start test' and 'end test'
Screen Shot 2021-08-03 at 3 23 07 PM

When using the 'Paste from Word' functionality the content seems to match formatting as expected.
Screen Shot 2021-08-03 at 3 25 22 PM

But..... once I hit 'insert' in the 'Paste from Word' box I get the following...
Screen Shot 2021-08-03 at 3 25 44 PM
Not only is my content in reveres (bottom->up) but it's actually also pasting my verses backwards with the references first and then the scriptures second.

Refer to Issue #4340 for similar bug fixed in v12.0

Versions

  • Rock Version: 12.4
  • Client Culture Setting: en-US

+ (Communication) Fixed 'paste from word' plugin to no longer reverse text when bold is enabled(Fixes #4751).

@sparkdevnetwork-service sparkdevnetwork-service added the Type: Bug Confirmed bugs or reports that are very likely to be bugs. label Aug 4, 2021
@JRichmond27
Copy link

JRichmond27 commented Aug 5, 2021

I haven't been able to recreate the exact results shown in this issue, but I am seeing some very strange behavior with the Paste From Word feature.

Depending on the structure of the HTML that's already in the editor, sometimes the Paste From Word feature only pastes a small portion of what I'm trying to paste, sometimes it does nothing at all, and sometimes it erases everything (including whatever was already in the editor.) I haven't been able to figure out any predictable patterns yet.

UPDATE: I was able to recreate the same results with inverted bold and reversed line order. It seems to be related to the existing HTML structure and where the cursor is placed before clicking the Paste From Word button.

@sparkdevnetwork-service sparkdevnetwork-service added the Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. label Aug 5, 2021
@nairdo
Copy link
Member

nairdo commented Aug 6, 2021

Possible regression of #4340 (which should have been corrected in v12.0 via 0f430f9).

@NikkiAZ
Copy link
Author

NikkiAZ commented Aug 9, 2021

THE NEW YOU IN CHRIST.docx
This is the word doc that i am pasting from, just for reference. Not sure if that would change your outcome @JRichmond27
NVM: Just saw your 'update' and that you were able to match the outcome. Yay

@NikkiAZ
Copy link
Author

NikkiAZ commented Aug 9, 2021

Here is a video of exactly what i did and the results i got. In this video it actually took me 3 tries to get anything to output and when it did give an output i got the exact output that i reported above. Hope this helps :)

Kwame-Agyei added a commit that referenced this issue Feb 1, 2022
@crayzd92 crayzd92 added this to the v14 milestone Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in v14.0 Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs.
Projects
None yet
Development

No branches or pull requests

6 participants