-
Type: New Feature
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.1.0, nuxeo-11.0.0
-
Component/s: ARender
-
Tags:
Description
When a user tries to copy from word, make sure that the content is cleaned up, i.e.
- at least Word proprietary formatting chunks are removed
- at best the formatting is kept / mapped.
It seems there are some libs on github doing just this.
See the current problem in the attached screenshot.
Acceptance criteria
Given I copy from a Word document a formatted text (with header, bold, underligned, colored,.. texts)
And I have at least read permission on a Nuxeo document,
When I go to the 'Annotations' tab of the Nuxeo document,
And I paste the text from Word in a sticky note comment,
Then the text is pasted without formatting,
And there is no HTML elements in the pasted text,
And I can save the changes in the annotation.
Given I copy from an Excel document a formatted text (with header, bold, underligned, colored,.. texts)
And I have at least read permission on a Nuxeo document,
When I go to the 'Annotations' tab of the Nuxeo document,
And I paste the text from Excel in a free text annotation,
Then the text is pasted without formatting,
And there is no HTML elements in the pasted text,
And I can save the changes in the annotation.
Given I copy from an PowerPoint document a formatted text (with header, bold, underligned, colored,.. texts)
And I have at least read permission on a Nuxeo document,
When I go to the 'Annotations' tab of the Nuxeo document,
And I paste the text from PowerPoint in the comment of an arrow annotation,
Then the text is pasted without formatting,
And there is no HTML elements in the pasted text,
And I can save the changes in the annotation.
Given I copy from an Outlook mail a formatted text (with header, bold, underligned, colored,.. texts)
And I have at least read permission on a Nuxeo document,
When I go to the 'Annotations' tab of the Nuxeo document,
And I paste the text from Outlook in the comment of an highlight rectangle annotation,
Then the text is pasted without formatting,
And there is no HTML elements in the pasted text,
And I can save the changes in the annotation.