We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24dcb02 commit 9ca1092Copy full SHA for 9ca1092
apps/chrome-extension/src/scripts/view-lark-docx-as-markdown.ts
@@ -127,16 +127,7 @@ const main = async () => {
127
doc.body.appendChild(pre)
128
}
129
130
- if (
131
- previewWindow.document.readyState === 'complete' ||
132
- document.readyState === 'interactive'
133
- ) {
134
- writeViewContent()
135
- } else {
136
- previewWindow.onload = () => {
137
138
- }
139
+ writeViewContent()
140
141
if (tokens.length > 0) {
142
const isSuccess = await makePublicUrlEffective(
0 commit comments