Skip to content

Commit

Permalink
fix: copying form mulitple cells does not retain font attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
Croc-ye committed Dec 24, 2024
1 parent d630516 commit fcb635d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/table/src/lib/withSetFragmentDataTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const withSetFragmentDataTable: ExtendEditor<TableConfig> = ({
data.setData('text/html', divElement.innerHTML);

// set slate fragment
const selectedFragmentStr = JSON.stringify(tableNode);
const selectedFragmentStr = JSON.stringify([tableNode]);
const encodedFragment = window.btoa(
encodeURIComponent(selectedFragmentStr)
);
Expand Down

0 comments on commit fcb635d

Please sign in to comment.