Stop caching panel type in FCK._ActiveColorPanelType
|Reported by:||matthiasmiller||Owned by:|
|Priority:||Normal||Milestone:||FCKeditor 2.5 Beta|
Currently, when the color panel opens its popup, it caches the current color type (ForeColor vs. BackColor) in FCK._ActiveColorPanelType. Although I don't know the history of this variable, it appears that the panel type can safely be retrieved from this.Type.
This would allow other code (besides the popup) to change the selected text to a specific color.