Commit 1a7d97c1 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

внутрь шейпа(при вставке из буфера обмена) всегда вставляю html, не использую бинарник.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50936 954022d7-b5bf-4e40-9824-e11837661b57
parent 5be28dc9
...@@ -3249,6 +3249,10 @@ PasteProcessor.prototype = ...@@ -3249,6 +3249,10 @@ PasteProcessor.prototype =
} }
} }
var aContent; var aContent;
//если находимся внутри шейп, вставляем html
if(this.oDocument.Parent && this.oDocument.Parent instanceof WordShape)
base64 = null;
if(base64 != null) if(base64 != null)
aContent = this.ReadFromBinary(base64); aContent = this.ReadFromBinary(base64);
if(aContent) if(aContent)
......
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