We've dispatched most of the typical sections in this project—there's not really any user interface to design, nor are there any changes to the actual note models. All we need to do is modify the HTML template a little to include a share button and add the code to use the plugin.
First, let's alter the template in www/html/textNoteEditView.html
. I've highlighted the changes:
<html>
<body>
<div class="ui-navigation-bar">
<div class="ui-title"contenteditable="true">%NOTE_NAME%</div>
<div class="ui-bar-button-group ui-align-left">
<div class="ui-bar-button ui-tint-color ui-back-button">%BACK%</div>
</div>
<div class="ui-bar-button-group ui-align-right">
<div class="ui-bar-button ui-destructive-color">%DELETE_NOTE%</div>
</div>
</div>
<div class="ui-scroll-container ui-avoid-navigation-bar ui-avoid...