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

[REQUEST] Item descriptions render as HTML #297

Open
antijingoist opened this issue Jul 31, 2024 · 0 comments
Open

[REQUEST] Item descriptions render as HTML #297

antijingoist opened this issue Jul 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@antijingoist
Copy link

Is your feature request related to a problem? Please describe.
When providing text descriptions for items, it's occasionally helpful to format that text with line endings, horizontal rules, list, blockquotes, etc. For example, an email item could contain the text of the email, or a flyer can have it's text in the description too. This allows for reading important information, even when a choice is presented: you wouldn't have to use the item to generate it's content in the dialog, and you can save that use action for something else.

Describe the solution you'd like
Have the text rendered in the item description as HTML instead of text. I suspect it's a matter of adding v-html to the element that renders it, currently .item-description-container > .item-right > p

Would also like the paragraph element swapped with a div, so that the p element can be used inside.

@antijingoist antijingoist added the enhancement New feature or request label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant