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