Remplacer simpleMDE par un éditeur maison #110

Merged
Darks merged 34 commits from new_editor into dev 2022-12-18 00:08:52 +01:00
1 changed files with 5 additions and 2 deletions
Showing only changes of commit b132eed1c7 - Show all commits

View File

@ -81,12 +81,15 @@
<span class="separator"></span>
<!-- Table, Separators, Images, Link, Upload -->
<button type="button" onclick="editor_btn_type()" title="Tableau">
<!-- I need to find a way to replace the LF with \n -->
<button type="button" onclick="editor_insert_around(event)" title="Tableau" data-after="
| Column 1 | Column 2 | Column 3 |
| -------- | -------- | -------- |
| Text | Text | Text |">
<svg viewBox="0 0 24 24">
<path d="M3 3v18h18V3H3zm8 16H5v-6h6v6zm0-8H5V5h6v6zm8 8h-6v-6h6v6zm0-8h-6V5h6v6z"/>
</svg>
</button>
<!-- I need to find a way to replace this LF with an \n -->
<button type="button" onclick="editor_insert_around(event)" data-after="
---" title="Séparateur">
<svg viewBox="0 0 24 24">