I am just starting to use the ApplyClass tool, and I have three questions.
First, In the documentation, it says that the dropdown will be filtered based on the type of element which is selected. For example, if I select a link element in the content area, the dropdown should include only global styles and styles with selectors starting with "a." However, it also includes styles starting with "img." and all others. The same behavior occurs in the demo. Am I misunderstanding something? (FYI - I am using CssFiles.Add() to attach a single css file to the editor).
Second - in IE, when an image or block element is selected, selection handles appear. When the selected element is positioned under the dropdown, these handles show through, making it hard to read. This does not occur in Firefox. Is it possible to fix this?
Finally, I would like to add a few classes with CssClasses.Add() after using CssFiles.Add(). However, CssClasses.Add() resets the list. It would be nice to have an option to avoid resetting the list, so I can append, rather than replace. In my situation, I can't just add the classes I need to the external css file.
First, In the documentation, it says that the dropdown will be filtered based on the type of element which is selected. For example, if I select a link element in the content area, the dropdown should include only global styles and styles with selectors starting with "a." However, it also includes styles starting with "img." and all others. The same behavior occurs in the demo. Am I misunderstanding something? (FYI - I am using CssFiles.Add() to attach a single css file to the editor).
Second - in IE, when an image or block element is selected, selection handles appear. When the selected element is positioned under the dropdown, these handles show through, making it hard to read. This does not occur in Firefox. Is it possible to fix this?
Finally, I would like to add a few classes with CssClasses.Add() after using CssFiles.Add(). However, CssClasses.Add() resets the list. It would be nice to have an option to avoid resetting the list, so I can append, rather than replace. In my situation, I can't just add the classes I need to the external css file.