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

Pasting from Word - Bullet points are ignored #908

Open
mnp-mid opened this issue Nov 21, 2022 · 1 comment
Open

Pasting from Word - Bullet points are ignored #908

mnp-mid opened this issue Nov 21, 2022 · 1 comment
Milestone

Comments

@mnp-mid
Copy link

mnp-mid commented Nov 21, 2022

Steps to reproduce the problem

Issue: Bullet points are converted to font and size
Expectation: Bullet points are converted to list items [li] ... [/li]

  1. Pasting text from word

Google Chrome: Version 107.0.5304.107 (Offizieller Build) (64-Bit)

From Word
image

After Pasting
image

Result after pasting

Test
[font=Symbol]·[size=1][font=Times New Roman]         [/font][/size][/font]1
[font=Symbol]·[size=1][font=Times New Roman]         [/font][/size][/font]2
[b]Test[/b][i]click here[/i] some other text

Expected result for pasting
Test
[ul]
[li]1[/li]
[li]2[/li]
[/ul]
[b]Test[/b][i]click here[/i] some other text

@samclarke samclarke added this to the v3.2.0 milestone Nov 24, 2022
@samclarke
Copy link
Owner

Thanks for reporting. This is caused by Word copying lists as paragraphs so the editor is converting exactly what Word has copied.

I'm planning to add a plugin to detect content pasted from Word and fix it to use real lists as well as some of the other issues Word creates which should fix this.

Marking this as an enhancement as this isn't a bug in the editor, the issue is the HTML generated by Word is not what is expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants