Skip to content
Permalink
Browse files

Summernote: turned off 'prettifyHtml' option. It produces messy html …

…code.
  • Loading branch information...
muratcakir committed Nov 29, 2018
1 parent ecaaba4 commit 6d5d9d08c8295e35bc24963df2157f985f596b3b
@@ -29,7 +29,7 @@ var summernote_image_upload_url;
dialogsInBody: true,
dialogsFade: true,
height: 300,
prettifyHtml: true,
prettifyHtml: false,
onCreateLink: function (url) {
// Prevents that summernote prepends "http://" to our links (WTF!!!)
var c = url[0];
@@ -10,9 +10,10 @@
<add name="StaticFileHandler-gif" path="*.gif" verb="GET,HEAD" type="System.Web.StaticFileHandler"/>
<add name="StaticFileHandler-jpg" path="*.jpg" verb="GET,HEAD" type="System.Web.StaticFileHandler"/>
<add name="StaticFileHandler-jpeg" path="*.jpeg" verb="GET,HEAD" type="System.Web.StaticFileHandler"/>
<add name="StaticFileHandler-svg" path="*.svg" verb="GET,HEAD" type="System.Web.StaticFileHandler"/>
<add name="StaticFileHandler-css" path="*.css" verb="GET,HEAD" type="System.Web.StaticFileHandler"/>
<add name="StaticFileHandler-js" path="*.js" verb="GET,HEAD" type="System.Web.StaticFileHandler"/>
<add name="StaticFileHandler-liquid" path="*.liquid" verb="GET,HEAD" type="System.Web.StaticFileHandler"/>
<add name="StaticFileHandler-liquid" path="*.liquid" verb="GET,HEAD" type="System.Web.StaticFileHandler"/>
</handlers>
</system.webServer>
</configuration>

0 comments on commit 6d5d9d0

Please sign in to comment.
You can’t perform that action at this time.