File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/app/components/editor Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export const EDITOR_VALUE_ACCESSOR: any = {
4141 <ng-content select="p-header"></ng-content>
4242 <ng-container *ngTemplateOutlet="headerTemplate"></ng-container>
4343 </div>
44- <div class="p-editor-toolbar" *ngIf="!toolbar && !headerTemplate">
44+ <div class="p-editor-toolbar" *ngIf="!modules && ! toolbar && !headerTemplate">
4545 <span class="ql-formats">
4646 <select class="ql-header">
4747 <option value="1">Heading</option>
@@ -194,7 +194,10 @@ export class Editor implements AfterContentInit, ControlValueAccessor {
194194
195195 private quillElements ! : { editorElement : HTMLElement ; toolbarElement : HTMLElement } ;
196196
197- constructor ( public el : ElementRef , @Inject ( PLATFORM_ID ) private platformId : object ) {
197+ constructor (
198+ public el : ElementRef ,
199+ @Inject ( PLATFORM_ID ) private platformId : object
200+ ) {
198201 /**
199202 * Read or write the DOM once, when initializing non-Angular (Quill) library.
200203 */
You can’t perform that action at this time.
0 commit comments