@blinkk/editor
Version:
Structured content editor with live previews.
15 lines (14 loc) • 613 B
TypeScript
import { ContentSectionPart, ContentSectionPartConfig } from './section';
import { TemplateResult } from '@blinkk/selective-edit';
import { LiveEditor } from '../../editor';
import TimeAgo from 'javascript-time-ago';
export declare class HistoryPart extends ContentSectionPart {
timeAgo: TimeAgo;
constructor(config: ContentSectionPartConfig);
get canChangeSection(): boolean;
get label(): string;
get section(): string;
templateAction(editor: LiveEditor): TemplateResult;
templateChanges(editor: LiveEditor): TemplateResult;
templateContent(editor: LiveEditor): TemplateResult;
}