@keystatic/core

Search for an npm package
import { ObjectField } from "../../../../index.js";
import { BasicStringFormField } from "../index.js";
export type DocumentFeatures = {
formatting: {
inlineMarks: {
bold: boolean;
italic: boolean;
underline: boolean;
strikethrough: boolean;
code: boolean;
superscript: boolean;
subscript: boolean;
keyboard: boolean;
};
listTypes: {
ordered: boolean;
unordered: boolean;
};
alignment: {
center: boolean;
end: boolean;
};
headings: {
schema: ObjectField;
levels: (1 | 2 | 3 | 4 | 5 | 6)[];
};
blockTypes: {
blockquote: boolean;
code: false | {
schema: ObjectField;
};
};
softBreaks: boolean;
};
links: boolean;
images: false | {
directory?: string;
publicPath?: string;
schema: {
alt: BasicStringFormField;
title: BasicStringFormField;
};
};
dividers: boolean;
layouts: [number, ...number[]][];
tables: boolean;
};