Both are correct (according to Collins English dictionary). Examples... This it the way the word is spelt. The word is spelled this way.
No the way you have spelled it is correct. Germany.
You have spelled it the correct way.
tylovcei
u spelled it right, it is spelled dollars
The correct way to say that would be my last name is spelled.
It is spelled manipulated.
That is the correct spelling of "reflection" (mirror image).
The way you spelled it is how you pronounce it but the correct spelling is "limousine."
The way you spelled it in the question is correct ('sustainably').
The way you just spelled it: conclusion!
Is deers spelled correct? NoIs deer's spelled correct? yesAre dears spelled correct? Yes