diff --git a/.changeset/fresh-towns-eat.md b/.changeset/fresh-towns-eat.md new file mode 100644 index 00000000..4e761146 --- /dev/null +++ b/.changeset/fresh-towns-eat.md @@ -0,0 +1,5 @@ +--- +"@stackoverflow/stacks-editor": patch +--- + +Include Snippets Icon for local development. Minor copy change to Snippets menu item. diff --git a/plugins/official/stack-snippets/src/stackSnippetPlugin.ts b/plugins/official/stack-snippets/src/stackSnippetPlugin.ts index 741eeff8..4bcf0da8 100644 --- a/plugins/official/stack-snippets/src/stackSnippetPlugin.ts +++ b/plugins/official/stack-snippets/src/stackSnippetPlugin.ts @@ -71,7 +71,7 @@ export const stackSnippetPlugin: (opts?: StackSnippetOptions) => EditorPlugin = display: makeMenuButton( "StackSnippets", { - title: `Stack Snippet (${Utils.getShortcut("Mod-9")})`, + title: `Stack Snippets (${Utils.getShortcut("Mod-9")})`, description: "Runnable code block", }, "stack-snippet-open-btn" diff --git a/src/styles/icons.css b/src/styles/icons.css index baea1457..c9b69c21 100644 --- a/src/styles/icons.css +++ b/src/styles/icons.css @@ -24,3 +24,6 @@ width: 21px; --bg-icon: url("~@stackoverflow/stacks-icons/src/Icon/SearchSm.svg"); } +.svg-icon-bg.iconStackSnippets { + --bg-icon: url("~@stackoverflow/stacks-icons/src/Icon/StackSnippets.svg"); +}