adding in codeeditor functionality, its not taking defaults however