xdan/jodit

Table borders do not get printed

Closed this issue · 1 comments

Jodit Version: 4.xxxxx

Browser: Firefox
OS: Linux
Is React App: False
Reproduced on xdsoft.net: True

The generated HTML does not appear to specify "border" - only "border-color". As a result, tables pasted from Jodit will lose their borders, and also won't get printed using either Jodit's print button or CTRL+p on the browser, even on the original page.

This is the code generated:

<table style="border-collapse:collapse;width: 100%;">
    <tbody>
        <tr>
            <td style="width: 25%; border-color: rgb(0, 0, 0);"><br></td>
            <td style="width: 39.3375%; border-color: rgb(133, 32, 12);">Eldorado<br></td>
            <td style="width: 6.72878%;"><br></td>
            <td style="width: 28.882%; border-color: rgb(152, 0, 0);"><br></td>
        </tr>

    </tbody>
</table>

Actually that was a browser issue and me testing things outside the normal usecase, but i'll reopen the issue if it arises again