|
1182 | 1182 | },
|
1183 | 1183 | {
|
1184 | 1184 | "command": "vscode-cnb.post.show-local-file-info",
|
1185 |
| - "when": "resourceLangId == markdown && config.cnblogsClient.menus.context.editor.post-show-local-file-info" |
| 1185 | + "when": "(resourceLangId == markdown || resourceLangId == html) && config.cnblogsClient.menus.context.editor.post-show-local-file-info" |
1186 | 1186 | },
|
1187 | 1187 | {
|
1188 | 1188 | "command": "vscode-cnb.post.upload-file-no-confirm",
|
1189 |
| - "when": "resourceLangId == markdown && config.cnblogsClient.menus.context.editor.post-upload-file-no-confirm" |
| 1189 | + "when": "(resourceLangId == markdown || resourceLangId == html) && config.cnblogsClient.menus.context.editor.post-upload-file-no-confirm" |
1190 | 1190 | },
|
1191 | 1191 | {
|
1192 | 1192 | "command": "vscode-cnb.post.pull",
|
1193 |
| - "when": "resourceLangId == markdown && config.cnblogsClient.menus.context.editor.post-pull" |
| 1193 | + "when": "(resourceLangId == markdown || resourceLangId == html) && config.cnblogsClient.menus.context.editor.post-pull" |
1194 | 1194 | },
|
1195 | 1195 | {
|
1196 | 1196 | "command": "vscode-cnb.post.modify-setting",
|
1197 |
| - "when": "resourceLangId == markdown && config.cnblogsClient.menus.context.editor.post-modify-setting" |
| 1197 | + "when": "(resourceLangId == markdown || resourceLangId == html) && config.cnblogsClient.menus.context.editor.post-modify-setting" |
1198 | 1198 | },
|
1199 | 1199 | {
|
1200 | 1200 | "command": "vscode-cnb.post.open-in-blog-admin",
|
1201 |
| - "when": "resourceLangId == markdown && config.cnblogsClient.menus.context.editor.post-open-in-blog-admin" |
| 1201 | + "when": "(resourceLangId == markdown || resourceLangId == html) && config.cnblogsClient.menus.context.editor.post-open-in-blog-admin" |
1202 | 1202 | },
|
1203 | 1203 | {
|
1204 | 1204 | "command": "vscode-cnb.post.export-to-pdf",
|
|
1240 | 1240 | },
|
1241 | 1241 | {
|
1242 | 1242 | "command": "vscode-cnb.post.upload-file",
|
1243 |
| - "when": "resourceLangId == markdown && config.cnblogsClient.menus.context.explorer.post-upload-file" |
| 1243 | + "when": "(resourceLangId == markdown || resourceLangId == html) && config.cnblogsClient.menus.context.explorer.post-upload-file" |
1244 | 1244 | },
|
1245 | 1245 | {
|
1246 | 1246 | "command": "vscode-cnb.post.pull",
|
1247 |
| - "when": "resourceLangId == markdown && config.cnblogsClient.menus.context.explorer.post-pull" |
| 1247 | + "when": "(resourceLangId == markdown || resourceLangId == html) && config.cnblogsClient.menus.context.explorer.post-pull" |
1248 | 1248 | },
|
1249 | 1249 | {
|
1250 | 1250 | "command": "vscode-cnb.post.modify-setting",
|
1251 |
| - "when": "resourceLangId == markdown && config.cnblogsClient.menus.context.explorer.post-modify-setting" |
| 1251 | + "when": "(resourceLangId == markdown || resourceLangId == html) && config.cnblogsClient.menus.context.explorer.post-modify-setting" |
1252 | 1252 | },
|
1253 | 1253 | {
|
1254 | 1254 | "command": "vscode-cnb.post.show-local-file-info",
|
1255 |
| - "when": "resourceLangId == markdown && config.cnblogsClient.menus.context.explorer.post-show-local-file-info" |
| 1255 | + "when": "(resourceLangId == markdown || resourceLangId == html) && config.cnblogsClient.menus.context.explorer.post-show-local-file-info" |
1256 | 1256 | },
|
1257 | 1257 | {
|
1258 | 1258 | "command": "vscode-cnb.post.open-in-blog-admin",
|
1259 |
| - "when": "resourceLangId == markdown && config.cnblogsClient.menus.context.explorer.post-open-in-blog-admin" |
| 1259 | + "when": "(resourceLangId == markdown || resourceLangId == html) && config.cnblogsClient.menus.context.explorer.post-open-in-blog-admin" |
1260 | 1260 | },
|
1261 | 1261 | {
|
1262 | 1262 | "command": "vscode-cnb.post.export-to-pdf",
|
1263 | 1263 | "when": "resourceLangId == markdown && config.cnblogsClient.menus.context.explorer.post-export-to-pdf"
|
1264 | 1264 | },
|
1265 | 1265 | {
|
1266 | 1266 | "command": "vscode-cnb.post.copy-link",
|
1267 |
| - "when": "resourceLangId == markdown && config.cnblogsClient.menus.context.explorer.post-copy-link" |
| 1267 | + "when": "(resourceLangId == markdown || resourceLangId == html) && config.cnblogsClient.menus.context.explorer.post-copy-link" |
1268 | 1268 | }
|
1269 | 1269 | ]
|
1270 | 1270 | },
|
|
0 commit comments