I believe if you use TextBoxFor
instead in the same way, you will get the results you desire.
The reason being is EditorFor doesn't have a parameter for htmlAttributes, the parameter you are passing is the additionalViewData
parameter, and therefore will not be rendered as html attributes..