441 lines
12 KiB
JSON
Executable File
441 lines
12 KiB
JSON
Executable File
{
|
||
"toolbarButtons": [
|
||
{
|
||
"group": "textSettings",
|
||
"title": "تنظیمات متن",
|
||
"buttons": [
|
||
{
|
||
"action": "toggleHeading",
|
||
"level": 1,
|
||
"label": "عنوان ۱",
|
||
"title": "عنوان 1",
|
||
"class": "text-sm font-semibold"
|
||
},
|
||
{
|
||
"action": "toggleHeading",
|
||
"level": 2,
|
||
"label": "عنوان ۲",
|
||
"title": "عنوان 2",
|
||
"class": "text-sm font-semibold"
|
||
},
|
||
{
|
||
"action": "toggleHeading",
|
||
"level": 3,
|
||
"label": "عنوان ۳",
|
||
"title": "عنوان 3",
|
||
"class": "text-sm font-semibold"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"group": "textFormatting",
|
||
"title": "قالببندی متن",
|
||
"buttons": [
|
||
{
|
||
"action": "toggleBold",
|
||
"label": "ب",
|
||
"title": "پررنگ (Ctrl+B)",
|
||
"class": "font-bold text-sm"
|
||
},
|
||
{
|
||
"action": "toggleItalic",
|
||
"label": "ک",
|
||
"title": "کج (Ctrl+I)",
|
||
"class": "italic text-sm"
|
||
},
|
||
{
|
||
"action": "toggleLink",
|
||
"label": "🔗",
|
||
"title": "لینک (Ctrl+K)",
|
||
"class": "text-sm"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"group": "lists",
|
||
"title": "لیستها",
|
||
"buttons": [
|
||
{
|
||
"action": "toggleBulletList",
|
||
"label": "•",
|
||
"title": "لیست نقطهای",
|
||
"class": "text-lg"
|
||
},
|
||
{
|
||
"action": "toggleOrderedList",
|
||
"label": "۱.",
|
||
"title": "لیست شمارهای",
|
||
"class": ""
|
||
},
|
||
{
|
||
"action": "toggleTaskList",
|
||
"label": "✓",
|
||
"title": "لیست کارها",
|
||
"class": "text-sm"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"group": "blocks",
|
||
"title": "بلوکها",
|
||
"buttons": [
|
||
{
|
||
"action": "toggleCodeBlock",
|
||
"label": "{ }",
|
||
"title": "بلوک کد",
|
||
"class": "text-sm"
|
||
},
|
||
{
|
||
"action": "toggleBlockquote",
|
||
"label": "\"",
|
||
"title": "نقل قول",
|
||
"class": "text-lg"
|
||
},
|
||
{
|
||
"action": "setHorizontalRule",
|
||
"label": "―",
|
||
"title": "خط جداکننده",
|
||
"class": "text-lg"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"group": "alignment",
|
||
"title": "ترازبندی",
|
||
"buttons": [
|
||
{
|
||
"action": "setTextAlign",
|
||
"value": "right",
|
||
"label": "→|",
|
||
"title": "تراز راست",
|
||
"class": "text-sm"
|
||
},
|
||
{
|
||
"action": "setTextAlign",
|
||
"value": "center",
|
||
"label": "|→|",
|
||
"title": "تراز وسط",
|
||
"class": "text-sm"
|
||
},
|
||
{
|
||
"action": "setTextAlign",
|
||
"value": "left",
|
||
"label": "|←",
|
||
"title": "تراز چپ",
|
||
"class": "text-sm"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"group": "operations",
|
||
"title": "عملیات",
|
||
"buttons": [
|
||
{
|
||
"action": "undo",
|
||
"label": "↶",
|
||
"title": "بازگشت (Ctrl+Z)",
|
||
"class": "text-lg"
|
||
},
|
||
{
|
||
"action": "redo",
|
||
"label": "↷",
|
||
"title": "بازگشت به جلو (Ctrl+Shift+Z)",
|
||
"class": "text-lg"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
|
||
"contextMenuItems": [
|
||
{
|
||
"section": "ai",
|
||
"label": "هوش مصنوعی",
|
||
"icon": "i-lucide-sparkles",
|
||
"items": [
|
||
[
|
||
{
|
||
"label": "بهبود نوشتار",
|
||
"icon": "i-lucide-pen-line",
|
||
"kbds": ["AI", "I"],
|
||
"action": "improve"
|
||
},
|
||
{
|
||
"label": "ادامه دادن",
|
||
"icon": "i-lucide-redo",
|
||
"kbds": ["AI", "I"],
|
||
"action": "continue"
|
||
},
|
||
{
|
||
"label": "تیتر گذاری",
|
||
"icon": "i-lucide-heading",
|
||
"kbds": ["AI", "I"],
|
||
"action": "title"
|
||
},
|
||
{
|
||
"label": "خلاصهسازی",
|
||
"icon": "i-lucide-file-text",
|
||
"kbds": ["AI", "S"],
|
||
"action": "summarize"
|
||
},
|
||
|
||
{
|
||
"label": "اصلاح املایی",
|
||
"icon": "i-lucide-eraser",
|
||
"kbds": ["AI", "I"],
|
||
"action": "spellcheck"
|
||
},
|
||
{
|
||
"label": "سادهسازی",
|
||
"icon": "i-lucide-spell-check",
|
||
"kbds": ["AI", "I"],
|
||
"action": "simplify"
|
||
}
|
||
],
|
||
[
|
||
{
|
||
"label": "ترجمه",
|
||
"icon": "i-lucide-languages",
|
||
"kbds": ["AI", "T"],
|
||
"action": "translate",
|
||
"children": [
|
||
[
|
||
{
|
||
"label": "انگلیسی",
|
||
"icon": "i-lucide-globe",
|
||
"action": "translate",
|
||
"lang": "انگلیسی"
|
||
},
|
||
{
|
||
"label": "فارسی",
|
||
"icon": "i-lucide-globe",
|
||
"action": "translate",
|
||
"lang": "فارسی"
|
||
},
|
||
{
|
||
"label": "عربی",
|
||
"icon": "i-lucide-globe",
|
||
"action": "translate",
|
||
"lang": "عربی"
|
||
}
|
||
]
|
||
]
|
||
},
|
||
{
|
||
"label": "توضیح",
|
||
"icon": "i-lucide-lightbulb",
|
||
"kbds": ["AI", "E"],
|
||
"action": "explain"
|
||
}
|
||
]
|
||
]
|
||
},
|
||
{
|
||
"section": "formatting",
|
||
"label": "قالببندی",
|
||
"icon": "i-lucide-type",
|
||
"items": [
|
||
[
|
||
{
|
||
"label": "پررنگ",
|
||
"icon": "i-lucide-bold",
|
||
"kbds": ["ctrl", "B"],
|
||
"action": "toggleBold"
|
||
},
|
||
{
|
||
"label": "کج",
|
||
"icon": "i-lucide-italic",
|
||
"kbds": ["ctrl", "I"],
|
||
"action": "toggleItalic"
|
||
},
|
||
{
|
||
"label": "زیرخط",
|
||
"icon": "i-lucide-underline",
|
||
"kbds": ["ctrl", "U"],
|
||
"action": "toggleUnderline"
|
||
}
|
||
],
|
||
[
|
||
{
|
||
"label": "کد",
|
||
"icon": "i-lucide-code",
|
||
"kbds": ["ctrl", "E"],
|
||
"action": "toggleCode"
|
||
},
|
||
{
|
||
"label": "لینک",
|
||
"icon": "i-lucide-link",
|
||
"kbds": ["ctrl", "K"],
|
||
"action": "toggleLink"
|
||
}
|
||
]
|
||
]
|
||
},
|
||
{
|
||
"section": "operations",
|
||
"label": "عملیات",
|
||
"icon": "i-lucide-scissors",
|
||
"items": [
|
||
[
|
||
{
|
||
"label": "کپی",
|
||
"icon": "i-lucide-copy",
|
||
"kbds": ["ctrl", "C"],
|
||
"action": "copy"
|
||
},
|
||
{
|
||
"label": "برش",
|
||
"icon": "i-lucide-scissors",
|
||
"kbds": ["ctrl", "X"],
|
||
"action": "cut"
|
||
},
|
||
{
|
||
"label": "چسباندن",
|
||
"icon": "i-lucide-clipboard-paste",
|
||
"kbds": ["ctrl", "V"],
|
||
"action": "paste"
|
||
}
|
||
],
|
||
[
|
||
{
|
||
"label": "حذف",
|
||
"icon": "i-lucide-trash",
|
||
"kbds": ["Delete"],
|
||
"action": "delete",
|
||
"color": "error"
|
||
}
|
||
]
|
||
]
|
||
},
|
||
{
|
||
"section": "convert",
|
||
"label": "تبدیل به",
|
||
"icon": "i-lucide-shapes",
|
||
"items": [
|
||
[
|
||
{
|
||
"label": "عنوان ۱",
|
||
"icon": "i-lucide-heading-1",
|
||
"action": "convertToHeading1"
|
||
},
|
||
{
|
||
"label": "عنوان ۲",
|
||
"icon": "i-lucide-heading-2",
|
||
"action": "convertToHeading2"
|
||
},
|
||
{
|
||
"label": "عنوان ۳",
|
||
"icon": "i-lucide-heading-3",
|
||
"action": "convertToHeading3"
|
||
}
|
||
],
|
||
[
|
||
{
|
||
"label": "لیست نقطهای",
|
||
"icon": "i-lucide-list",
|
||
"action": "convertToBulletList"
|
||
},
|
||
{
|
||
"label": "لیست شمارهای",
|
||
"icon": "i-lucide-list-ordered",
|
||
"action": "convertToOrderedList"
|
||
},
|
||
{
|
||
"label": "لیست کارها",
|
||
"icon": "i-lucide-check-square",
|
||
"action": "convertToTaskList"
|
||
}
|
||
],
|
||
[
|
||
{
|
||
"label": "کد",
|
||
"icon": "i-lucide-code",
|
||
"action": "convertToCodeBlock"
|
||
},
|
||
{
|
||
"label": "نقل قول",
|
||
"icon": "i-lucide-quote",
|
||
"action": "convertToBlockquote"
|
||
}
|
||
]
|
||
]
|
||
},
|
||
{
|
||
"section": "alignment",
|
||
"label": "ترازبندی",
|
||
"icon": "i-lucide-align-left",
|
||
"items": [
|
||
[
|
||
{
|
||
"label": "راست",
|
||
"icon": "i-lucide-align-right",
|
||
"action": "alignRight"
|
||
},
|
||
{
|
||
"label": "وسط",
|
||
"icon": "i-lucide-align-center",
|
||
"action": "alignCenter"
|
||
},
|
||
{
|
||
"label": "چپ",
|
||
"icon": "i-lucide-align-left",
|
||
"action": "alignLeft"
|
||
}
|
||
]
|
||
]
|
||
}
|
||
],
|
||
|
||
"blockIcons": {
|
||
"paragraph": "📝",
|
||
"heading1": "H1",
|
||
"heading2": "H2",
|
||
"heading3": "H3",
|
||
"todo": "✓",
|
||
"bullet": "•",
|
||
"number": "1.",
|
||
"code": "{ }",
|
||
"quote": "\"",
|
||
"image": "🖼️",
|
||
"file": "📎",
|
||
"table": "📊",
|
||
"callout": "💡"
|
||
},
|
||
|
||
"blockTypeNames": {
|
||
"paragraph": "متن",
|
||
"heading1": "عنوان ۱",
|
||
"heading2": "عنوان ۲",
|
||
"heading3": "عنوان ۳",
|
||
"todo": "لیست کار",
|
||
"bullet": "لیست نقطهای",
|
||
"number": "لیست شمارهای",
|
||
"code": "کد",
|
||
"quote": "نقل قول",
|
||
"callout": "کالاوت"
|
||
},
|
||
|
||
"alignmentNames": {
|
||
"right": "راست",
|
||
"center": "وسط",
|
||
"left": "چپ"
|
||
},
|
||
|
||
"editorConfig": {
|
||
"placeholder": "شروع به نوشتن کنید...",
|
||
"emptyEditorClass": "is-editor-empty",
|
||
"attributes": {
|
||
"class": "notion-editor",
|
||
"dir": "rtl",
|
||
"spellcheck": "false"
|
||
},
|
||
"linkAttributes": {
|
||
"class": "text-blue-600 hover:text-blue-800 underline transition-colors",
|
||
"dir": "ltr",
|
||
"target": "_blank",
|
||
"rel": "noopener noreferrer"
|
||
},
|
||
"defaultAlignment": "right"
|
||
},
|
||
"welcomeContent": "<div style=\"text-align: right;\">\n <p>فلسفه اعم از همه علوم و معارف است، زيرا موضوع آن (موجود) عام ترين موضوعات و در برگيرنده همه چيزهاست. علوم كلًاّ از حيث ثبوت موضوع متوقف بر فلسفه اند، اما فلسفه در ثبوت موضوع خود بر هيچ يك از علوم مبتنى نيست</p>\n <details open>\n <summary>اکاردیون خوشآمدگویی</summary>\n <p>این متن داخل اکاردیون دیفالت باز است و میتوانی محتوای خودت را اینجا اضافه کنی.</p>\n </details>\n</div>"
|
||
}
|