Skip to content
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

Angular 18 integration #558

Open
contissebastian opened this issue Jan 13, 2025 · 2 comments
Open

Angular 18 integration #558

contissebastian opened this issue Jan 13, 2025 · 2 comments

Comments

@contissebastian
Copy link

I have multiple problems integrating angular 18 with froala.

  1. If i try to use [froalaEditor]="options", just the default ones are included. Extra options and events added by me are not included
    I need to instantiate froala like this:

ngAfterViewInit() {
// @ts-ignore
this.froalaEditor = new FroalaEditor("#lessonEditor", {
...this.editorOptions
});

  1. With this implementation the image upload on a server does not work at all. it triggers the event beforeUpload but an error is raised:
Screenshot 2025-01-13 140309

The beforeUpload should cancel the operation if I return false, but it seems that this is not working either.

Froala: 4.4.0

@ilyaskarim
Copy link

Hi @contissebastian,

To help us further investigate the issues, Would you please share a sample demo/codesandbox demo where we can reproduce the issues mentioned above?

@contissebastian
Copy link
Author

I managed to fix the problem. It seems that these settings were the problem: imageEditButtons: ['wirisEditor', 'wirisChemistry']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants