-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(octra): text editor in feedback modal is now WYSIWYG
- Loading branch information
1 parent
5fc3cb7
commit 7ea0b46
Showing
3 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,8 +46,8 @@ <h5 class="modal-title" id="modal-title"> | |
[(ngModel)]="profile.username" | ||
/> | ||
<label for="inputName" class="form-label">{{ | ||
'g.name' | transloco | ||
}}</label> | ||
'g.name' | transloco | ||
}}</label> | ||
</div> | ||
</div> | ||
<div class="col-6"> | ||
|
@@ -62,26 +62,25 @@ <h5 class="modal-title" id="modal-title"> | |
placeholder="[email protected]" | ||
/> | ||
<label for="inputEmail" class="form-label">{{ | ||
'g.email' | transloco | ||
}}</label> | ||
'g.email' | transloco | ||
}}</label> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="form-floating mb-3"> | ||
<textarea | ||
<div class="d-block mb-3"> | ||
<label for="bgDescr">{{ 'g.description' | transloco }}:</label> | ||
<ngx-jodit | ||
[(ngModel)]="bgdescr" | ||
class="form-control" | ||
[options]="joditOptions" | ||
class="w-100" | ||
style="display: flex !important; flex-direction: column; flex: auto; height: 100% !important;" | ||
aria-describedby="bgDescr" | ||
[placeholder]="'g.description' | transloco" | ||
id="bgDescr" | ||
maxlength="1000" | ||
rows="3" | ||
name="bgdescr" | ||
style="height: 100px" | ||
></textarea> | ||
<label for="bgDescr">{{ 'g.description' | transloco }}</label> | ||
></ngx-jodit> | ||
<div id="emailHelp" class="form-text">German or English</div> | ||
</div> | ||
</div> | ||
|
@@ -99,7 +98,7 @@ <h5 class="modal-title" id="modal-title"> | |
class="upload-screenshot" | ||
> | ||
<span (click)="removeScreenshot(i)" class="cross rounded-circle" | ||
>X</span | ||
>X</span | ||
> | ||
<input | ||
#uploadInput2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters