Add language tags definition, caret and bubbles in editor.
[redakcja.git] / src / wiki / templates / wiki / tabs / wysiwyg_editor.html
1 {% load i18n %}
2 <div id="simple-editor" class="editor" style="display: none">
3   <div class="navbar navbar-dark bg-secondary">
4     <div class="nav">
5       {% if not readonly %}
6         <button class="btn btn-info mr-2" id="insert-theme-button">
7           {% trans "Insert theme" %}
8         </button>
9         <button class="btn btn-info mr-2" id="insert-annotation-button">
10           {% trans "Insert annotation" %}
11         </button>
12         <button class="btn btn-info mr-2" id="insert-reference-button">
13           {% trans "Insert reference" %}
14         </button>
15
16         <div class="btn-group">
17           <button class="btn btn-info insert-inline-tag" data-tag="tytul_dziela">
18             tytuł dzieła
19           </button>
20           <button class="btn btn-info insert-inline-tag" data-tag="wyroznienie">
21             wyroznienie
22           </button>
23           <button class="btn btn-info insert-inline-tag" data-tag="slowo_obce">
24             słowo obce
25           </button>
26           <button class="btn btn-info insert-char">
27             znak spec.
28           </button>
29         </div>
30       {% endif %}
31     </div>
32   </div>
33   <div id="bubbles"></div>
34   <div id="html-view" class="htmlview">
35   </div>
36 </div>