Skip to content

Commit

Permalink
chore: rename standard editor
Browse files Browse the repository at this point in the history
  • Loading branch information
1inxe committed Jul 15, 2023
1 parent 1008d73 commit 7c5c031
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/next_demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pnpm dev

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
You can start editing the page by modifying `pages/standardEditor.tsx`. The page auto-updates as you edit the file.

[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Editor from './editor';
import Editor from './editor/standardEditor';

export { default as PureEditor } from './editor/pureEditor';
export * from './types/monaco';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ const PropsInfo = {
type: 'boolean',
default: false,
},
mode: {
type: 'string',
default: 'standard',
},
};

function SoliveCodeBlock(props: SoliveCodeBlockProps) {
Expand Down

0 comments on commit 7c5c031

Please sign in to comment.