diff --git a/.editorconfig b/.editorconfig index d15fb1d..d6ffd24 100644 --- a/.editorconfig +++ b/.editorconfig @@ -285,7 +285,13 @@ indent_size = 2 indent_style = space indent_size = 2 -[*.{appxmanifest,asax,ascx,aspx,axaml,blockshader,build,c,c++,c++m,cc,ccm,cginc,compute,cp,cpp,cppm,cs,cshtml,cu,cuh,cxx,cxxm,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,h++,hh,hlsl,hlsli,hlslinc,hp,hpp,hxx,icc,inc,inl,ino,ipp,ixx,master,ml,mli,mpp,mq4,mq5,mqh,mxx,nuspec,paml,razor,resw,resx,shader,shaderFoundry,skin,tcc,tpp,urtshader,usf,ush,uxml,vb,xaml,xamlx,xoml,xsd}] +# Razor/CSHTML files - minimal formatting to avoid breaking Razor directives +[*.cshtml] +indent_style = space +indent_size = 4 +tab_width = 4 + +[*.{appxmanifest,asax,ascx,aspx,axaml,blockshader,build,c,c++,c++m,cc,ccm,cginc,compute,cp,cpp,cppm,cs,cu,cuh,cxx,cxxm,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,h++,hh,hlsl,hlsli,hlslinc,hp,hpp,hxx,icc,inc,inl,ino,ipp,ixx,master,ml,mli,mpp,mq4,mq5,mqh,mxx,nuspec,paml,razor,resw,resx,shader,shaderFoundry,skin,tcc,tpp,urtshader,usf,ush,uxml,vb,xaml,xamlx,xoml,xsd}] indent_style = space indent_size = 4 tab_width = 4 \ No newline at end of file diff --git a/PluginBuilder/Views/Shared/_MarkdownToolbarTextArea.cshtml b/PluginBuilder/Views/Shared/_MarkdownToolbarTextArea.cshtml index 3ec7e31..2bb6678 100644 --- a/PluginBuilder/Views/Shared/_MarkdownToolbarTextArea.cshtml +++ b/PluginBuilder/Views/Shared/_MarkdownToolbarTextArea.cshtml @@ -1,4 +1,4 @@ -@model +@model string