Richtext renderer doesn't parse inline css #941
Labels
pending-author
[Issue] Awaiting further information or action from the issue author
pending-triage
[Issue] Ticket is pending to be prioritised
Describe the issue you're facing
The reproduction provided below works. The production codebase I'm working in doesn't. They have the same versions of this module. The production codebase renders
class
attributes of inline richtext css as blankstyle
attributes – it does not apply the classes. So instead of<p class="storyblok-class">....</p>
, I get<p style>...</p>
.Classes only get applied correctly when using the defunct
v-html="renderRichText(...)
method, which is not applicable for my use case as this project requires custom resolvers for links.Since the reproduction works, it's most likely an issue on my end, but I cannot for the life of me figure out what it could be since having tested with plain, non-nested richtext fields I still encountered the same problem in this particular build. I tried cloning the space and ran into the same issue. The only thing I can think of is potential package conflicts, so I've included the list of modules used in the prod codebase below. I selfishly hope I'm not the only one who's run into this.
prod codebase dependencies below:
Reproduction
https://stackblitz.com/edit/github-ugbuh1-mtyebacy?file=app.vue
Steps to reproduce
N/A
System Info
Used Package Manager
npm
Error logs (Optional)
No response
Validations
The text was updated successfully, but these errors were encountered: