File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
packages/core/src/api/clipboard Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1- < tr > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > </ tr > < tr > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > </ tr >
1+ < table > < tr > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > </ tr > < tr > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > </ tr > </ table >
Original file line number Diff line number Diff line change 1- < tr > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > </ tr >
1+ < table > < tr > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > </ tr > </ table >
Original file line number Diff line number Diff line change 1- < tr > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > </ tr >
1+ < table > < tr > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > < td colspan ="1 " rowspan ="1 "> < p > Table Cell</ p > </ td > </ tr > </ table >
Original file line number Diff line number Diff line change @@ -80,7 +80,10 @@ function fragmentToExternalHTML<
8080 editor . schema . styleSchema
8181 ) ;
8282
83- externalHTML = externalHTMLExporter . exportInlineContent ( ic as any , { } ) ;
83+ externalHTML = `<table>${ externalHTMLExporter . exportInlineContent (
84+ ic as any ,
85+ { }
86+ ) } </table>`;
8487 } else if ( isWithinBlockContent ) {
8588 // first convert selection to blocknote-style inline content, and then
8689 // pass this to the exporter
You can’t perform that action at this time.
0 commit comments