tav-ui
Version:
21 lines (18 loc) • 533 B
JavaScript
import { computed } from 'vue';
function useEditorToolbar(options) {
const { mergedProps } = options;
const toolbarConfig = 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
};
}
export { useEditorToolbar };
//# sourceMappingURL=use-editor-toolbar2.mjs.map