koillection icon indicating copy to clipboard operation
koillection copied to clipboard

[FR] Formatted text field

Open HackHerz opened this issue 1 year ago • 3 comments

I would like to add a description or notes to my items. Currently this only seems to be possible using the "long text" field. Ideally (at least for me) that description field would be formattable. Something like markdown or even plain html is fine for me, I do not need a rich or even WYSIWYG editor. Is this already possible?

In my opinion it makes no sense to have this description searchable or even have multiple fields with that capability. Therefore I am wondering if it would be clever to add a rich text "Description" directly to items/collections instead of it being a member of "Additional fields" (not sure if my explanation makes sense)? Is this something other people would find usefull as well?

P.S.: I am using koillection to document my sewing projects. Works great!

HackHerz avatar Jan 04 '24 10:01 HackHerz

Hi! (just a user here) In my collection, I do use regular HTML in the Text fields, but it is ignored in the Long Text fields. Have you tried that? I like adding additional pieces of information I need as additional item fields, as it is now, rather than having extra fields in the Item "header", that may or may not be used.

Screenshot from 2024-01-18 20-19-56

risalt avatar Jan 18 '24 19:01 risalt

Thanks for the tip! I didn't know that the regular text field allows for HTML. Although it is quite cumbersome to write a lot of text in it, the large text field would be easier. Are you writing your html directly in the input field or are you copy-pasting from a text editor?

HackHerz avatar Jan 19 '24 10:01 HackHerz

Welcome! I certainly copy paste from a notepad-style plain text editor. It's probably easy to deactivate the sanitizer that prevents the tags from working in the Long Text field. These webs are for private use in local networks, otherwise that would be a major security hole.

risalt avatar Jan 19 '24 16:01 risalt