In your Editor Template, you must have the same type
Example :
model.SomeValue is type of loremIpsumObject
In your EditorTemplate you are :
@model YourNamespaceWhereIsYourClass.loremIpsumObject
...And your code in your editorTemplate....
you can find an example here for datetime
It helps you ?