mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixed copy/paste issue with Html element.
This commit is contained in:
@@ -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
@@ -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();
|
||||
|
Reference in New Issue
Block a user