rhino-editor
Version:
A custom element wrapped rich text editor
19 lines (17 loc) • 413 B
JavaScript
// src/exports/extensions/strike.ts
import { mergeAttributes } from "@tiptap/core";
import Strike from "@tiptap/extension-strike";
var CustomStrike = Strike.extend({
name: "rhino-strike",
renderHTML({ HTMLAttributes }) {
return [
"del",
mergeAttributes(this.options.HTMLAttributes, HTMLAttributes),
0
];
}
});
export {
CustomStrike
};
//# sourceMappingURL=chunk-UPXIGH7W.js.map