|
95 | 95 | title="Font Size">
|
96 | 96 | </ae-select>
|
97 | 97 | </div>
|
98 |
| - <div class="angular-editor-toolbar-set"> |
| 98 | + <div class="angular-editor-toolbar-set" style="position: relative;"> |
99 | 99 | <input
|
100 |
| - style="display: none" |
101 |
| - type="color" (change)="insertColor(fgInput.value, 'textColor')" |
| 100 | + type="color" |
| 101 | + (change)="insertColor(fgInput.value, 'textColor')" |
| 102 | + style="visibility: hidden;height: 0px; width: 0px; position: absolute; left: 25px;" |
| 103 | + [style.top]="toolbarPosition !== 'bottom' ? '-225px' : '225px'" |
102 | 104 | #fgInput>
|
103 |
| - <button [id]="'foregroundColorPicker-'+id" type="button" class="angular-editor-button" (click)="focus(); ; fgInput.click()" |
| 105 | + <button [id]="'foregroundColorPicker-'+id" type="button" class="angular-editor-button" (click)="fgInput.click()" |
104 | 106 | title="Text Color"
|
105 | 107 | [disabled]="htmlMode" [hidden]="isButtonHidden('textColor')" tabindex="-1"><span
|
106 | 108 | class="color-label foreground"><i class="fa fa-font"></i></span>
|
107 | 109 | </button>
|
| 110 | + </div> |
| 111 | + <div class="angular-editor-toolbar-set" style="position: relative;"> |
108 | 112 | <input
|
109 |
| - style="display: none" |
110 |
| - type="color" (change)="insertColor(bgInput.value, 'backgroundColor')" |
| 113 | + type="color" |
| 114 | + (change)="insertColor(bgInput.value, 'backgroundColor')" |
| 115 | + style="visibility: hidden;height: 0px; width: 0px; position: absolute; left: 25px;" |
| 116 | + [style.top]="toolbarPosition !== 'bottom' ? '-225px' : '225px'" |
111 | 117 | #bgInput>
|
112 |
| - <button [id]="'backgroundColorPicker-'+id" type="button" class="angular-editor-button" (click)="focus(); ; bgInput.click()" |
113 |
| - title="Background Color" |
114 |
| - [disabled]="htmlMode" [hidden]="isButtonHidden('backgroundColor')" tabindex="-1"><span |
115 |
| - class="color-label background"><i class="fa fa-font"></i></span> |
| 118 | + <button [id]="'backgroundColorPicker-'+id" type="button" class="angular-editor-button" (click)="bgInput.click()" |
| 119 | + title="Background ColorA" |
| 120 | + [disabled]="htmlMode" |
| 121 | + [hidden]="isButtonHidden('backgroundColor')" |
| 122 | + tabindex="-1"><span class="color-label background"><i class="fa fa-font"></i></span> |
116 | 123 | </button>
|
117 | 124 | </div>
|
118 | 125 | <div *ngIf="_customClasses" class="angular-editor-toolbar-set">
|
|
0 commit comments