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

feat(NcRichContenteditable): Allow to pass in an icon URL #3984

Merged

Conversation

nickvergessen
Copy link
Contributor

@nickvergessen nickvergessen commented Apr 18, 2023

@nickvergessen nickvergessen added enhancement New feature or request 3. to review Waiting for reviews feature: rich-contenteditable Related to the rich-contenteditable components labels Apr 18, 2023
@nickvergessen nickvergessen added this to the 7.9.1 milestone Apr 18, 2023
@nickvergessen nickvergessen self-assigned this Apr 18, 2023
@@ -67,6 +67,10 @@ export default {
type: String,
required: true,
},
iconUrl: {
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is the avatar url, I would also call it avatarUrl.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Then it conflicts with the computed and the CSS avatar option is also called icon so I tried to keep it simple and inline

Copy link
Contributor

Choose a reason for hiding this comment

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

We could come up with something like predefinedUrl, as we provide here a ready-to-download URL

Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Works properly, shouldn't break anything

@@ -67,6 +67,10 @@ export default {
type: String,
required: true,
},
iconUrl: {
Copy link
Contributor

Choose a reason for hiding this comment

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

We could come up with something like predefinedUrl, as we provide here a ready-to-download URL

@Pytal Pytal modified the milestones: 7.9.1, 7.11.0 Apr 18, 2023
@nickvergessen nickvergessen modified the milestones: 7.11.0, 7.10.1 Apr 18, 2023
@marcoambrosini marcoambrosini merged commit ab4bc00 into master Apr 19, 2023
@marcoambrosini marcoambrosini deleted the feat/noid/allow-icon-url-for-autocomplete-results branch April 19, 2023 08:49
@raimund-schluessler raimund-schluessler modified the milestones: 7.10.1, 7.11.0 May 3, 2023
@artonge artonge mentioned this pull request May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature or request feature: rich-contenteditable Related to the rich-contenteditable components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants