@frontify/fondue
Version:
Design system of Frontify
31 lines (30 loc) • 787 B
JavaScript
import { createSubscriptPlugin as t } from "@udecode/plate-basic-marks";
import { SubscriptButton as o } from "./SubscriptButton.es.js";
import { SubscriptMarkupElement as p } from "./SubscriptMarkupElement.es.js";
import { SubscriptMarkupElementNode as a } from "./SubscriptMarkupElement.es.js";
import { SUBSCRIPT_PLUGIN as e } from "./id.es.js";
import { Plugin as u } from "../../Plugin.es.js";
class S extends u {
constructor(r) {
super(e, {
button: o,
markupElement: new p(),
...r
});
}
plugins() {
return [
t({
options: {
hotkey: ["mod+.", "ctrl+."]
}
})
];
}
}
export {
p as SubscriptMarkupElement,
a as SubscriptMarkupElementNode,
S as SubscriptPlugin
};
//# sourceMappingURL=index.es.js.map