Commit 4e4aa617 authored by Ivan.Shulga's avatar Ivan.Shulga Committed by Alexander.Trofimov

partial changes for spellchecking in offline editor

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47453 954022d7-b5bf-4e40-9824-e11837661b57
parent 291dbfd8
......@@ -6209,7 +6209,16 @@ function spellCheck (editor, rdata) {
switch (rdata.type) {
case "spell":
case "suggest":
editor.SpellCheckApi.spellCheck(JSON.stringify(rdata));
if (undefined != window['qtDocBridge'])
{
// push data to native QT code
window['qtDocBridge']['spellCheck'] (JSON.stringify(rdata));
}
else
{
editor.SpellCheckApi.spellCheck(JSON.stringify(rdata));
}
break;
}
}
......
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