Error When Copying/Pasting Link Into a Comment
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 5
- Joined: Wed Feb 06, 2019 11:47 pm
Error When Copying/Pasting Link Into a Comment
My team is on Oxygen 17.1. Until a week or two ago, we were able to copy and paste URLs into a comment tag. Now if we try to do it in Author mode, we get the following error: "Could not insert document fragment. Cause: Premature end of file." However, if we first paste the link into something like Notepad and then copy/paste from Notepad into the comment, it works. It also works if we copy/paste the URL in Text mode. I'm not sure if it's related to a Microsoft update or what. Has anyone else received this error and have a fix for it?
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Error When Copying/Pasting Link Into a Comment
Hi,
This might also be caused by a web browser update. From what web browser (name and version) are you copying the URLs?
Does the paste work in other places in your content (if you paste inside a paragraph text content for example)?
Do you have any custom plugins/frameworks installed in Oxygen which may interfere with the paste functionality?
Regards,
Radu
This might also be caused by a web browser update. From what web browser (name and version) are you copying the URLs?
Does the paste work in other places in your content (if you paste inside a paragraph text content for example)?
Do you have any custom plugins/frameworks installed in Oxygen which may interfere with the paste functionality?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 5
- Joined: Wed Feb 06, 2019 11:47 pm
Re: Error When Copying/Pasting Link Into a Comment
I think you're right about it being a web browser issue. We were copying the links from Chrome. I noticed that I can paste the URL into a paragraph, and it automatically pastes inside an href tag. I tested with Internet Explorer, and I can copy/paste the URL into a comment tag just fine. It looks like it's pasting as plain text, though, whenever I paste into a paragraph tag. I'm guessing a Chrome update turned URLs into hypertext whenever they're copied/pasted instead of plain text.
Thanks for your help!
Thanks for your help!
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Error When Copying/Pasting Link Into a Comment
Hi,
Using Oxygen 17.1 with the latest Chrome on Windows 10 I cannot reproduce your original problem.
Maybe if in the Oxygen Preferences->"Editor / Edit modes / Author / Schema aware" page you uncheck the "Convert external content on paste" checkbox Oxygen would interpret the clipboard as plan text and this would bypass your problem.
Regards,
Radu
Using Oxygen 17.1 with the latest Chrome on Windows 10 I cannot reproduce your original problem.
Maybe if in the Oxygen Preferences->"Editor / Edit modes / Author / Schema aware" page you uncheck the "Convert external content on paste" checkbox Oxygen would interpret the clipboard as plan text and this would bypass your problem.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service