Content deleted Content added
PleaseStand (talk | contribs) m wrap > wrapAll. wrap copies the nodes we are trying to attach event handlers to. |
PleaseStand (talk | contribs) m still not good enough |
||
Line 95:
$("#sandbox-js-area-placeholder").replaceWith( editor.$jsArea );
$("#sandbox-css-area-placeholder").replaceWith( editor.$cssArea );
$("#sandbox-save-local-text").wrapAll( editor.$saveLocal );▼
// .wrapAll() does not suffice because it clones the the wrapping element.
.replaceWith( editor.$saveLocal )
.appendTo( editor.$saveLocal );
// Event handling functions
|