import { UmbTiptapToolbarElementApiBase } from '../tiptap-toolbar-element-api-base.js';
export default class UmbTiptapToolbarHeading6ExtensionApi extends UmbTiptapToolbarElementApiBase {
    isActive(editor) {
        return editor?.isActive('heading', { level: 6 }) === true;
    }
    execute(editor) {
        editor?.chain().focus().toggleHeading({ level: 6 }).run();
    }
}
