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

Allow tables defined in markdown on forms to be styled #868

Open
Skaiir opened this issue Oct 28, 2023 · 1 comment
Open

Allow tables defined in markdown on forms to be styled #868

Skaiir opened this issue Oct 28, 2023 · 1 comment
Labels
backlog Queued in backlog enhancement New feature or request needs discussion Needs further discussion

Comments

@Skaiir
Copy link
Contributor

Skaiir commented Oct 28, 2023

This request is a copy over from our forums, https://forum.camunda.io/t/allow-tables-defined-in-markdown-on-forms-to-be-styled/48468, and directly quoted, I'll leave my thoughts below.

Is your feature request related to a problem? Please describe.

It would be nice to allow for tables defined via markdown in a Text View to be styled. The example below shows a basic table, but ideally if were a complex table with many columns and rows, then for example be able to add borders and alternate colored rows, maybe via style tags as shown below.

Essentially, what's requested here is the ability to style the text view rendered output.

Describe the solution you'd like

The user would like to be able to style the css of the text viewer via style tags, as shown in the provided screenshot.

b5958a00c053cc1f904a45923b8a6711b390c106_2_1035x676

Describe alternatives you've considered

n/a

@Skaiir Skaiir added enhancement New feature or request needs discussion Needs further discussion labels Oct 28, 2023
@Skaiir
Copy link
Contributor Author

Skaiir commented Oct 28, 2023

Some of my thoughts:

First of all, styles are a mild security risk here, because we're within a variable injection context, it might make more sense to keep style definitions outside of the text view itself and statically defined.

Secondly, just how far do we want to support styling individual forms as an extension? And if we do, maybe it makes more sense to do so at a higher level of scope, instead of individually in each component.

Finally, within Camunda context, there's the matter of the carbonization layer, and how customization will interact with it. It wouldn't be easy to display the custom styles, as modeler isn't carbonized yet, so the final look in tasklist wouldn't be representative.

@pinussilvestrus pinussilvestrus added the backlog Queued in backlog label Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog enhancement New feature or request needs discussion Needs further discussion
Projects
None yet
Development

No branches or pull requests

2 participants