Skip to content

Commit

Permalink
Auto-prettification
Browse files Browse the repository at this point in the history
  • Loading branch information
sipec authored and github-actions[bot] committed Jan 9, 2025
1 parent 89a8968 commit 9b3e1d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/components/editor/knowledge.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ On the server we use a simplified version that converts rich content to plain te
## Adding a New Component

1. Web (Editor):

- Create extension file in `web/components/editor/`
- Add React component for interactive view
- Implement `renderHTML` and `renderReact`
- Add to `editorExtensions` in editor.tsx

2. Common (Server/Types):

- Add extension to parse.ts and parse.native.ts
- Add `renderText` implementation

Expand Down

0 comments on commit 9b3e1d8

Please sign in to comment.