Skip to content

ngModel is not set to fr-view when initOnClick: true #223

Open
@robinwassen

Description

@robinwassen

If you have an editor with initOnClick: true and ngModel content, the content is not shown before clicking the editor.

This is a regression between 2.7.6 and 3.0.6, it was previously fixed as part of #164 but it seems like the fix got lost when rewriting for Froala 3.

Affects versions: 3.0.6

Steps to reproduce:

  • Setup the editor using angular-froala with ngModel set to something and initOnClick: true
  • Open the editor in the browser

Expected results: The ngModel value should be presented without clicking on the editor

Actual results: The ngModel value is not presented unless you click and initialize the editor

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