Merge branch 'develop' of https://github.com/frappe/lms into profile

This commit is contained in:
Jannat Patel
2024-04-15 10:06:58 +05:30
7 changed files with 25 additions and 12 deletions

View File

@@ -245,6 +245,8 @@ const lesson = createResource({
})
const renderEditor = (holder, content) => {
// empty the holder
document.getElementById(holder).innerHTML = ''
return new EditorJS({
holder: holder,
tools: getEditorTools(),