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

[NcRichText] Add style to mount point for custom picker and custom widget elements #6108

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

julien-nc
Copy link
Contributor

@julien-nc julien-nc commented Sep 20, 2024

Mounting in Vue 3 does not replace the mount point but sets its innerHTML. So the mount point needs to be styled to take all the space in its container.

This does not affect custom elements mounted with Vue 2 because the mount point is replaced so it disappears.
It will only fix custom elements mounted with Vue 3.

This can be forward-ported to next.

…and custom wiget because mounting in vue3 does not replace the mount point but sets its innerHTML

Signed-off-by: Julien Veyssier <[email protected]>
@julien-nc julien-nc added enhancement New feature or request 3. to review Waiting for reviews technical debt feature: richtext Related to the richtext component labels Sep 20, 2024
@julien-nc julien-nc added this to the 8.19.1 milestone Sep 20, 2024
@juliusknorr juliusknorr merged commit 8064fd8 into master Oct 11, 2024
19 checks passed
@juliusknorr juliusknorr deleted the enh/noid/nc-rich-text-vue3-elements-style branch October 11, 2024 10:17
@juliusknorr
Copy link
Contributor

/backport to next

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: richtext Related to the richtext component technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants