Manuscript Tables not rendering correctly in 'Read' mode

Open
Feature
Manuscripts
Reported by
efaegas
Opened
Assigned to
Dimitris
Last activity

Description

I am specifically having an issue with table borders not rendering, but it looks like cell padding is also not working so there may be others as well.


In 'Read' mode, when I Inspect a table element in my browser, I see it is using the outdated HTML syntax
<table border="1">

instead of the modern syntax

<table style="border-width: 1px">

I don't know if this is root cause of the problem, but might be related.

I've reproduced the issue in Chrome (Windows 11 and Android), Microsoft Edge (W11), and Firefox(W11)

Steps to Reproduce

1) Create a new Text page in a manuscript

2) Insert a table of any size and populate elements (which defaults to a 1px border)

3) Toggle "Read" mode

Expected Result: Table will not render any borders

4) Use the browser's Inspect tool to inspect the table element

Expected Result: Table HTML uses old syntax
<table style="<other settings>" border="1">

5) In the inspect tool, edit the table element to

<table style="<other settings>; border-width: 1px;">

Expected Result:
Table border renders correctly

History

Comments and updates to this report