diff --git a/src/views/FormBuilder.svelte b/src/views/FormBuilder.svelte index 6215b4c2..480f91e2 100644 --- a/src/views/FormBuilder.svelte +++ b/src/views/FormBuilder.svelte @@ -7,7 +7,7 @@ validateFields, } from "src/core/formDefinition"; import { FolderSuggest } from "src/suggesters/suggestFolder"; - import { setIcon, Setting, App, Notice } from "obsidian"; + import { setIcon, Setting, App } from "obsidian"; import FormRow from "./components/FormRow.svelte"; import InputBuilderDataview from "./components/inputBuilderDataview.svelte"; import InputBuilderSelect from "./components/InputBuilderSelect.svelte"; @@ -90,11 +90,6 @@ if (!isValidFormDefinition(definition)) return; onPreview(definition); }; - const handleExport = () => { - if (!isValidFormDefinition(definition)) return; - navigator.clipboard.writeText(JSON.stringify(definition)); - new Notice("Form has been copied to the clipboard"); - };