title: Trying to use Yesod.Form.Richtext in a scaffolded site, I am unable to compile due to an issue in Summernote.hs
body: <p>I am setting up a blog/website using Yesod. I followed a couple of the tutorials currently available. I am definitely interested in having an HTML editor available to post articles. When I set up NicEditor in the development server, it worked well enough, however when I moved it to an Nginx proxy server, it no longer worked. I had a feeling the issue was a CORS issue, but I enable CORS on the Yesod side and on the Nginx side and it still does not work.</p>
  
  <p>Then someone told me about Yesod.Forms.Richtext and Summernote. When I included Summernote in my extra-deps and package.yaml files, my web app no longer could compile. I tried editing the Yesod.Forms.Richtext package myself to get it to compile, but I could not get it to work. When I try to compile, I am given the following error message:</p>
  
  <pre><code>yesod-form-richtext&gt;     * Could not deduce (Monad m0)
  yesod-form-richtext&gt;       from the context: (YesodSummernote site, Monad m)
  yesod-form-richtext&gt;         bound by the type signature for:
  yesod-form-richtext&gt;                    snHtmlField :: forall site (m :: * -&gt; *).
  yesod-form-richtext&gt;                                   (YesodSummernote site, Monad m) =&gt;
  yesod-form-richtext&gt;                                   Field (HandlerT site m) Html
  yesod-form-richtext&gt;         at src/Yesod/Form/Summernote.hs:(102,16)-(103,43)
  yesod-form-richtext&gt;       The type variable `m0' is ambiguous
  yesod-form-richtext&gt;     * In the ambiguity check for `snHtmlField'
  yesod-form-richtext&gt;       To defer the ambiguity check to use sites, enable AllowAmbiguousTypes
  yesod-form-richtext&gt;       In the type signature:
  yesod-form-richtext&gt;         snHtmlField :: (YesodSummernote site, Monad m) =&gt;
  yesod-form-richtext&gt;                        Field (HandlerT site m) Html
  yesod-form-richtext&gt;     |
  yesod-form-richtext&gt; 102 | snHtmlField :: (YesodSummernote site, Monad m)
  yesod-form-richtext&gt;     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
  
  </code></pre>
  
  <p>One thing I tried to do is modify the code to include the {-# LANGUAGE AllowAmbiguousTypes -#} pragma, but it did not help. Is this something that is common with this library? Is there an easier to use Html editor with Yesod?</p>