-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Visible Changes: - Notes App Updated - New Coloring Scheme Internal Changes: - Use of newest version of editor - Cleanup
- Loading branch information
1 parent
3fcd517
commit 4bda62f
Showing
7 changed files
with
241 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
@page "/notes" | ||
@using System.Text.Json | ||
@using BlazorMonaco | ||
@using BlazorMonaco.Editor | ||
@inject IJSRuntime JS | ||
|
||
<h1>Juka Notes</h1> | ||
|
||
<textarea id="jukanotes" rows="4" cols="50" style="width:100%" placeholder="Enter your notes here..."> | ||
</textarea> | ||
|
||
<StandaloneCodeEditor Id="jukanotes" ConstructionOptions="EditorConstructionOptions" /> | ||
|
||
@code{ | ||
|
||
public async Task UploadCode(InputFileChangeEventArgs e) | ||
private StandaloneCodeEditor _editor; | ||
private StandaloneEditorConstructionOptions EditorConstructionOptions(StandaloneCodeEditor editor) | ||
{ | ||
try | ||
{ | ||
} | ||
catch (Exception) | ||
_editor = editor; | ||
return new StandaloneEditorConstructionOptions | ||
{ | ||
|
||
} | ||
AutomaticLayout = true, | ||
Language = "", | ||
Value = "Notes" | ||
}; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ | |
@using JukaApp.Shared | ||
@using JukaCompiler | ||
@using BlazorMonaco | ||
@using BlazorMonaco.Editor |
Oops, something went wrong.