chore: simplify grading for self paced course (#326)
* updated the grading flow for self paced course * updated some logic and translations * fix bug with newsfeed not opening for students and fix more bugs * remove console * add blog template route * add doc page --------- Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
@@ -76,8 +76,12 @@
|
||||
|
||||
$: {
|
||||
if (editorRef && lastVal !== value) {
|
||||
editorRef.setContent(value);
|
||||
text = editorRef.getContent({ format: 'text' });
|
||||
try {
|
||||
editorRef.setContent(value);
|
||||
text = editorRef.getContent({ format: 'text' });
|
||||
} catch (error) {
|
||||
console.error('Error setting default value', error);
|
||||
}
|
||||
}
|
||||
if (editorRef && disabled !== disablindCache) {
|
||||
disablindCache = disabled;
|
||||
|
||||
Reference in New Issue
Block a user