2 | @if (Cell != null)
3 | {
4 | @Cell.Content
5 | } else {
6 |
Enter your text here...
7 | }
8 |
9 |
10 | @code {
11 | [Parameter]
12 | public Cell Cell { get; set; }
13 | }
--------------------------------------------------------------------------------
/Client/Pages/Notebook/TextCell.razor.css:
--------------------------------------------------------------------------------
1 | .text-cell {
2 | display: flex;
3 | flex: 0 0 100%;
4 | flex-wrap: wrap;
5 | margin: 10px;
6 | padding: 0 10px;
7 | border: 0;
8 | }
9 |
--------------------------------------------------------------------------------
/Client/Pages/Notebooks.razor:
--------------------------------------------------------------------------------
1 | @page "/notebooks"
2 | @using BlazorTable
3 | @inject NavigationManager navigation
4 | @inject NotebookService content
5 |
6 |