[RELEASE] Simple CSS Editor

I have figured this out, there has been a change in the structure of the dashboard HTML that is generated when you open a dashboard, which I rely on when generating the file names used, both when creating them and when identifying the file that the editor needs to read in, i.e. the file names for the settings and CSS JSON files are not stored, they are derived each time you open the dashboard / editor.

I always knew this could be a problem in the future and had plans to look at changing the way this worked, but never got around to it. I can make a quick update to the editor to pick up the nested span element that now includes the name, then may look at a longer-term solution at some point.

In the screenshot below the dashboard HTML on the right is the old structure, with a span including the dashName CSS class and the dashboard name contained within it. I look for this dashName class and get the contents of that span to use in the naming of the settings and CSS JSON files that the editor produces.

The HTML for the dashboard on the right is the new structure, with an additional span inside the span with the dashName class. I just need to look one element lower to get the name.

From the Simple CSS Editor HTML file, the code currently looks like: