Commit 8414b42e authored by Alexander.Trofimov's avatar Alexander.Trofimov

Вернул spellCheck

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64759 954022d7-b5bf-4e40-9824-e11837661b57
parent f9c309ff
......@@ -6789,6 +6789,17 @@ asc_docs_api.prototype.asc_getAnchorPosition = function()
return new asc_CRect(AnchorPos.X0, AnchorPos.Y, AnchorPos.X1 - AnchorPos.X0, 0);
};
function spellCheck (editor, rdata) {
//console.log("start - " + rdata);
// ToDo проверка на подключение
switch (rdata.type) {
case "spell":
case "suggest":
editor.SpellCheckApi.spellCheck(JSON.stringify(rdata));
break;
}
}
window["asc_nativeOnSpellCheck"] = function (response)
{
if (editor.SpellCheckApi)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment