feat: add notebook widget (#294)
* feat: add nestjs replacement, remove nestjs * feat: add notebook widget * fix: format issue * fix: add missing tiptap packages * refactor: improve structure of table options * fix: downgrade to tiptap 2.2.5 as not yet supported by mantine/tiptap * fix: format issue * fix: deepsource issues * fix: typecheck issues * refactor: move default notebook content to seperate file * fix: format issue
This commit is contained in:
@@ -192,9 +192,11 @@ export default {
|
||||
common: {
|
||||
action: {
|
||||
add: "Add",
|
||||
apply: "Apply",
|
||||
backToOverview: "Back to overview",
|
||||
create: "Create",
|
||||
edit: "Edit",
|
||||
insert: "Insert",
|
||||
remove: "Remove",
|
||||
save: "Save",
|
||||
saveChanges: "Save changes",
|
||||
@@ -372,6 +374,67 @@ export default {
|
||||
},
|
||||
},
|
||||
},
|
||||
notebook: {
|
||||
name: "Notebook",
|
||||
description: "A simple notebook widget that supports markdown",
|
||||
option: {
|
||||
showToolbar: {
|
||||
label: "Show the toolbar to help you write markdown",
|
||||
},
|
||||
allowReadOnlyCheck: {
|
||||
label: "Allow check in read only mode",
|
||||
},
|
||||
content: {
|
||||
label: "The content of the notebook",
|
||||
},
|
||||
},
|
||||
controls: {
|
||||
bold: "Bold",
|
||||
italic: "Italic",
|
||||
strikethrough: "Strikethrough",
|
||||
underline: "Underline",
|
||||
colorText: "Color text",
|
||||
colorHighlight: "Colored highlight text",
|
||||
code: "Code",
|
||||
clear: "Clear formatting",
|
||||
heading: "Heading {level}",
|
||||
align: "Align text: {position}",
|
||||
blockquote: "Blockquote",
|
||||
horizontalLine: "Horizontal line",
|
||||
bulletList: "Bullet list",
|
||||
orderedList: "Ordered list",
|
||||
checkList: "Check list",
|
||||
increaseIndent: "Increase Indent",
|
||||
decreaseIndent: "Decrease Indent",
|
||||
link: "Link",
|
||||
unlink: "Remove link",
|
||||
image: "Embed Image",
|
||||
addTable: "Add table",
|
||||
deleteTable: "Delete Table",
|
||||
colorCell: "Color Cell",
|
||||
mergeCell: "Toggle cell merging",
|
||||
addColumnLeft: "Add column before",
|
||||
addColumnRight: "Add column after",
|
||||
deleteColumn: "Delete column",
|
||||
addRowTop: "Add row before",
|
||||
addRowBelow: "Add row after",
|
||||
deleteRow: "Delete row",
|
||||
},
|
||||
align: {
|
||||
left: "Left",
|
||||
center: "Center",
|
||||
right: "Right",
|
||||
},
|
||||
popover: {
|
||||
clearColor: "Clear color",
|
||||
source: "Source",
|
||||
widthPlaceholder: "Value in % or pixels",
|
||||
columns: "Columns",
|
||||
rows: "Rows",
|
||||
width: "Width",
|
||||
height: "Height",
|
||||
},
|
||||
},
|
||||
iframe: {
|
||||
name: "iFrame",
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user