Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • DanH 36 posts 61 karma points
    Jan 16, 2013 @ 18:06
    DanH
    0

    Spellcheck doesn't work in TinyMCE

    I had a customer request spellcheck when they create a newsletter, so I enabled the option in the TinyMCE settings for the "Richeditor Newsleter Studio" datatype.

    But when the spellcheck button is clicked in TinyMCE now, it causes an exception:

    System.Web.HttpException: The file '/umbraco/NewsletterStudio/Pages/GoogleSpellChecker.ashx' does not exist.

    I am able to use the spellcheck option in TinyMCE for normal Umbraco content.  In this case it accesses it at /umbraco/googlespellchecker.ashx.

     

  • DanH 36 posts 61 karma points
    Jan 16, 2013 @ 18:29
    DanH
    0

    I created a urlrewriting rule in /config/urlrewriting.config that fixes the issue.

    <add name="newsspellcheck" virtualUrl="^/umbraco/NewsletterStudio/Pages/GoogleSpellChecker.ashx" destinationUrl="~/umbraco/GoogleSpellChecker.ashx" ignoreCase="true" />

    The way that spellcheck toggle button toggles sometimes and sometimes doesn't is screwed up, but that's certainly not a Newsletter Studio issue.

  • Markus Johansson 1911 posts 5735 karma points MVP c-trib
    Jan 18, 2013 @ 13:07
    Markus Johansson
    0

    Hi!

    Thank you DanH!

    Looks like this issue is related to the implementation of the spellcheker but you solution is great!

    Thanks for sharing it1

     

    // Markus

Please Sign in or register to post replies

Write your reply to:

Draft