UNPKG

@blinkk/editor

Version:

Structured content editor with live previews.

23 lines 661 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EmptyPart = void 0; const _1 = require("."); const selective_edit_1 = require("@blinkk/selective-edit"); class EmptyPart extends _1.BasePart { constructor(config) { super(); this.config = config; } classesForPart() { return { le__part__empty: true, }; } template(editor) { return selective_edit_1.html `<div class=${selective_edit_1.classMap(this.classesForPart())}> Select a file from the menu to begin editing. </div>`; } } exports.EmptyPart = EmptyPart; //# sourceMappingURL=empty.js.map