Fixed copy/paste issue with Html element.

This commit is contained in:
Sipke Schoorstra
2015-04-18 20:48:16 +02:00
parent a93cc9cdbc
commit b3b75b3d74
3 changed files with 3 additions and 1 deletions

View File

@@ -929,6 +929,7 @@ var LayoutEditor;
this.contentTypeClass = contentTypeClass;
this.html = html;
this.hasEditor = hasEditor;
this.isContainable = true;
this.getInnerText = function () {
return $($.parseHTML("<div>" + this.html + "</div>")).text();

File diff suppressed because one or more lines are too long

View File

@@ -9,6 +9,7 @@
this.contentTypeClass = contentTypeClass;
this.html = html;
this.hasEditor = hasEditor;
this.isContainable = true;
this.getInnerText = function () {
return $($.parseHTML("<div>" + this.html + "</div>")).text();