Skip to content

Commit

Permalink
change slash menu option
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamesh-dukare committed Jan 16, 2024
1 parent b4526fc commit 04876be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/ui/editor/default-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const defaultEditorContent = {
{
type: "heading",
attrs: { level: 2 },
content: [{ type: "text", text: "Introducing Novel" }],
content: [{ type: "text", text: "Introducing Novel clone 1" }],
},
{
type: "paragraph",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/ui/editor/extensions/slash-command.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ const Command = Extension.create({
const getSuggestionItems = ({ query }: { query: string }) => {
return [
{
title: "Continue writing",
description: "Use AI to expand your thoughts.",
title: "Scattr Ai Help",
description: "Use our ai for better completion",
searchTerms: ["gpt"],
icon: <Magic className="novel-w-7" />,
},
Expand Down

0 comments on commit 04876be

Please sign in to comment.