Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
78f8b5a7
Commit
78f8b5a7
authored
Jan 30, 2017
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+previous
parent
fd497b05
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cell/model/clipboard.js
cell/model/clipboard.js
+3
-3
cell/view/WorksheetView.js
cell/view/WorksheetView.js
+1
-1
No files found.
cell/model/clipboard.js
View file @
78f8b5a7
...
...
@@ -290,12 +290,12 @@
}
},
pasteData
:
function
(
ws
,
_format
,
data1
,
data2
,
text_data
)
pasteData
:
function
(
ws
,
_format
,
data1
,
data2
,
text_data
,
bIsSpecialPaste
)
{
var
t
=
this
;
t
.
pasteProcessor
.
clean
();
if
(
null
===
this
.
specialPasteProps
)
if
(
!
bIsSpecialPaste
)
{
window
[
'
AscCommon
'
].
g_clipboardBase
.
specialPasteData
.
activeRange
=
ws
.
model
.
selectionRange
.
clone
(
ws
.
model
);
window
[
'
AscCommon
'
].
g_clipboardBase
.
specialPasteUndoData
.
images
=
[];
...
...
@@ -362,7 +362,7 @@
}
}
if
(
null
===
this
.
specialPasteProps
)
if
(
!
bIsSpecialPaste
)
{
window
[
'
AscCommon
'
].
g_clipboardBase
.
specialPasteData
.
_format
=
_format
;
window
[
'
AscCommon
'
].
g_clipboardBase
.
specialPasteData
.
data1
=
data1
;
...
...
cell/view/WorksheetView.js
View file @
78f8b5a7
...
...
@@ -8798,7 +8798,7 @@
api
.
wb
.
clipboard
.
specialPasteProps
=
tempProps
;
var
specialPasteData
=
window
[
'
AscCommon
'
].
g_clipboardBase
.
specialPasteData
;
api
.
wb
.
clipboard
.
pasteData
(
this
,
specialPasteData
.
_format
,
specialPasteData
.
data1
,
specialPasteData
.
data2
,
specialPasteData
.
text_data
);
api
.
wb
.
clipboard
.
pasteData
(
this
,
specialPasteData
.
_format
,
specialPasteData
.
data1
,
specialPasteData
.
data2
,
specialPasteData
.
text_data
,
true
);
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment