Skip to content

Commit 26f74d7

Browse files
committed
chore: wip
1 parent affb3a3 commit 26f74d7

40 files changed

+1292
-3415
lines changed

.config/bunpress.ts

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
import type { BunpressConfig } from 'bunpress'
2+
3+
const config: BunpressConfig = {
4+
name: 'ts-medium-editor',
5+
description: 'A modern, minimal & performant Medium-like rich text editor',
6+
url: 'https://ts-medium-editor.netlify.app',
7+
8+
theme: {
9+
primaryColor: '#00ab6c',
10+
},
11+
12+
sidebar: [
13+
{ text: 'Introduction', link: '/' },
14+
{
15+
text: 'Guide',
16+
items: [
17+
{ text: 'Getting Started', link: '/guide/getting-started' },
18+
{ text: 'Toolbar Configuration', link: '/guide/toolbar' },
19+
{ text: 'Extensions', link: '/guide/extensions' },
20+
],
21+
},
22+
{
23+
text: 'Features',
24+
items: [
25+
{ text: 'Auto-Link Detection', link: '/features/auto-link' },
26+
{ text: 'Clean Paste', link: '/features/clean-paste' },
27+
{ text: 'Keyboard Commands', link: '/features/keyboard-commands' },
28+
{ text: 'Placeholder', link: '/features/placeholder' },
29+
{ text: 'Multiple Editors', link: '/features/multiple-editors' },
30+
],
31+
},
32+
{
33+
text: 'Examples',
34+
items: [
35+
{ text: 'Basic Editor', link: '/examples/basic' },
36+
{ text: 'Custom Toolbar', link: '/examples/custom-toolbar' },
37+
{ text: 'Static Toolbar', link: '/examples/static-toolbar' },
38+
{ text: 'Theme Switching', link: '/examples/themes' },
39+
],
40+
},
41+
{ text: 'API Reference', link: '/api' },
42+
{ text: 'Configuration', link: '/config' },
43+
],
44+
45+
navbar: [
46+
{ text: 'Guide', link: '/guide/getting-started' },
47+
{ text: 'API', link: '/api' },
48+
{ text: 'Examples', link: '/examples/basic' },
49+
{ text: 'GitHub', link: 'https://github.com/stacksjs/ts-medium-editor' },
50+
],
51+
52+
head: [
53+
['link', { rel: 'icon', href: '/favicon.ico' }],
54+
['meta', { name: 'og:title', content: 'ts-medium-editor' }],
55+
['meta', { name: 'og:description', content: 'A modern Medium-like WYSIWYG editor' }],
56+
],
57+
}
58+
59+
export default config
File renamed without changes.
File renamed without changes.

.cursor/rules/code-style.mdc

Lines changed: 0 additions & 12 deletions
This file was deleted.

.cursor/rules/documentation.mdc

Lines changed: 0 additions & 9 deletions
This file was deleted.

.cursor/rules/error-handling.mdc

Lines changed: 0 additions & 11 deletions
This file was deleted.

.cursor/rules/key-conventions.mdc

Lines changed: 0 additions & 11 deletions
This file was deleted.

.cursor/rules/project-structure.mdc

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)