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

Editor: Copy&Paste from docx - failure with bookmarks #4444

Open
MSoeb opened this issue Dec 3, 2024 · 2 comments
Open

Editor: Copy&Paste from docx - failure with bookmarks #4444

MSoeb opened this issue Dec 3, 2024 · 2 comments
Assignees
Labels
Milestone

Comments

@MSoeb
Copy link

MSoeb commented Dec 3, 2024

Describe the bug
When content is copied from a docx document and pasted into the editor, content that is in a bookmark is lost.

How to Reproduce
Steps to reproduce the behavior:
For reproduction and further details please contact @emanuelschuetze or me.

Expected behavior
When content is copied from a docx document and pasted into the editor, the content in a bookmark should be pasted without loss.

@MSoeb MSoeb added the bug label Dec 3, 2024
@MSoeb MSoeb added this to the 4.2 milestone Dec 3, 2024
@rrenkert rrenkert modified the milestones: 4.2, 4.3 Dec 9, 2024
@bastianjoel bastianjoel self-assigned this Dec 9, 2024
@bastianjoel
Copy link
Member

bastianjoel commented Dec 9, 2024

Could you provide an example file?

The ms office paste extension is now maintained here: Intevation/tiptap-extension-office-paste#1
We can still keep this open to track this here.

@emanuelschuetze
Copy link
Member

Example:

<w:pPr>
<w:pStyle w:val="P13"/></w:pPr>
<aml:annotation aml:id="1" w:type="Word.Bookmark.Start" w:name="_Hlk183690443"/>
<w:r><w:rPr><w:rStyle w:val="T11"/></w:rPr>
<w:t>Text</w:t>
</w:r>
<aml:annotation aml:id="1" w:type="Word.Bookmark.End"/>
</w:p>

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

No branches or pull requests

4 participants