@dialpad/dialtone-vue
Version:
Vue component library for Dialpad's design system Dialtone
37 lines (36 loc) • 900 B
JavaScript
;
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const core = require("@tiptap/core");
const vue2 = require("@tiptap/vue-2");
const MeetingPill$1 = require("./MeetingPill.vue.cjs");
const MeetingPill = core.Node.create({
atom: true,
group: "inline",
inline: true,
addNodeView() {
return vue2.VueNodeViewRenderer(MeetingPill$1.default);
},
addAttributes() {
return {
text: {
default: 'Please pass in "text" attribute'
},
"close-button-aria-label": {}
};
},
parseHTML() {
return [
{
tag: "meeting-pill"
}
];
},
renderText({ node }) {
return "/dpm";
},
renderHTML({ HTMLAttributes }) {
return ["meeting-pill", core.mergeAttributes(HTMLAttributes)];
}
});
exports.default = MeetingPill;
//# sourceMappingURL=meeting_pill.cjs.map