diff --git a/.changeset/text-actions-in-table-cell.md b/.changeset/text-actions-in-table-cell.md new file mode 100644 index 0000000000..962d8c9d01 --- /dev/null +++ b/.changeset/text-actions-in-table-cell.md @@ -0,0 +1,5 @@ +--- +"@udecode/plate-table": patch +--- + +fix: [Text actions (bald, italic, code) don't work properly inside a table cell](https://github.com/udecode/plate/issues/3660) \ No newline at end of file diff --git a/packages/table/src/react/withTable.ts b/packages/table/src/react/withTable.ts index 12a0395e61..20ff052e19 100644 --- a/packages/table/src/react/withTable.ts +++ b/packages/table/src/react/withTable.ts @@ -5,7 +5,6 @@ import { withDeleteTable } from './withDeleteTable'; import { withGetFragmentTable } from './withGetFragmentTable'; import { withInsertFragmentTable } from './withInsertFragmentTable'; import { withInsertTextTable } from './withInsertTextTable'; -import { withMarkTable } from './withMarkTable'; import { withSelectionTable } from './withSelectionTable'; import { withSetFragmentDataTable } from './withSetFragmentDataTable'; @@ -17,7 +16,6 @@ export const withTable: ExtendEditor = ({ editor, ...ctx }) => { editor = withInsertTextTable({ editor, ...ctx }); editor = withSelectionTable({ editor, ...ctx }); editor = withSetFragmentDataTable({ editor, ...ctx }); - editor = withMarkTable({ editor, ...ctx }); - + return editor; };