fix: list and table formatting in lesson

This commit is contained in:
Jannat Patel
2025-01-09 17:07:57 +05:30
parent 54b7f811f7
commit ecc12d783a
5 changed files with 20 additions and 5 deletions

View File

@@ -160,7 +160,10 @@ export function getEditorTools() {
upload: Upload,
markdown: Markdown,
image: SimpleImage,
table: Table,
table: {
class: Table,
inlineToolbar: true,
},
paragraph: {
class: Paragraph,
inlineToolbar: true,
@@ -179,6 +182,7 @@ export function getEditorTools() {
},
list: {
class: NestedList,
inlineToolbar: true,
config: {
defaultStyle: 'ordered',
},