You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NotePostApp/www/pages/editor.html

43 lines
1.3 KiB
HTML

<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<div class="page" data-name="editor">
<div class="navbar">
<div class="navbar-bg"></div>
<div class="navbar-inner">
<div class="left">
<a href="#" class="link icon-only" onclick="exiteditor()">
<i class="icon icon-back"></i>
</a>
</div>
<div class="title">
{{#if notetitle}}
{{notetitle}}
{{else}}
New note
{{/if}}</div>
<div class="right">
<a href="#" onclick="savenote()" class="link icon-only">
<i class="fas fa-save"></i>
</a>
</div>
</div>
</div>
<div class="toolbar toolbar-top">
<div class="toolbar-inner" id="editor-toolbar">
</div>
</div>
<div class="page-content">
<textarea style="display: none;" id="orignote">{{content}}</textarea>
<textarea id="note" data-noteid="{{noteid}}">{{content}}</textarea>
</div>
<script src="js/editor.js"></script>
</div>