how to add attribute name in summernote click to edit
<p>I want to add element attribute name in summernote click to edit</p>

<p>html :</p>

<pre><code>&lt;button id="edit" class="btn btn-primary" onclick="edit()" type="button"&gt;Edit 1&lt;/button&gt;
&lt;button id="save" class="btn btn-primary" onclick="save()" type="button"&gt;Save 2&lt;/button&gt;
&lt;div class="click2edit"&gt;click2edit&lt;/div&gt;
</code></pre>

<p>javascript:</p>

<pre><code>var edit = function() {
  $('.click2edit').summernote({focus: true});
};

var save = function() {
  var makrup = $('.click2edit').summernote('code');
  $('.click2edit').summernote('destroy');
};
</code></pre>

<p>doc :
<a href="http://summernote.org/examples/#click-to-edit" rel="nofollow">http://summernote.org/examples/#click-to-edit</a></p>