Fixed editor mode of codemirror is inappropriate setting.

# When editing css template

__EXPECTED__
Editor mode is css mode.

__RESUILT__
Editor mode is javascript mode.

# When editing javascript template

__EXPECTED__
Editor mode is javascript mode.

__RESUILT__
Editor mode is css mode.