Skip to content

Commit

Permalink
feat: 后台编辑器换行与前台保持统一,两个回车才换行 #148
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Feb 7, 2023
1 parent 9a20c05 commit c4939b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/admin/src/components/Editor/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import breaks from '@bytemd/plugin-breaks';
// import breaks from '@bytemd/plugin-breaks';
import frontmatter from '@bytemd/plugin-frontmatter';
import gfm from '@bytemd/plugin-gfm';
import highlight from '@bytemd/plugin-highlight';
Expand Down Expand Up @@ -38,7 +38,6 @@ export default function EditorComponent(props: {
customContainer(),
gfm({ locale: cn }),
highlight(),
breaks(),
frontmatter(),
math({ locale: cn }),
mediumZoom(),
Expand Down

0 comments on commit c4939b6

Please sign in to comment.