angular-editor
angular-editor copied to clipboard
Can not change font with angular 10
I am using 1.1.3 version of editor with angular 10 version but it does not seem to change the font from the given dropdown ,it gets stuck. Specially on the HOSTED site Please resolve it ASAP
I have the same problem. Any update?
In my case the problem was with zone.js patch and angular-material module usage. I don't remember why, but I added
import 'zone.js/dist/zone-patch-rxjs';
to polyfills.ts
This appeared to be causing the issue in combination with the mat-button directive used in any of the elements on the page.
Just to be clear here are the steps to reproduce the issue in the angular-editor-app application:
- Modify
polyfills.ts
file by adding this line:
import 'zone.js/dist/zone-patch-rxjs';
- Run
ng add @angular/material
- Modify
app.component.html
file bymat-button
directive to ana
element like this:
<p><a mat-button href="https://github.com/kolkov/angular-editor">Get it here</a></p>
- Add the corresponding reference to the
MatButtonModule
toapp.module.ts
file.