Skip to content

Commit

Permalink
fix: disable autoformat plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
olexh committed Dec 21, 2024
1 parent e1683d1 commit 3e05889
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@
"remark-mentions": "^1.1.0",
"remark-parse": "^11.0.0",
"sharp": "^0.33.5",
"slate": "^0.110.2",
"slate": "^0.112.0",
"slate-dom": "^0.111.0",
"slate-history": "^0.110.3",
"slate-hyperscript": "^0.100.0",
"slate-react": "^0.111.0",
"slate-react": "^0.112.0",
"tailwind-gradient-mask-image": "^1.2.0",
"tailwind-merge": "^2.5.4",
"tailwindcss": "3.4.14",
Expand Down
4 changes: 2 additions & 2 deletions src/components/markdown/editor/plugins.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { ResetNodePlugin } from '@udecode/plate-reset-node/react';
import { DeletePlugin } from '@udecode/plate-select';
import { TrailingBlockPlugin } from '@udecode/plate-trailing-block';

import { autoformatListPlugin } from './plugins/autoformat-list-plugin';
// import { autoformatListPlugin } from './plugins/autoformat-list-plugin';
import { DiffPlugin } from './plugins/diff-plugin';
import { linkPlugin } from './plugins/link-plugin';
import { MarkdownPlugin } from './plugins/markdown-plugin/markdown-plugin';
Expand All @@ -35,7 +35,7 @@ export const editorPlugins = [
ListPlugin,
NumberedListPlugin,
BulletedListPlugin,
autoformatListPlugin,
// autoformatListPlugin,
SpoilerPlugin,
TrailingBlockPlugin.configure({ options: { type: ParagraphPlugin.key } }),
MarkdownPlugin,
Expand Down

0 comments on commit 3e05889

Please sign in to comment.