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

Make the items array usable #443

Closed
matthias-eb opened this issue Dec 18, 2023 · 0 comments · Fixed by #447
Closed

Make the items array usable #443

matthias-eb opened this issue Dec 18, 2023 · 0 comments · Fixed by #447
Assignees
Labels
enhancement New feature or request

Comments

@matthias-eb
Copy link

Currently, it is almost impossible to format the written Text even in the simplest of ways when using the items array.
There is no way to create newline characters, to make Text fat or italic or to create simple lists.
When falling back to the children option, we have to basically rewrite everything as a child component now, as the children cannot be put at any position in the items array, but even override the first n inputs, n being the number of children. Currently, this makes using the items array unusable, when even the simplest of formattings is required.

To target this problem, I would like to either...

...have the option to write markdown into the strings, as this allows for all the necessary formatting in a clear and concise way, or...

...have the option to use some html tags inside strings, or...

...have the option to use pure html inside the items array. This somewhat exists with the timelineContent field, but it currently doesn't work with the readMore button and the styling.

@prabhuignoto prabhuignoto self-assigned this Jan 4, 2024
@prabhuignoto prabhuignoto added the enhancement New feature or request label Jan 4, 2024
@prabhuignoto prabhuignoto linked a pull request Jan 4, 2024 that will close this issue
8 tasks
@prabhuignoto prabhuignoto mentioned this issue Jan 4, 2024
8 tasks
prabhuignoto added a commit that referenced this issue Jan 7, 2024
 - Fix for #434 (onItemSelected does not work as expected)
 - Support for rendering HTML directly on the timeline cards (#443 )
 - New prop `disableRendering` to disable all interactions with the timeline (#294)
 - New prop `highlightCardsOnHover` that highlights cards on hover
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

Successfully merging a pull request may close this issue.

2 participants