You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
├── packages/react - The main library for use in React apps
9
+
├── examples/editor - Example React app that embeds the editor
10
+
├── examples/vanilla - An advanced example if you don't want to use React or want to build your own UI components
11
+
└── tests - Playwright end to end tests
12
+
```
13
+
14
+
An introduction into the BlockNote Prosemirror schema can be found in [packages/core/ARCHITECTURE.md](https://github.com/TypeCellOS/BlockNote/blob/main/packages/core/ARCHITECTURE.md).
15
+
16
+
## Running
17
+
18
+
To run the project, open the command line in the project's root directory and enter the following commands:
19
+
20
+
# Install all required npm modules for lerna, and bootstrap lerna packages
21
+
npm install
22
+
npm run bootstrap
23
+
24
+
# Start the example project
25
+
npm start
26
+
27
+
## Adding packages
28
+
29
+
- Add the dependency to the relevant `package.json` file (packages/xxx/package.json)
30
+
- run `npm run install-new-packages`
31
+
- Double check `package-lock.json` to make sure only the relevant packages have been affected
rich text editor. Easily add a modern text editing experience to your app.
10
+
</p>
11
+
12
+
<palign="center">
3
13
<ahref="https://discord.gg/Qc2QTTH5dF"><imgalt="Discord"src="https://img.shields.io/badge/Chat on discord%20-%237289DA.svg?&style=for-the-badge&logo=discord&logoColor=white"/></a> <ahref="https://matrix.to/#/#typecell-space:matrix.org"><imgalt="Matrix"src="https://img.shields.io/badge/Chat on matrix%20-%23000.svg?&style=for-the-badge&logo=matrix&logoColor=white"/></a>
**Welcome to BlockNote editor: a "Notion-style" block-based extensible text editor built on top of [Prosemirror](https://prosemirror.net/) and [Tiptap](https://tiptap.dev/).**
`@blocknote/react` comes with a fully styled UI that makes it an instant, polished editor ready to use in your app.
34
53
35
-
If you prefer to create your own UI components (menus), or don't want to use React, you can use `@blocknote/core` (_advanced_, see `examples/vanilla` for a demo).
54
+
If you prefer to create your own UI components (menus), or don't want to use React, you can use `@blocknote/core` (_advanced_, [see docs](https://www.blocknotejs.org/docs/vanilla-js)).
36
55
37
56
# Features
38
57
39
58
BlockNote comes with a number of features and components to make it easy to embed a high-quality block-based editor in your app:
We'd love to hear your thoughts and see your experiments, so [come and say hi on Discord](https://discord.gg/Qc2QTTH5dF) or [Matrix](https://matrix.to/#/#typecell-space:matrix.org).
68
91
69
-
# Contributing
92
+
# Contributing 🙌
93
+
94
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for more info and guidance on how to run the project (TLDR: just use `npm start`).
70
95
71
96
Directory structure:
72
97
@@ -79,24 +104,7 @@ blocknote
79
104
└── tests - Playwright end to end tests
80
105
```
81
106
82
-
An introduction into the BlockNote Prosemirror schema can be found in [packages/core/ARCHITECTURE.md](https://github.com/YousefED/BlockNote/blob/main/packages/core/ARCHITECTURE.md).
83
-
84
-
## Running
85
-
86
-
To run the project, open the command line in the project's root directory and enter the following commands:
87
-
88
-
# Install all required npm modules for lerna, and bootstrap lerna packages
89
-
npm install
90
-
npm run bootstrap
91
-
92
-
# Start the example project
93
-
npm start
94
-
95
-
## Adding packages
96
-
97
-
- Add the dependency to the relevant `package.json` file (packages/xxx/package.json)
98
-
- run `npm run install-new-packages`
99
-
- Double check `package-lock.json` to make sure only the relevant packages have been affected
107
+
The codebase is automatically tested using Vitest and Playwright.
BlockNote is a block-based rich-text editor for [React](https://reactjs.org/), focused on providing a great out-of-the-box experience with minimal setup.
6
6
@@ -24,7 +24,7 @@ On top of that, it comes with a modern block-based design. This gives documents
24
24
25
25
## Community
26
26
27
-
BlockNote is currently in early beta. We'd love your feedback! If you have questions, need help, or want to contribute reach out to the community on [Discord](https://discord.gg/Qc2QTTH5dF) and [GitHub](https://github.com/yousefed/blocknote).
27
+
BlockNote is currently in early beta. We'd love your feedback! If you have questions, need help, or want to contribute reach out to the community on [Discord](https://discord.gg/Qc2QTTH5dF) and [GitHub](https://github.com/TypeCellOS/BlockNote).
Copy file name to clipboardExpand all lines: packages/website/docs/docs/vanilla-js.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -53,4 +53,4 @@ const editor = new BlockNoteEditor({
53
53
54
54
## Example
55
55
56
-
For an example of a how to set up your custom UI factories, see the [Vanilla JS example](https://github.com/YousefED/BlockNote/blob/main/examples/vanilla/) in the repository.
56
+
For an example of a how to set up your custom UI factories, see the [Vanilla JS example](https://github.com/TypeCellOS/BlockNote/blob/main/examples/vanilla/) in the repository.
0 commit comments