Skip to content

Commit

Permalink
Simplify manual test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlewand committed Nov 4, 2015
1 parent cc1c0a9 commit d13fbdc
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions tests/plugins/clipboard/manual/preventdrop.html
Expand Up @@ -8,7 +8,7 @@
</style>
</head>
<div>
<h2>Helpers (<a href="javascript:hideshow('helpers');">hide/show</a>)</h2>
<h2>Helpers</h2>
<div id="helpers">
<textarea style="width:49%; height:50px; float: left;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. In commodo vulputate tempor. Sed <b>at</b> elit.</textarea>
<div style="width:49%; height:50px; float: right;">
Expand All @@ -18,7 +18,7 @@ <h2>Helpers (<a href="javascript:hideshow('helpers');">hide/show</a>)</h2>
</div>
</div>
<div>
<h2>Editor (<a href="javascript:hideshow('editor');">hide/show</a>)</h2>
<h2>Editor</h2>
<div id="editor">
<p>I'm working!</p>
</div>
Expand All @@ -33,13 +33,4 @@ <h2>Editor (<a href="javascript:hideshow('editor');">hide/show</a>)</h2>
}
}
} );

function hideshow( id ) {
var element = CKEDITOR.document.getById( id );

if( element.getStyle( 'display' ) == 'none' )
element.show();
else
element.hide();
}
</script>

0 comments on commit d13fbdc

Please sign in to comment.