-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
nextcloud-libraries/nextcloud-vite-config
#112Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofbugSomething isn't workingSomething isn't workingfeature: rich-contenteditableRelated to the rich-contenteditable componentsRelated to the rich-contenteditable componentsregressionRegression of a previous working featureRegression of a previous working feature
Milestone
Description
Am I right that now styles are not loaded from
.js
but loaded byrequire('path-to.css')
inside modules?
Might be related to it?
- with import of
NcRichContenteditable
to the project also the componentNcMentionBubble
is bundled with id '357e6d0e' (which will be used for styles scope in[data-v-357e6d0e]
) NcRichContenteditable
is using mixinrichEditor
under the hood, which is in charge of renderingNcMentionBubble
. It is also bundled in the project with id '8a961b36'dist/assets/NcMentionBubble-<hash>.css
contains styles for scopedata-v-357e6d0e
, same as sourcewebpack://./node_modules/@nextcloud/vue/dist/assets/index.css
in production code- dev environment seems to use mjs, where styles applied only for
[data-v-8a961b36]
That causes the styles for rendered mentions to be broken, if lib is used in Talk, for example:
Content in a bundled app:
Originally posted by @Antreesy in #4386 (comment)
Metadata
Metadata
Assignees
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofbugSomething isn't workingSomething isn't workingfeature: rich-contenteditableRelated to the rich-contenteditable componentsRelated to the rich-contenteditable componentsregressionRegression of a previous working featureRegression of a previous working feature