0
DevExpress ASP.NET MVC HTMLEditor를 사용하는 MVC 프로젝트가 있습니다. 에디터가 콜백을 렌더링하는 부분 뷰입니다. 여기에 마법을 초기화 설정을 확인하고 있습니다 :Devexpress mvc html 편집기 맞춤법 검사가 작동하지 않습니다.
@Html.DevExpress().HtmlEditor(
settings =>
{
settings.SettingsSpellChecker.Culture = new System.Globalization.CultureInfo("en-us");
ASPxSpellCheckerISpellDictionary dictionary = new ASPxSpellCheckerISpellDictionary();
dictionary.AlphabetPath = "~/Content/Dictionaries/EnglishAlphabet.txt";
dictionary.GrammarPath = "~/Content/Dictionaries/english.aff";
dictionary.DictionaryPath = "~/Content/Dictionaries/american.xlg";
dictionary.CacheKey = "ispellDic";
dictionary.Culture = new System.Globalization.CultureInfo("en-us");
dictionary.EncodingName = "Western European (Windows)";
settings.SettingsSpellChecker.Dictionaries.Add(dictionary);
...
settings.Toolbars.Add(toolbar =>
{
toolbar.Items.Add(new ToolbarCheckSpellingButton(true));
...
}
}).GetHtml()
을하지만 누를 때 버튼 편집기는 어떤 작업을 수행하지 않는다 "맞춤법 검사"JS 콘솔 및이 오류없이 (단지 부분 뷰를 다시 쓰게 콜백을 보내).
확인을 잊어 버린 맞춤법 검사를 사용하려면 추가 옵션이 있습니까?