View Single Post
Old 10-11-2023, 07:06 PM   #29
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,843
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Windows 10 (up to date)
Calibre 6.18.1 (latest)
Sigil 2.0.1 (Qt 6.5.2)
Page Edit 1.9.10 and 2.0.0

@KevinH - firstly, the calibre Rich Text (aka Long Text and Comments) column editor does support tables, what it lacks is a widget to create one - i.e. one of these:

Click image for larger version

Name:	table widget.jpg
Views:	1085
Size:	32.7 KB
ID:	204235

I pasted the body of your table into the HTML view of a calibre Rich Text column:

Click image for larger version

Name:	1.jpg
Views:	1084
Size:	61.5 KB
ID:	204236

I then copied the Normal View into the clipboard

Click image for larger version

Name:	2.jpg
Views:	1066
Size:	58.8 KB
ID:	204238

I pasted that into Page Edit 1.9.10

Click image for larger version

Name:	3 PE 1.9.10.jpg
Views:	1122
Size:	100.0 KB
ID:	204239

Which resulted in this in Sigil 2.0.1

Click image for larger version

Name:	4 After PE 1.9.10.jpg
Views:	1078
Size:	312.0 KB
ID:	204240

I then installed Page Edit 2.0.0, and pasted the same clip from Calibre into it

Click image for larger version

Name:	5 PE 2.0.0.jpg
Views:	1071
Size:	65.3 KB
ID:	204241

Which resulted in this in Sigil 2.0.1

Click image for larger version

Name:	6 After PE 2.0.0.jpg
Views:	1074
Size:	207.6 KB
ID:	204242

This is the HTML of the Rich Text column I'm pasting into PE,
Code:
<div>
<p>*</p>
<table border="0" cellspacing="2" cellpadding="0">
<tbody><tr>
<td bgcolor="transparent">
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; background-color: transparent"><span style="background-color: transparent">Hello 1</span></p></td>
<td bgcolor="transparent">
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; background-color: transparent"><strong>Hey!</strong> 2</p></td>
<td bgcolor="transparent">
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; background-color: transparent"><span style="background-color: transparent">Hi 3</span></p></td></tr>
<tr>
<td bgcolor="transparent">
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; background-color: transparent"><span style="background-color: transparent">Bye 4</span></p></td>
<td bgcolor="transparent">
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; background-color: transparent"><em>Ta-ta</em> 5</p></td>
<td bgcolor="transparent">
<p style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; background-color: transparent"><span style="background-color: transparent">Duh 6</span></p></td></tr></tbody></table>
<p>*</p></div>
The transformation from what I pasted originally was done by the calibre Rich Text Editor.

Question is - why does it work in PE 1.9.10 and not in PE 2.0.0

BR
BetterRed is offline   Reply With Quote