这是indexloc提供的服务,不要输入任何密码
Skip to content

Angular 18 integration #558

@contissebastian

Description

@contissebastian

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions