Open youthelectronix opened 5 years ago
thank you @youthelectronix - will take a look!
TLDR: I think the problem is in the attributes/values within the <Table>
element that @youthelectronix is using. Tables created with the current default Pressbooks markup export no problem in mPDF. And when I removed style="width: auto;"
from the table element, I was able to export the table in mPDF.
So I don't know if this is a bug or if the table just needs to be recreated using the updated Pressbooks markup. Here are the specifics of what I found:
HTML view:
mPDF view:
HTML view:
Visual Editor view:
MPDF view:
**Note that I also tried creating the table using the same width="XXpx" values used in the previous example, but that did not affect the mPDF output.
style="width: auto;"
from the table element, I get the following:HTML view:
mPDF view:
And I forgot to compare behaviour to Prince.
The style="width: auto;"
is not a problem in Prince PDF exports. Table elements with that attribute/value appear fine, so this is definately a mPDF problem.
Description
Table is not appearing in an mPDF export.
Pressbooks version
text editor
mPDF version
System Information