Fixed copy/paste issue with Html element.

This commit is contained in:
Sipke Schoorstra
2015-04-18 20:48:50 +02:00
parent 79e4aa199f
commit 24776bf9ee
3 changed files with 3 additions and 1 deletions

View File

@@ -935,6 +935,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();