Css for spellcheck line

Hello!

I’m attempting to create a custom color for the underline in the spellcheck plugin. I’ve tried to identify the class with the debug tool but it doesn’t appear that a misspelled word has one.

Is it possible to change this attribute?

I tried to do it through a snippet - it doesn’t work.

.CodeMirror .cm-spell-error {
background-image: url(_attachments/cu9Jv.gif);
background-position:bottom;
background-repeat:repeat-x;
}

Thank you!

The .CodeMirror selector is from CodeMirror 5, so that’s not going to work anymore. I only see that mentioned once in the app.css, so probably for backward compatibility.

Not sure if you can style it with CodeMirror 6. :thinking:

1 Like

Thanks for the reply! What can be done?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.