- The Browse app now opens markdown files in this same editor.
- Browse provides a unified file tree + per-file-type preview where
-
-
- .md files render in this Toast UI editor. The
- standalone Markdown Editor remains available for offline single-file
- editing and air-gapped environments.
-
+
+
diff --git a/tests/archive.spec.js b/tests/archive.spec.js
index 1a7c1fb..84ab2de 100644
--- a/tests/archive.spec.js
+++ b/tests/archive.spec.js
@@ -438,7 +438,11 @@ test.describe('Archive Browser', () => {
test('Preview toggle is checked by default', async ({ page }) => {
await page.goto(`file://${HTML_PATH}`, { waitUntil: 'domcontentloaded' });
- await page.waitForSelector('#filePreviewToggle', { timeout: 15000 });
+ // The checkbox lives inside the (hidden) preview-controls area
+ // before any directory is loaded — waitForSelector defaults to
+ // 'visible' which would time out. Wait for it to be ATTACHED
+ // and verify the underlying state instead.
+ await page.waitForSelector('#filePreviewToggle', { state: 'attached', timeout: 15000 });
await expect(page.locator('#filePreviewToggle')).toBeChecked();
});
+ The Browse app now opens markdown files in this same editor.
+ Browse provides a unified file tree + per-file-type preview where
+
.md files render in this Toast UI editor. The
+ standalone Markdown Editor remains available for offline single-file
+ editing and air-gapped environments.
+ Click Scratchpad in the file list to start editing,
or Add Local Directory to work with files.
Your browser doesn't support the File System API.
Use Scratchpad to edit markdown and download as a file.