Comments (4)
something with the content of this document is what makes it fail. we are investigating the issue. sorry for the insane delay!
from office-js.
Have narrowed down the steps to reproduce this issue. It only happens when the document body has only one single paragraph which contains the unsupported features such as field and/or unsupported content controls. This is a bug, and we are working on a fix.
However, the above script actually fails at the step when you try to insert content control to the range which is the inserted base64 stream that contains a field. It fails because field is not supported in Word Online, and therefore we disallow insert content control on the range.
from office-js.
team is working on a fix, been tracked with 2452427 internally.
from office-js.
I had the similar trouble. The following code worked for me:
Word.run(async (context) => { let range = context.document.getSelection(); let pageRange = range.parentBody.getRange(); pageRange.delete(); await context.sync(); })
from office-js.
Related Issues (20)
- On-Send web addin does not load when new file is created from group HOT 4
- Word web is freezing after executing body.clear() HOT 4
- Closing Smart Alerts dialog does not open specified task pane in Outlook on web. HOT 3
- Legacy Outlook users see 'add-in is unavailable' sporadically with usage
- OnMessageAttachmentsChanged event doesn't get called for each attachment when multiple attachments added to email HOT 1
- Outlook NAA GA questions: Enable SSO in an Office Add-in using nested app authentication (preview) HOT 2
- Issues sending mail in Outlook for Mac 16.87+ HOT 3
- [Question] Why is iterating over range.areas.getItemAt(x) so much faster than calling range.areas.load('items')? HOT 1
- GeneralException when copying range from/to column H HOT 3
- Images are not attached to the signature in the onMessageSend event in Office Online HOT 2
- New inReplyTo property of the compose message returns incorrect value
- RichApi.Error: GeneralException occurs when updating styles in HTML tables HOT 2
- Not able to Open Web addin in Browser when i select multiple emails , It is working fine in older desktop outlook version , but not working in browser HOT 5
- Not able to Open Web addin in Browser when i select multiple emails , It is working fine in older desktop outlook version , but not working in browser.Please find the attached video for your reference
- Not able to apply Category Label to Perticular conversation from Outlook Web Browser or New Outlook HOT 2
- How to deploy Excel Javascript Add-in with a custom function added parameters
- how to set Superscript/subscript/strike on specific text in cell in word using office js. HOT 2
- Add-ins continue to work after uninstallation HOT 2
- getAttachmentContentAsync doesn't work after few attempts when mail is encrypted with Option "Encrypt" Or "Do not forward"
- Excel replace cell value cause format lost HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js.