maqetta/maqetta — Issue #1872: Clean up editorID vs editor declaredClass
Author: JonFerraiolo
Created: 2012-03-07 21:13:21+00:00
State: open
Labels: Priority Med

What I remember from looking at the code when trying to determine which editor we are in:

* Sometimes we check editorID and sometimes the editor's declaredClass
* There seemed to be two different values used for editorID. I don't remember the details, but I think it was the review editor that had two different strings used in two different places. Maybe theme editor and page editor did this also.
* It looked to me like editor's declaredClass was a reliable indicator against which you could make a reliable comparison

We need to search through the code and clean all of this up.