Skip to content

Commit 27b4acb

Browse files
authored
Update BlockEditorToolbar.js
1 parent 4fa2c16 commit 27b4acb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/BlockEditor/BlockEditorToolbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export class BlockEditorToolbar extends React.PureComponent {
203203
});
204204
const downloadLink = document.createElement('a');
205205
downloadLink.download = `${this.props.project.name}-${this.props.project.id}.xml`;
206-
downloadLink.innerHTML = 'Download File';
206+
downloadLink.innerText = 'Download File';
207207
if (window.webkitURL != null) {
208208
// Chrome allows the link to be clicked without actually adding it to the DOM.
209209
downloadLink.href = window.webkitURL.createObjectURL(textAsBlob);

0 commit comments

Comments
 (0)