@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.
13 lines (12 loc) • 519 B
JavaScript
;
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const Quill = require("quill");
const Inline = Quill.imports["blots/inline"];
class StrikeBlot extends Inline {
// 此处删除了formats方法,当前tag非span,则并不需要进行特殊处理去重写formats方法
}
StrikeBlot.blotName = "strike";
StrikeBlot.tagName = "u";
StrikeBlot.className = "ql-custom-strike";
exports.default = StrikeBlot;
//# sourceMappingURL=strike.cjs.js.map