Skip to content

feat: implement vaadin-markdown component #9023

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

tomivirkki
Copy link
Member

Description

Implement the <vaadin-markdown> component

Type of change

Feature

@tomivirkki tomivirkki marked this pull request as draft April 29, 2025 09:51
updated(props) {
super.updated(props);

renderMarkdownToElement(this, this.markdown);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a check for if (props.has('markdown')) just in case. There are no other props in the component but technically theme attribute from ThemePropertyMixin triggers an internal property which causes update.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link

sonarqubecloud bot commented May 5, 2025

@tomivirkki tomivirkki marked this pull request as ready for review May 5, 2025 13:34
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

Successfully merging this pull request may close these issues.

2 participants