Backend- support for adding descriptions to pages, posts, photos
This commit is contained in:
parent
4564aa9534
commit
d09f49ed24
7 changed files with 36 additions and 0 deletions
|
|
@ -39,6 +39,14 @@ const editorInit = () => {
|
|||
"width": 800,
|
||||
"height": 500
|
||||
});
|
||||
|
||||
const descEditor = Jodit.make('#post_description', {
|
||||
"enter": "P",
|
||||
"theme": 'dark',
|
||||
"disablePlugins": "ai-assistant,about",
|
||||
"width": 800,
|
||||
"height": 200
|
||||
});
|
||||
}
|
||||
|
||||
if (document.querySelector('#page_text')) {
|
||||
|
|
@ -49,6 +57,14 @@ const editorInit = () => {
|
|||
"width": 800,
|
||||
"height": 500
|
||||
});
|
||||
|
||||
const descEditoreditor = Jodit.make('#page_description', {
|
||||
"enter": "P",
|
||||
"theme": 'dark',
|
||||
"disablePlugins": "ai-assistant,about",
|
||||
"width": 800,
|
||||
"height": 200
|
||||
});
|
||||
}
|
||||
|
||||
if (document.querySelector('#photos_text')) {
|
||||
|
|
@ -59,6 +75,14 @@ const editorInit = () => {
|
|||
"width": 800,
|
||||
"height": 500
|
||||
});
|
||||
|
||||
const descEditoreditor = Jodit.make('#photos_description', {
|
||||
"enter": "P",
|
||||
"theme": 'dark',
|
||||
"disablePlugins": "ai-assistant,about",
|
||||
"width": 800,
|
||||
"height": 200
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue