fix: question field uses real placeholder instead of template. fixed blank question handling. TNL-10395, TNL-10411.

This commit is contained in:
Ken Clary
2023-01-27 15:52:13 -05:00
parent 84fe6605c2
commit 80f2689cc2
10 changed files with 65 additions and 32 deletions

View File

@@ -26,6 +26,7 @@ export const problemEditorConfig = ({
menubar: false,
branding: false,
min_height: 150,
placeholder: 'Enter your question',
},
onFocusOut: () => {
const content = editorRef.current.getContent();