Skip to content

Build your personal knowledge base with Trilium Notes

263 B
Raw Blame
import { Plugin } from "ckeditor5";

export default class StrikethroughAsDel extends Plugin {

	init() {
		this.editor.conversion
			.for("downcast")
			.attributeToElement({
				model: "strikethrough",
				view: "del",
				converterPriority: "high"
			});
	}

}