Skip to content

Commit

Permalink
webiste: update example.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 29, 2022
1 parent af4c448 commit 8acedb0
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions www/src/Example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,6 @@ const Example = (props = {} as { mdStr: string }) => {
autoFocus
value={state.value}
overflow={state.overflow}
components={{
toolbar: (command, disabled, executeCommand) => {
if (command.keyCommand === 'code') {
return (
<button
aria-label="Insert title3"
disabled={disabled}
onClick={(evn) => {
evn.stopPropagation();
executeCommand(command, command.groupName);
}}
>
btn
</button>
);
}
},
}}
previewOptions={{
linkTarget: '_blank',
rehypePlugins: [
Expand Down

1 comment on commit 8acedb0

@vercel
Copy link

@vercel vercel bot commented on 8acedb0 Jul 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.