mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
use monaco editor for quizzes
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
get => _quizMarkdownInput;
|
||||
set
|
||||
{
|
||||
Console.WriteLine("setting");
|
||||
_quizMarkdownInput = value;
|
||||
|
||||
try
|
||||
@@ -102,11 +103,16 @@ short answer";
|
||||
}
|
||||
<div class="row flex-grow-1">
|
||||
<div class="col-6">
|
||||
<textarea
|
||||
@* <textarea
|
||||
class="form-control h-100"
|
||||
@bind="quizMarkdownInput"
|
||||
@bind:event="oninput"
|
||||
/> *@
|
||||
<MonacoTextArea
|
||||
Value="@quizMarkdownInput"
|
||||
OnChange="@((v) => quizMarkdownInput = v)"
|
||||
/>
|
||||
|
||||
</div>
|
||||
<div class="col-6">
|
||||
@if (error != null)
|
||||
|
||||
Reference in New Issue
Block a user