ajout d'image
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
rows="3"
|
||||
[(ngModel)]="editingCommentText"
|
||||
(keydown.escape)="cancelEditComment()"
|
||||
(paste)="onPaste($event, 'edit')"
|
||||
></textarea>
|
||||
<div class="d-flex gap-2 mt-2">
|
||||
<button type="button" class="btn btn-sm btn-primary" (click)="saveEditComment()" [disabled]="!editingCommentText.trim()">Enregistrer</button>
|
||||
@@ -39,8 +40,9 @@
|
||||
aria-label="Nouveau commentaire"
|
||||
class="form-control form-control-sm"
|
||||
rows="3"
|
||||
placeholder="Ajouter un commentaire... (Markdown supporté)"
|
||||
placeholder="Ajouter un commentaire... (Markdown supporté, coller une image avec Ctrl+V)"
|
||||
[(ngModel)]="newCommentText"
|
||||
(paste)="onPaste($event, 'new')"
|
||||
></textarea>
|
||||
<div class="d-flex justify-content-end mt-2">
|
||||
<button type="button" class="btn btn-sm btn-primary" (click)="addComment()" [disabled]="!newCommentText.trim()">Ajouter</button>
|
||||
|
||||
Reference in New Issue
Block a user