rtf.js icon indicating copy to clipboard operation
rtf.js copied to clipboard

Ordered list bullet list showing boxes in front on copying pastin from ms-outlook and ms-word

Open muditgoel2016 opened this issue 4 years ago • 3 comments

On copying-pasting ordered/bullet list from outlook/ms-word the rtf file does not render properly.

  • The first item of the list in the clipboard (the item from where the copying action began) renders with a bunch of boxes in front.

-The bullet list icons don't look quit right. See the image below: image Please, find rtf files inside the zips that will replicate the issue list_improper_render.zip bullet_list_issue.zip

Original copied lists image

muditgoel2016 avatar Jun 01 '20 16:06 muditgoel2016

@zoehneto Hi, your previous fix worked as expected. Could you or request someone else to take up a look at this bug as well as it is blocking a complete acceptance of rtfjs base rendering in my application. TIA

muditgoel2016 avatar Jun 03 '20 08:06 muditgoel2016

I had a quick look at the issue but I don't see an immediate fix for this and I won't have time to look at it within the next two weeks. PRs are of course always welcome, otherwise you can filter the HTML for the two or three invalid characters.

zoehneto avatar Jun 03 '20 15:06 zoehneto

I had a quick look at the issue but I don't see an immediate fix for this and I won't have time to look at it within the next two weeks. PRs are of course always welcome, otherwise you can filter the HTML for the two or three invalid characters.

Yup, thanks! Whenever you get time; until then, I will filter out the invalid chars.

muditgoel2016 avatar Jun 03 '20 15:06 muditgoel2016