Custom Formats not applying in WYSIWYG editor (Directus 11.9.3)

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!

Thank you for reporting, @moritz!

I tested your issue and found that it was resolved in version 11.10.0. Please upgrade!