Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Formatted text field #1023

Open
HackHerz opened this issue Jan 4, 2024 · 3 comments
Open

[FR] Formatted text field #1023

HackHerz opened this issue Jan 4, 2024 · 3 comments

Comments

@HackHerz
Copy link

HackHerz commented Jan 4, 2024

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!

@risalt
Copy link

risalt commented Jan 18, 2024

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

@HackHerz
Copy link
Author

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?

@risalt
Copy link

risalt commented Jan 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants