fix: removed unnecessary lines of code
This commit is contained in:
@@ -48,7 +48,6 @@
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"documentation_url": "https://frappe.school",
|
||||
"fieldname": "title",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
],
|
||||
"index_web_pages_for_search": 1,
|
||||
"links": [],
|
||||
"modified": "2023-04-26 17:48:29.664013",
|
||||
"modified": "2022-11-15 15:36:39.585488",
|
||||
"modified_by": "Administrator",
|
||||
"module": "LMS",
|
||||
"name": "LMS Quiz",
|
||||
@@ -86,21 +86,6 @@
|
||||
"role": "System Manager",
|
||||
"share": 1,
|
||||
"write": 1
|
||||
},
|
||||
{
|
||||
"create": 1,
|
||||
"delete": 1,
|
||||
"email": 1,
|
||||
"export": 1,
|
||||
"if_owner": 1,
|
||||
"permlevel": 1,
|
||||
"print": 1,
|
||||
"read": 1,
|
||||
"report": 1,
|
||||
"role": "All",
|
||||
"select": 1,
|
||||
"share": 1,
|
||||
"write": 1
|
||||
}
|
||||
],
|
||||
"show_title_field_in_link": 1,
|
||||
|
||||
@@ -42,7 +42,6 @@ def find_macros(text):
|
||||
if not text:
|
||||
return []
|
||||
macros = re.findall(MACRO_RE, text)
|
||||
print(macros)
|
||||
# remove the quotes around the argument
|
||||
return [(name, _remove_quotes(arg)) for name, arg in macros]
|
||||
|
||||
|
||||
@@ -138,7 +138,6 @@ def youtube_video_renderer(video_id):
|
||||
|
||||
|
||||
def video_renderer(src):
|
||||
print(src)
|
||||
return f"<video controls width='100%'><source src={src} type='video/mp4'></video>"
|
||||
|
||||
|
||||
|
||||
@@ -1943,6 +1943,10 @@ li {
|
||||
justify-content: flex-end !important;
|
||||
}
|
||||
|
||||
.modal-footer .btn:first-child {
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
|
||||
.modal-header .modal-title {
|
||||
color: var(--gray-900);
|
||||
line-height: 1.5rem;
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
import EditorJS from "@editorjs/editorjs";
|
||||
import Header from "@editorjs/header";
|
||||
import List from "@editorjs/list";
|
||||
|
||||
let self = this;
|
||||
const create_editor_for_lesson_content = () => {
|
||||
self.editor = new EditorJS({
|
||||
holder: "lesson-content",
|
||||
tools: {
|
||||
header: {
|
||||
class: Header,
|
||||
},
|
||||
list: List,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
create_editor_for_lesson_content();
|
||||
console.log(self.editor);
|
||||
@@ -46,7 +46,7 @@
|
||||
{% endmacro %}
|
||||
|
||||
{% macro EmptyState() %}
|
||||
<div class="empty-state">
|
||||
<div class="empty-state mt-5">
|
||||
<img class="icon icon-xl" src="/assets/lms/icons/comment.svg">
|
||||
<div class="empty-state-text">
|
||||
<div class="empty-state-heading">
|
||||
|
||||
Reference in New Issue
Block a user