feat: implement premium Zen-mode Creator workspace page at /creator

This commit is contained in:
2026-06-08 19:47:55 +02:00
parent 069b29a57f
commit c8d9646110
3 changed files with 343 additions and 6 deletions
@@ -5,11 +5,14 @@
<div class="markdown-editor-container" style="height: @Height; width: @Width;">
<div id="@EditorId" class="milkdown-editor-wrapper"></div>
<div class="editor-actions">
<button type="button" @onclick="FetchContentAsync" class="nexus-btn">
Fetch Markdown Content
</button>
</div>
@if (ShowFetchButton)
{
<div class="editor-actions">
<button type="button" @onclick="FetchContentAsync" class="nexus-btn">
Fetch Markdown Content
</button>
</div>
}
</div>
@code {
@@ -17,6 +20,9 @@
private IJSObjectReference? _module;
private DotNetObjectReference<MarkdownEditor>? _dotNetHelper;
[Parameter]
public bool ShowFetchButton { get; set; } = true;
[Parameter]
public string InitialMarkdown { get; set; } = string.Empty;
@@ -53,7 +59,7 @@
}
}
private async Task FetchContentAsync()
public async Task FetchContentAsync()
{
if (_module is not null)
{