PHP 7.4.33
Preview: richtext-blocks.ts Size: 1.33 KB
/var/www/nea-dev-frontend.wpress.dk/httpdocs/src/interfaces/richtext-blocks.ts
export interface RichTextBlocks {
  blocks?: Block[];
}

export interface Block {
  name?: Name;
  attributes?: BlockAttributes;
  innerBlocks?: BlockInnerBlock[];
}

export interface BlockAttributes {
  content?: string;
  dropCap?: boolean;
  level?: number;
  id?: number;
  width?: number;
  height?: number | string;
  aspectRatio?: string;
  sizeSlug?: string;
  linkDestination?: string;
  align?: string;
  url?: string;
  alt?: string;
  opacity?: string;
  style?: Style;
  ordered?: boolean;
  values?: string;
}

export interface Style {
  typography?: Typography;
}

export interface Typography {
  textDecoration?: string;
}

export interface BlockInnerBlock {
  content: string;
  ordered: boolean;
  name?: string;
  attributes?: PurpleAttributes;
  innerBlocks?: PurpleInnerBlock[];
}

export interface PurpleAttributes {
  content?: string;
}

export interface PurpleInnerBlock {
  name?: Name;
  attributes?: FluffyAttributes;
  innerBlocks?: FluffyInnerBlock[];
}

export interface FluffyAttributes {
  ordered?: boolean;
  values?: string;
}

export interface FluffyInnerBlock {
  name?: string;
  attributes?: PurpleAttributes;
}

export enum Name {
  CoreHeading = 'core/heading',
  CoreImage = 'core/image',
  CoreList = 'core/list',
  CoreParagraph = 'core/paragraph',
  CoreSeparator = 'core/separator',
  CoreSpacer = 'core/spacer',
}

Directory Contents

Dirs: 0 × Files: 7
Name Size Perms Modified Actions
3.86 KB lrw-r--r-- 2026-02-13 12:06:30
Edit Download
304 B lrw-r--r-- 2025-08-12 08:52:38
Edit Download
434 B lrw-r--r-- 2025-08-12 08:52:38
Edit Download
306 B lrw-r--r-- 2025-08-12 08:52:38
Edit Download
1.33 KB lrw-r--r-- 2025-08-12 08:52:38
Edit Download
4.13 KB lrw-r--r-- 2025-08-12 08:52:38
Edit Download
90 B lrw-r--r-- 2025-08-12 08:52:38
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).