View Single Post
Old 07-22-2016, 03:29 PM   #26
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Attached are 2 images of editing a row within the list view, and 1 of table custom_columns.

1 of 2 shows using F2 to edit a single column of a single book. That column is datatype=comments with is_plain_text = True. The editor used does NOT use a "completer" with a dropdown. No suggestions. Just a simple line edit function.

2 of 2 shows using F2 to do the same thing, except the column is datatype=comments with is_plain_text = False. This is the original comments custom column editor for HTML text.

In the table custom_columns image, the unused (but available for plugins to use henceforth) attributes are shown: is_base64 and mimetype.

Only custom columns created after the code was changed will show those new attributes, unless a custom column is manually changed in Preferences for any reason. If they don't have them, then implicitly their value is either 'false' or '', depending on the attribute. No harm and no foul if they are never changed in the future.


DaltonST
Attached Thumbnails
Click image for larger version

Name:	comments_library_view_book_list_inline_edit_for_comments_custom_column_is_plain_text_is_true.png
Views:	410
Size:	48.8 KB
ID:	150411   Click image for larger version

Name:	comments_library_view_book_list_inline_edit_for_comments_custom_column_is_plain_text_is_false.png
Views:	406
Size:	37.9 KB
ID:	150412   Click image for larger version

Name:	table_custom_columns.png
Views:	431
Size:	20.3 KB
ID:	150413  
DaltonST is offline   Reply With Quote