Skip to content

Commit

Permalink
fix: remove basic marks plugin, add bold and italic plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
olexh committed Dec 24, 2024
1 parent 2a48692 commit d0d02ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/markdown/editor/plugins.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import { BasicElementsPlugin } from '@udecode/plate-basic-elements/react';
import { BasicMarksPlugin } from '@udecode/plate-basic-marks/react';
import { BoldPlugin, ItalicPlugin } from '@udecode/plate-basic-marks/react';
import { BlockquotePlugin } from '@udecode/plate-block-quote/react';
import { ExitBreakPlugin, SoftBreakPlugin } from '@udecode/plate-break/react';
import { isSelectionAtBlockStart } from '@udecode/plate-common';
Expand Down Expand Up @@ -30,7 +30,8 @@ const resetBlockTypesCommonRule = {
export const editorPlugins = [
DiffPlugin,
BasicElementsPlugin,
BasicMarksPlugin,
BoldPlugin,
ItalicPlugin,
linkPlugin,
ListPlugin,
NumberedListPlugin,
Expand Down

0 comments on commit d0d02ca

Please sign in to comment.