Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

On setup, sets form as pristine #348

Open
@cdhowie

Description

@cdhowie

This line sets the form containing a tinymce directive as pristine when the editor is configured. I'm not sure why this is necessary, but it makes it unnecessarily convoluted to dynamically create new editors. Any new editor that is created will mark the whole form as pristine, even if a totally different component (not even a tinymce editor) was dirty at the time.

This can be worked around by nesting the editor in a <div ng-form>, giving it its own form controller that it can mess with as it pleases.

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