Tweak text editor styling
This commit is contained in:
+5
-5
@@ -242,13 +242,13 @@
|
|||||||
<div class="flex justify-between items-center gap-2">
|
<div class="flex justify-between items-center gap-2">
|
||||||
<p-tabs value="editor" class="w-full">
|
<p-tabs value="editor" class="w-full">
|
||||||
<p-tablist>
|
<p-tablist>
|
||||||
<p-tab value="editor">Editor</p-tab>
|
<p-tab value="editor">WYSIWYG Editor</p-tab>
|
||||||
<p-tab value="html">HTML</p-tab>
|
<p-tab value="html">HTML Editor</p-tab>
|
||||||
</p-tablist>
|
</p-tablist>
|
||||||
<p-tabpanels>
|
<p-tabpanels>
|
||||||
<p-tabpanel value="editor">
|
<p-tabpanel value="editor">
|
||||||
<form [formGroup]="metadataForm">
|
<form [formGroup]="metadataForm">
|
||||||
<p-editor #quillEditor formControlName="description" [readonly]="quillDisabled()" [style]="{ height: '230px' }">
|
<p-editor #quillEditor formControlName="description" [readonly]="quillDisabled()" [style]="{ height: '215px' }">
|
||||||
<ng-template #header>
|
<ng-template #header>
|
||||||
<span class="ql-formats">
|
<span class="ql-formats">
|
||||||
<button class="ql-bold" aria-label="Bold"></button>
|
<button class="ql-bold" aria-label="Bold"></button>
|
||||||
@@ -281,8 +281,8 @@
|
|||||||
</p-tabpanel>
|
</p-tabpanel>
|
||||||
<p-tabpanel value="html" class="w-full">
|
<p-tabpanel value="html" class="w-full">
|
||||||
<textarea
|
<textarea
|
||||||
class="w-full p-2"
|
class="w-full p-4"
|
||||||
rows="11.5"
|
rows="10"
|
||||||
[disabled]="quillDisabled()"
|
[disabled]="quillDisabled()"
|
||||||
[ngModel]="htmlTextarea"
|
[ngModel]="htmlTextarea"
|
||||||
(ngModelChange)="onHtmlTextareaChange($event)"
|
(ngModelChange)="onHtmlTextareaChange($event)"
|
||||||
|
|||||||
Reference in New Issue
Block a user