Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

RTE does not allow pasting lists from Microsoft word document

Avatar

Level 3

Hi All, 

 

We are using AEM cloud version for website development. The RTE component has both paste modes enabled (wordhtml and plain text). But when authors copy any list (ordered/unordered) from Word document, it doesn't paste it well and creates individual <p> tags instead of ul or ol. 

 

Does anyone has any idea on this? Any help would be much appreciated.

 

Attaching screenshot. 

jainrupal2408_0-1689776643546.pngjainrupal2408_1-1689776667284.png

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @jainrupal2408 ,

 

At the moment it is by design, since both are different formats it is not being currently converted to <ul>, <ol> at the moment.

I see it's on the backlog for engineering, feel free to open a ticket so that priority can be increased for this feature and it can be picked soon.

Mention this in your ticket for reference. SITES-14024

 

In the meantime, you may have to modify it using source code.

 

Hope this helps!

 

Regards,

Nitesh

 

View solution in original post

5 Replies

Avatar

Level 4

Use source code to paste HTML elements

Avatar

Correct answer by
Employee Advisor

Hi @jainrupal2408 ,

 

At the moment it is by design, since both are different formats it is not being currently converted to <ul>, <ol> at the moment.

I see it's on the backlog for engineering, feel free to open a ticket so that priority can be increased for this feature and it can be picked soon.

Mention this in your ticket for reference. SITES-14024

 

In the meantime, you may have to modify it using source code.

 

Hope this helps!

 

Regards,

Nitesh

 

Avatar

Level 3

Hi @nitesh_kumar ,

Thank you for your response.

Will definitely raise a ticket on this. It would be good to have this in place for content authors, since they always create content in word document first and then copy them into RTE editor.

 

Best Regards,

Rupal

Avatar

Community Advisor

As @nitesh_kumar explained, it is not possible to do so, as a workaround you can use something to parse your Word doc to html and then paste it in the RTE, that should do the trick. Use something like this: https://wordtohtml.net/ 



Esteban Bustamante