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.

tinymce Option not working inside a custom directive #361

Open
@Naenil

Description

@Naenil

So I have the following proble: I set up the following options in my controller:

scope.tinymceOptions =
{
    toolbar:
        'bold italic | link image | alignleft aligncenter alignright',
    menubar: false
};

(scope being the way the scope is defined in the directive)

template-side, I have the following:

<div ng-if="!!tinymceOptions">
            <textarea  ui-tinymce="tinymceOptions" ng-model="tinymceModel" ></textarea>
    </div>

So the tag wrapped around a ngif to make sure tinymceOptions actually exists.

However, what I see is the following:

screenshot

I tried a few options already: Obviously changing the options themselves, checking if tinymce is loaded, applying the options directly within the html.. is that a normal behavior?

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