Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

W3C CSS compliance and Editor.css

We're attempting to set up our sites so that they're W3C CSS compliant. However the dummy 'property' EditMenuName which is used in Editor.css to make a style available in the HTML Editor causes the stylesheet to fail validation (see for details). Would it be possible to still use the EditMenuName dummy property if it was commented out? For instance: /* EditMenuName: Heading 1; */ In that way, the stylesheet would still pass W3C CSS validation, but we could still mark styles to be available in the Editor.
Jan 12, 2005 11:20
We have to investigate further on this, to see how it can be done in a W3C CSS compliant way (Id #29487 in our issue database). Thanks for the input!
Jan 21, 2005 11:41
You could allow the administrator to define a config-file for the HTML-editor and move this information into that file. I think that would be much cleaner for the developers also. If it isn't already it should be possible to define the editor css (and config-file) for each template. We might use different css-files with different templates.
Apr 06, 2005 13:36
The easy solution is to separate your CSS into two files. One that you include on your page and one for the editor which imports the first one and adds the EditMenuName-statements. Problem solved.
Dec 26, 2005 20:21
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.