ckeditor / ckeditor5-react

Official CKEditor 5 React component.
https://ckeditor.com/ckeditor-5
Other
426 stars 100 forks source link

Copy paste from Word online does not keep the bullets #448

Open philippenunes opened 10 months ago

philippenunes commented 10 months ago

Hello!

I have a problem, i dont know if this is known

Unfortunately, i'm using ckeditor version 35.0.1 and I cant't update for now.

When i copy and past a text from word online, he does not keep the bullets

Word Online:

image

On my component:

image

I noticed that this does not happen in the documentation:

image

In the documentation the text is rendered like a list but in my componente is rendered like a paragraph:

Docs:

image

My component:

image

Witoso commented 10 months ago

Hi!

Unfortunately, i'm using ckeditor version 35.0.1 and I cant't update for now.

I cannot pinpoint the exact issue, but Paste from Office had several improvements over the past releases (we are now at v41). If you cannot update, maybe try the General HTML Support configuration?

philippenunes commented 9 months ago

Hi!

Unfortunately, i'm using ckeditor version 35.0.1 and I cant't update for now.

I cannot pinpoint the exact issue, but Paste from Office had several improvements over the past releases (we are now at v41). If you cannot update, maybe try the General HTML Support configuration?

Hi! I'm able to update ckeditor5 to last version, but now i have issues with my tests using jest.

I recive this when try run my tests:

console.error Error: Could not parse CSS stylesheet (... and a lot of css erros)

Is there any configuration to be done related to this?

Witoso commented 9 months ago

Not sure how your tests are set up, but we are not supporting Jest. I know there were some examples like https://github.com/ckeditor/ckeditor5-react/issues/225 but we are pretty sure that testing the editor with JSDom may result in quirky errors. Unfortunately, I am not sure why Jest tries to parse CSS...