UNPKG

@opentiny/fluent-editor

Version:

A rich text editor based on Quill 2.0, which extends rich modules and formats on the basis of Quill. It's powerful and out-of-the-box.

28 lines (27 loc) 560 B
import CustomResizeAction from "../actions/CustomResizeAction.es.js"; import DeleteAction from "../actions/DeleteAction.es.js"; class BlotSpec { constructor(formatter) { this.formatter = formatter; } init() { } getActions() { return [CustomResizeAction, DeleteAction]; } getTargetElement() { return null; } getOverlayElement() { return this.getTargetElement(); } setSelection() { this.formatter.quill.setSelection(null); } onHide() { } } export { BlotSpec as default }; //# sourceMappingURL=BlotSpec.es.js.map