tav-ui
Version:
25 lines (20 loc) • 625 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var vue = require('vue');
function useEditorToolbar(options) {
const { mergedProps } = options;
const toolbarConfig = vue.computed(() => {
return {
toolbar: `undo redo removeformat | formatselect bold italic | lists aligns blockquote hr | table uploadimage uploadfile link | fullscreen code`,
toolbarOptions: {
toolbar_sticky: true,
toolbar_mode: "floating"
}
};
});
return {
toolbarConfig
};
}
exports.useEditorToolbar = useEditorToolbar;
//# sourceMappingURL=use-editor-toolbar2.js.map