EEditorWidget: Fix leak of element's type attribute value
EEditorWidget: Refactor citation colors