View Single Post
Old 10-13-2023, 12:04 AM   #56
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,761
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
When I did the Edit->Paste I got this popop msg

Click image for larger version

Name:	Screenshot 2023-10-13 142528.jpg
Views:	1745
Size:	21.5 KB
ID:	204257

The details are:

Code:
<div>
<!--StartFragment--><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>*<!--EndFragment--></p></div>
If I click No, nothing happens, if I click Yes I see this:

Click image for larger version

Name:	Screenshot 2023-10-13 143355.jpg
Views:	1767
Size:	68.9 KB
ID:	204258

The debug.txt is attached.

And looking at its content, I'm reminded that markdown was added as an option to the JobSpy (plugin)->Note Viewer feature fairly recently. In this context a Note is a Rich Text column (like Leonatus's Annotations, or my Blurb columns), but JS-NoteView is more than a Viewer it's an editor too, and it inherits from the baseline calibre Rich Text column editor class. I have a suspicion that markdown support was added to the baseline rich text column class.

Calibre 5.44 predates markdown formatted rich text columns.

More to come.

BR
Attached Files
File Type: txt PageEdit_debug.txt (125 Bytes, 484 views)
BetterRed is offline   Reply With Quote