Preview tab title

This commit is contained in:
Elio Struyf
2022-09-07 10:03:25 +02:00
parent 3557360297
commit f46fdb9fb0
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -23,6 +23,7 @@
### ⚡️ Optimizations
- Internal post message optimizations to the webviews
- Preview tab now shows the title of the page/content if present
### 🐞 Fixes
+1 -1
View File
@@ -93,7 +93,7 @@ export class Preview {
// Create the preview webview
const webView = window.createWebviewPanel(
'frontMatterPreview',
'FrontMatter Preview',
article?.data?.title ? `Preview: ${article?.data?.title}` : 'FrontMatter Preview',
{
viewColumn: ViewColumn.Beside,
preserveFocus: true