firefox-scripts icon indicating copy to clipboard operation
firefox-scripts copied to clipboard

StyloaiX editor does not work correctly in Firefox 122

Open srjjgm opened this issue 1 year ago • 3 comments

  1. The editor's "useful area" is narrower than the window.
  2. Autocomplete suggestions are not shown.
  3. Line break separates "!important", isolating the exclamation mark. Some help?

srjjgm avatar Dec 24 '23 00:12 srjjgm

Tried fix 1 & 2, no idea about 3 yet. Replace the folder in utils.

styloaix.zip

117649 avatar Dec 24 '23 07:12 117649

It worked! Thank you very much! It seems to me that the editor separates any word that contains characters like "!", "-" or "." Maybe it's a change from version 122, I don't know. If you find a solution I will greatly appreciate it. Have a merry Christmas!

srjjgm avatar Dec 24 '23 15:12 srjjgm

I found a "solution" for separating words and characters. Actually, it's just a CSS code that minimizes the problem, until the correct solution appears:

@-moz-document url-prefix("chrome://userchromejs/content/styloaix/edit") { .CodeMirror pre.CodeMirror-line > span > span:is(.cm-keyword, .cm-variable-2, .cm-number) { white-space: nowrap } }

srjjgm avatar Dec 24 '23 22:12 srjjgm