Skip to content

Commit

Permalink
Wrapped text in a <p>
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Aug 3, 2009
1 parent fd8032a commit 5b0ec73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor75/index.php
Expand Up @@ -66,7 +66,7 @@
//Get the element's HTML and call the inserthtml execCommand
var handleDrop = function() {
var html = this.getDragEl().innerHTML;
myEditor.execCommand('inserthtml', html);
myEditor.execCommand('inserthtml', '<p>' + html + '</p>');
resetDD(this);
};
Expand Down Expand Up @@ -128,7 +128,7 @@
//Get the element's HTML and call the inserthtml execCommand
var handleDrop = function() {
var html = this.getDragEl().innerHTML;
myEditor.execCommand('inserthtml', html);
myEditor.execCommand('inserthtml', '<p>' + html + '</p>');
resetDD(this);
};
Expand Down

0 comments on commit 5b0ec73

Please sign in to comment.