Expand my Community achievements bar.

Paste from PowerPoint

Avatar

Level 2

Our client has a need to copy formatted text from PowerPoint into the Text Component.  Currently we have added the Paste from Word functionality to the RTE.  Content with subscript, superscript, bold, and italics are lost upon pasting into the Text component when copied from PowerPoint.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

I tried to use /libs/wcm/foundation/components/text, inline editor, pasting it into the page, and it works.

From sightly, you can use ${properties.text @ context='unsafe'}. Interestingly it saves the images as a BASE64 string, and positions all margins accordingly. the text looks okay as well.

This text component is legacy, but it should that you can paste a copied clipboard of powerpoint into the page, and it works as expected. 

Avatar

Level 2

From PowerPoint:

Screenshot 2023-11-02 at 10.22.53 AM.png

In AEM:

Screenshot 2023-11-02 at 10.24.33 AM.png

 

Copy does not seem to be keeping the formatting from PPT.