Skip to content

Commit f27d444

Browse files
committed
fix(taBind): Corrected issue #1361 can't paste word document with tables
1 parent df92886 commit f27d444

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/taBind.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,14 @@ angular.module('textAngular.taBind', ['textAngular.factories', 'textAngular.DOM'
563563
continue;
564564
} else {
565565
var tagName = dom[0].childNodes[i].tagName.toLowerCase();
566-
if(tagName !== "p" && tagName !== "h1" && tagName !== "h2" && tagName !== "h3" && tagName !== "h4" && tagName !== "h5" && tagName !== "h6"){
566+
if(tagName !== "p" &&
567+
tagName !== "h1" &&
568+
tagName !== "h2" &&
569+
tagName !== "h3" &&
570+
tagName !== "h4" &&
571+
tagName !== "h5" &&
572+
tagName !== "h6" &&
573+
tagName !== "table"){
567574
continue;
568575
}
569576
}

0 commit comments

Comments
 (0)