angular-editor icon indicating copy to clipboard operation
angular-editor copied to clipboard

color

Open ananbetak opened this issue 6 years ago • 12 comments

Hello,

Color picker doesn't work .

"@kolkov/angular-editor": "^1.1.3",

Any Ideas ?

ananbetak avatar Aug 10 '20 07:08 ananbetak

I think it's browser issue. What version of OS you are using?

kolkov avatar Aug 10 '20 12:08 kolkov

@kolkov Not working too , W10 \ Chrome

ant0nSelin avatar Aug 11 '20 12:08 ant0nSelin

1.1.2 version

  • 'textColor' working fine
  • 'backgroundColor' not working

ant0nSelin avatar Aug 11 '20 12:08 ant0nSelin

Chrome Version 84.0.4147.105 (Official Build) (64-bit) MacOS 10.15.6 1.1.3 version

'textColor' not working 'backgroundColor' not working

harmerok avatar Aug 12 '20 08:08 harmerok

Yes facing the same. Text and Background Color not working

Rajesh5496 avatar Aug 14 '20 05:08 Rajesh5496

"@kolkov/angular-editor": "1.0.0-beta.5" solved problem

harmerok avatar Aug 14 '20 07:08 harmerok

But for 1.1.2 version, not working too: 'justifyLeft', 'justifyCenter', 'justifyRight', 'justifyFull',

ant0nSelin avatar Aug 14 '20 16:08 ant0nSelin

Can we expect insert table anytime soon

Rajesh5496 avatar Aug 15 '20 07:08 Rajesh5496

@kolkov The issue is caused by the following commit:

28 Jul afe8176 Fix component service provider

As the Service is defined in root scope it should not be defined again in components providers. This cause multiple instances to be created and some mixup in the savedSelection management. Then the selection restore used to apply colors is not working as the savedSelection is undefined.

Reverting this change fixes the issue (at least in the demo app, I still have an issue when used in my own app).

Just for my understanding, did you made that commit to solve a specific issue ?

lucboutier avatar Sep 02 '20 13:09 lucboutier

So after upgrading the project to angular 10 (same version as I use in my own app) it works fine (with the fix mentioned in my previous commit).

lucboutier avatar Sep 02 '20 15:09 lucboutier

in 0.15 color palate not opening at correct place, position is mis aligned like top:0, left:0 which is wrong. Please check.

ankitpzr avatar Sep 07 '20 04:09 ankitpzr

Duplicate of #258. This was a service provider bug in v1.1.3 (commit afe8176). Fixed in later versions. Update to v2.0.0+ for Angular 13+, or v3.0.0+ for Angular 19+. Service is now properly provided in root.

kolkov avatar Nov 22 '25 16:11 kolkov