/**
 * Copyright 2019 Penn State University
 * @license Apache-2.0, see License.md for full text.
 */
import{LitElement as t,html as e,css as r}from"../../../lit/index.js";import{HAXStore as o}from"./hax-store.js";import{RichTextEditorButtonBehaviors as a}from"../../rich-text-editor/lib/buttons/rich-text-editor-button.js";class HaxTextEditorPasteButton extends(a(t)){static get tag(){return"hax-text-editor-paste-button"}render(){return super.render()}static get properties(){return{...super.properties}}constructor(){super(),this.command="paste",this.icon="content-paste",this.label="Paste Clipboard"}sendCommand(t){navigator&&globalThis.navigator.clipboard&&o._onPaste({...t,clipboardData:globalThis.navigator.clipboard})}}customElements.define(HaxTextEditorPasteButton.tag,HaxTextEditorPasteButton);export{HaxTextEditorPasteButton};