Border not showing when copying from Excel #18016
Labels
pending:feedback
This issue is blocked by necessary feedback.
type:bug
This issue reports a buggy (incorrect) behavior.
π Provide detailed reproduction steps (if any)
βοΈ Expected result
Generate the html code correctly and get the same result as it is display on the Excel with the borders.
β Actual result
Border displays properly in CKEditor but when the generated HTML is rendered outside, it loses the top border.
Sample Tablexlsx.xlsx
Generated HTML code of CKEditor
<figure class="table" style="width:96pt;"><table class="ck-table-resized"><colgroup><col style="width:50%;"><col style="width:50%;"></colgroup><tbody><tr><td style="background-color:white;border-color:windowtext;border-width:0.5pt;height:14.4pt;padding-left:1px;padding-right:1px;padding-top:1px;vertical-align:bottom;width:48pt;"> </td><td style="background-color:white;border-bottom-style:solid;border-color:windowtext;border-left-style:none;border-right-style:solid;border-top-style:solid;border-width:0.5pt;padding-left:1px;padding-right:1px;padding-top:1px;vertical-align:bottom;width:48pt;"><span style="color:black;font-family:"Aptos Narrow", sans-serif;font-size:11pt;">SYS</span></td></tr><tr><td style="background-color:white;border-bottom-style:solid;border-color:windowtext;border-left-style:solid;border-right-style:solid;border-top-style:none;border-width:0.5pt;height:14.4pt;padding-left:1px;padding-right:1px;padding-top:1px;vertical-align:bottom;"><span style="color:black;font-family:"Aptos Narrow", sans-serif;font-size:11pt;">Tender</span></td><td style="background-color:white;border-bottom-style:solid;border-color:windowtext;border-left-style:none;border-right-style:solid;border-top-style:none;border-width:0.5pt;padding-left:1px;padding-right:1px;padding-top:1px;text-align:right;vertical-align:bottom;"><span style="color:black;font-family:"Aptos Narrow", sans-serif;font-size:11pt;">5229</span></td></tr></tbody></table></figure>
π Other details
If you'd like to see this fixed sooner, add a π reaction to this post.
The text was updated successfully, but these errors were encountered: