mirror of
https://github.com/UiO-Gaming/uiogaming.no-backend.git
synced 2026-11-05 13:56:49 +01:00
45 lines
998 B
JavaScript
45 lines
998 B
JavaScript
export default {
|
|
title: "Block Content",
|
|
name: "blockContent",
|
|
type: "array",
|
|
of: [
|
|
{
|
|
title: "Block",
|
|
type: "block",
|
|
styles: [
|
|
{ title: "Normal", value: "normal" },
|
|
{ title: "H1", value: "h1" },
|
|
{ title: "H2", value: "h2" },
|
|
{ title: "H3", value: "h3" },
|
|
{ title: "H4", value: "h4" },
|
|
{ title: "Quote", value: "blockquote" },
|
|
],
|
|
lists: [{ title: "Bullet", value: "bullet" }],
|
|
marks: {
|
|
decorators: [
|
|
{ title: "Strong", value: "strong" },
|
|
{ title: "Emphasis", value: "em" },
|
|
],
|
|
annotations: [
|
|
{
|
|
title: "URL",
|
|
name: "link",
|
|
type: "object",
|
|
fields: [
|
|
{
|
|
title: "URL",
|
|
name: "href",
|
|
type: "url",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
},
|
|
{
|
|
type: "image",
|
|
options: { hotspot: true },
|
|
},
|
|
],
|
|
};
|