Static CMS v4 (#252)
All checks were successful
website-main / prod-build (push) Successful in 13s
website-main / test-build (push) Successful in 5s

Reviewed-on: #252
This commit is contained in:
2023-12-13 12:42:59 +01:00
parent 71dd4d4d81
commit 25af663be4
22 changed files with 178 additions and 205 deletions

View File

@ -1,4 +1,14 @@
const EditorProps = {
create: true,
editor: {
preview: true,
frame: true,
size: "half",
},
};
const MarkdownProps = {
widget: "markdown",
toolbar_buttons: {
main: [
"bold",
@ -53,6 +63,9 @@ const MarkdownProps = {
"shortcode",
],
},
media_library: {
folder_support: true,
}
};
const DateFormat = {
@ -74,4 +87,12 @@ const PatternEmail = {
],
};
export { MarkdownProps, DateFormat, DataObject, PatternEmail };
const ImageProps = {
widget: "image",
required: false,
media_library: {
folder_support: true,
}
};
export { EditorProps, MarkdownProps, DateFormat, DataObject, PatternEmail, ImageProps };