CLASSROOMIO-T-219: AI generated exercise
delete sql Merge branch 'main' of https://gitlab.com/thenextgreat/classroomio into CLASSROOMIO-T-219 remove console CLASSROOMIO-T-219: AI generation from note + apps improvements CLASSROOMIO-T-219: Quizify Func in Exercise Co-authored-by: Rotimi Best <[email protected]> Co-authored-by: Tunji Adeyemi <[email protected]> Merge-request: CLASSROOMIO-MR-104 Merged-by: Best Admin <[email protected]>
This commit is contained in:
committed by
Space Cloud
co-authored by
Rotimi Best
parent
575d4fca25
commit
e48410b241
@@ -16,3 +16,10 @@ export const getStudentInviteLink = (_course: Course, orgSiteName: string) => {
|
||||
|
||||
return `https://${orgSiteName}.classroomio.com/invite/s/${hash}`;
|
||||
};
|
||||
|
||||
export const getTextFromHTML = (html: string): string => {
|
||||
const dummyDiv = document.createElement('div');
|
||||
dummyDiv.innerHTML = html;
|
||||
|
||||
return dummyDiv.textContent?.trim() || '';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user