-
Notifications
You must be signed in to change notification settings - Fork 12
π Page Editing
Yonatan Magier edited this page Mar 17, 2023
·
3 revisions
Mathberet's grid is created with react-grid-layout, a drag-n-drop + resize grid component for react. View their docs and demos for reference!
To edit Mathberet pages, we use different types of block components, each suffixed with Content
and located in src\renderer\components\Page\Grid\Blocks
:
- Powered by slate
-
TextBlock.tsx
's code is a modified version of slate's example of a markdown shortcuts editor (source code). Shortcuts are defined in theSHORTCUTS
const, and are switched in theElement
function to return their respective slate element.
- Powered by MathLive
- π§
- Powered by Mafs
- π§
- Powered by tldraw
- π§
π§