Skip to content

Commit 7969948

Browse files
UX improvements
1 parent 03569de commit 7969948

File tree

2 files changed

+30
-26
lines changed

2 files changed

+30
-26
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.DS_Store
22
node_modules
33
package-lock.json
4+
.idea/
5+
.vscode/

web-editor.mdx

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -143,18 +143,18 @@ As you type, you'll see more options pop up:
143143
<img src="/images/editor/slash-commands-text-dark.png" className="hidden dark:block" />
144144
</Frame>
145145

146-
The current options for content blocks to add are:
146+
#### Content blocks
147147

148148
<AccordionGroup>
149-
<Accordion title="Standard markdown blocks">
149+
<Accordion title="Standard markdown blocks" defaultOpen={true}>
150150
<CardGroup cols={3}>
151-
<Card icon="paragraph">Paragraph</Card>
152-
<Card icon="heading">Headings</Card>
153-
<Card icon="list-ul">Bullet List</Card>
154-
<Card icon="list-ol">Numbered List</Card>
155-
<Card icon="table">Table</Card>
156-
<Card icon="image">Image</Card>
157-
<Card icon="block-quote">Blockquote</Card>
151+
<Card icon="paragraph" href="/text#text-formatting">Paragraph</Card>
152+
<Card icon="heading" href="/text#titles">Headings</Card>
153+
<Card icon="list-ul" href="/list-table#unordered-list">Bullet List</Card>
154+
<Card icon="list-ol" href="/list-table#ordered-list">Numbered List</Card>
155+
<Card icon="table" href="/list-table#tables">Table</Card>
156+
<Card icon="image" href="/image-embeds">Image</Card>
157+
<Card icon="block-quote" href="/text#blockquotes">Blockquote</Card>
158158
</CardGroup>
159159
</Accordion>
160160

@@ -262,26 +262,28 @@ the editor.
262262

263263
We do have a few current limitations in the editor that we're working on resolving.
264264

265-
### Editing the props of components
266-
267-
In components like `<Card>` and `<Accordion>` which have props like title, icon,
268-
href, etc., you currently cannot edit those props without going to the **"Source Editor"**
269-
270-
### WYSIWYG navigation tree
271-
272-
You currently cannot live-update your navigation based on added/edited files. You
273-
still have to manually edit renamed, added, and deleted files in your `mint.json`
274-
275-
### Snippet previews
265+
<AccordionGroup>
266+
<Accordion title="Editing the props of components">
267+
In components like `<Card>` and `<Accordion>` which have props like title, icon,
268+
href, etc., you currently cannot edit those props without going to the **"Source Editor"**
269+
</Accordion>
276270

277-
We currently don't show any previews for custom snippets. This is on our roadmap to support
278-
as fully editable components.
271+
<Accordion title="WYSIWYG navigation tree">
272+
You currently cannot live-update your navigation based on added/edited files. You
273+
still have to manually edit renamed, added, and deleted files in your `mint.json`
274+
</Accordion>
279275

280-
### Keyboard navigation
276+
<Accordion title="Snippet previews">
277+
We currently don't show any previews for custom snippets. This is on our roadmap to support
278+
as fully editable components.
279+
</Accordion>
281280

282-
There are currently some bugs around keyboard navigation that we're working resolving.
283-
This includes things like going back/forward and up/down between Mintlify components and normal
284-
markdown blocks, or deleting a line vs. a Mintlify component.
281+
<Accordion title="Keyboard navigation">
282+
There are currently some bugs around keyboard navigation that we're working resolving.
283+
This includes things like going back/forward and up/down between Mintlify components and normal
284+
markdown blocks, or deleting a line vs. a Mintlify component.
285+
</Accordion>
286+
</AccordionGroup>
285287

286288
## Feedback
287289

0 commit comments

Comments
 (0)