Hi all,
I’m running into an issue with the WYSIWYG editor in Directus 11.9.3. I added a custom format that worked fine in 11.8.0, but it no longer applies in 11.9.3.
Custom Formats:
[
{
“title”: “Highlight”,
“inline”: “span”,
“attributes”: { “data-style”: “highlighted” }
}
]
Options Override:
{
“content_style”: “[data-style=‘highlighted’] { background-color: #e1f4f0; color: #0d766e; font-weight: 500; padding: 0 2px; border-radius: 2px; }”
}
The “Highlight” option appears in the toolbar, but when I select text and apply it, nothing happens – no span is inserted and no style is applied. Same behavior across browsers, no console errors.
Is this a regression in 11.9.x or am I missing a new config requirement?
Thanks!