#166 inline markdown import

This commit is contained in:
azivner
2018-09-02 23:02:01 +02:00
parent fa77132fe9
commit 708874a02c
10 changed files with 88 additions and 8 deletions

View File

@@ -711,6 +711,14 @@
</form>
</div>
<div id="markdown-import-dialog" title="Markdown import" style="display: none; padding: 20px;">
<p>Because of browser sandbox it's not possible to directly read clipboard from JavaScript. Please paste the Markdown to import to textarea below and click on Import button</p>
<textarea id="markdown-import-textarea" style="height: 340px; width: 100%"></textarea>
<button id="markdown-import-button" class="btn btn-primary">Import <kbd>CTRL+Enter</kbd></button>
</div>
<div id="tooltip" style="display: none;"></div>
<script type="text/javascript">