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
11066de7
Commit
11066de7
authored
Sep 27, 2017
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+ previous
parent
c1159fcb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
common/wordcopypaste.js
common/wordcopypaste.js
+1
-1
No files found.
common/wordcopypaste.js
View file @
11066de7
...
...
@@ -4427,7 +4427,7 @@ PasteProcessor.prototype =
for
(
var
Index
=
0
;
Index
<
Count
;
Index
++
)
{
var
_char
=
text
.
charAt
(
Index
);
var
_charCode
=
text
.
charCodeAt
(
Index
);
if
(
_charCode
===
10
||
Index
===
Count
-
1
){
if
(
_charCode
===
0x0A
||
Index
===
Count
-
1
){
var
newParaRun
=
new
ParaRun
();
this
.
_addTextIntoRun
(
newParaRun
,
insertText
);
newParagraph
.
Internal_Content_Add
(
newParagraph
.
Content
.
length
-
1
,
newParaRun
,
false
);
...
...
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