Skip to content

Commit f8d2f29

Browse files
committed
rm command palette command
1 parent f07f01d commit f8d2f29

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/index.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -735,24 +735,6 @@ svg.rs-svg-container {
735735
);
736736
},
737737
});
738-
extensionAPI.ui.commandPalette.addCommand({
739-
label: "Custom Discourse Node Menu Trigger",
740-
callback: () => {
741-
const currentlyEditingBlock = document.querySelector(
742-
"textarea.rm-block-input"
743-
) as HTMLTextAreaElement;
744-
if (!currentlyEditingBlock) {
745-
renderToast({
746-
id: "query-builder-create-block",
747-
content: "Must be focused on a block to create a Discourse Node",
748-
});
749-
return;
750-
}
751-
renderDiscourseNodeMenu({
752-
textarea: currentlyEditingBlock,
753-
});
754-
},
755-
});
756738
const renderCustomBlockView = ({
757739
view,
758740
blockUid,

0 commit comments

Comments
 (0)