diff --git a/editor/pages.mdx b/editor/pages.mdx index 4bb67a373..857a1ef78 100644 --- a/editor/pages.mdx +++ b/editor/pages.mdx @@ -12,6 +12,23 @@ Browse pages in the **Navigation** tab of the left panel. Click a page to open i The web editor treats API specification files (OpenAPI and AsyncAPI) as read-only. To update a spec file, edit it in your preferred code editor and push the changes to your documentation repository. +## Edit supporting text files + +In addition to MDX and Markdown pages, the web editor opens common text files for live, collaborative editing. Click any of the following file types in the navigation tree to edit them with the same real-time syncing, autosave, and Git integration as your documentation pages: + +- `.yml` and `.yaml` +- `.json` +- `.js` and `.jsx` +- `.css` +- `.txt` +- `.csv` + +Text files open in a source-mode editor with syntax highlighting and search (Cmd + F on macOS, Ctrl + F on Windows). Edits sync live across collaborators—each person's cursor is visible, and changes published from outside the editor merge automatically. + +When concurrent edits in Git and the editor can't merge cleanly, the editor inserts conflict markers labeled `editor` and `incoming`. Resolve the markers before publishing. + +Files with extensions outside this list (for example, fonts, archives, and binary assets) remain read-only. Edit those in your local code editor and push the changes to your repository. + ## Create new pages 1. Click the plus button in the navigation element where you want to add a page. @@ -38,7 +55,7 @@ Switch between visual and Markdown mode with the toggle in the toolbar. **Markdown mode** gives you direct access to the MDX source. Use it for precise control over component properties and frontmatter. - The web editor treats API specification files (OpenAPI and AsyncAPI) as read-only. Edit them in your code editor and push the changes to your repository. + The web editor treats API specification files (OpenAPI and AsyncAPI) as read-only. Edit them in your code editor and push the changes to your repository. For the list of supporting files you can edit directly in the web editor, see [Edit supporting text files](#edit-supporting-text-files). For a full list of components, see [Components](/components). For MDX syntax, see [Format text](/create/text) and [Format code](/create/code). diff --git a/es/editor/pages.mdx b/es/editor/pages.mdx index e9ac8bdb2..8c01fe2fe 100644 --- a/es/editor/pages.mdx +++ b/es/editor/pages.mdx @@ -1,7 +1,7 @@ --- title: "Crear y editar páginas" -description: "Crea, edita y organiza páginas de documentación en el editor web." -keywords: ["editor","contenido","páginas","archivos"] +description: "Crea páginas, edita contenido, sube imágenes y vídeos, y gestiona archivos en el editor web de Mintlify con edición enriquecida y búsqueda." +keywords: ["editor","contenido","páginas","archivos","crear","editar","medios","imágenes","vídeo"] ---