Skip to content

Fix #35 - Edge browser color picker not appearing #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,19 @@
</ae-select>
</div>
<div class="angular-editor-toolbar-set">
<!-- For work with the current EDGE version we need to show the input and to focus it before click -->
<input
style="display: none"
style="opacity: 0; max-width: 0; margin: 0; padding: 0; float: left"
type="color" (change)="insertColor(fgInput.value, 'textColor')"
#fgInput>
<button [id]="'foregroundColorPicker-'+id" type="button" class="angular-editor-button" (click)="fgInput.click()" title="Text Color"
<button [id]="'foregroundColorPicker-'+id" type="button" class="angular-editor-button" (click)="fgInput.focus(); fgInput.click()" title="Text Color"
[disabled]="htmlMode" tabindex="-1"><span class="color-label foreground"><i class="fa fa-font"></i></span></button>
<!-- For work with the current EDGE version we need to show the input and to focus it before click -->
<input
style="display: none"
style="opacity: 0; max-width: 0; margin: 0; padding: 0; float: left"
type="color" (change)="insertColor(bgInput.value, 'backgroundColor')"
#bgInput>
<button [id]="'backgroundColorPicker-'+id" type="button" class="angular-editor-button" (click)="bgInput.click()" title="Background Color"
<button [id]="'backgroundColorPicker-'+id" type="button" class="angular-editor-button" (click)="bgInput.focus(); bgInput.click()" title="Background Color"
[disabled]="htmlMode" tabindex="-1"><span class="color-label background"><i class="fa fa-font"></i></span></button>
</div>
<div *ngIf="customClasses" class="angular-editor-toolbar-set">
Expand Down