import { UmbTiptapToolbarElementApiBase } from '../tiptap-toolbar-element-api-base.js';
export default class UmbTiptapToolbarClearFormattingExtensionApi extends UmbTiptapToolbarElementApiBase {
    execute(editor) {
        editor?.chain().focus().clearNodes().unsetAllMarks().unsetClassName().unsetStyles().run();
    }
}
