medium-proeditor
Version:
A powerful & customizable Medium-style rich text editor
16 lines • 478 B
TypeScript
import type { Schema } from 'prosemirror-model';
import type { EditorView } from 'prosemirror-view';
export interface Metadata {
title?: string;
subtitle?: string;
kicker?: string;
titleFallback?: string;
subtitleFallback?: string;
subtitleHTML?: string;
kickerHTML?: string;
featuredImage?: {
url: string;
};
}
export declare function getMetadata(view: EditorView, schema: Schema): Metadata;
//# sourceMappingURL=getMetadata.d.ts.map