Skip to content

Commit

Permalink
546
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingpin0509 committed Nov 12, 2023
1 parent 1164827 commit c047906
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/taskpane.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/taskpane.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/taskpane/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ export default class App extends React.Component<AppProps, AppState> {
// Inserts the body from the external document at the beginning of this document.
// Run a batch operation against the Word object model.
// Create a proxy object for the document body.
const externalDocument = "./../../../assets/AFKWiegeprotokollSpat.docxencodedbase64url";
const externalDocument = "./../../../assets/AFKWiegeprotokollSpat.docxencodedbase64url.txt";
const body = context.document.body;
// Queue a command to insert the Base64-encoded string representation of the body of the selected .docx file at the beginning of the current document.
body.insertFileFromBase64(externalDocument, Word.InsertLocation.start);
Expand Down

0 comments on commit c047906

Please sign in to comment.