after click text editior open in javascript

JavaScript
<a href="" onclick="CKEDITOR.replace( 'editor1' );"><img src="image.jpg"></a>
Source

Also in JavaScript: