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.

Can't acces editor instance by ID #343

Description

@luisamor

Hi,

I Have many instances of TinyMCE in the same view. When I try to get by ID, for example:

<textarea ui-tinymce="tinyMceOptions" name="introduction"  ng-model="offer.introduction"  class="wysiwyg-editor"></textarea>

If I execute: tinyMCE.get('introduction') returns null.

If try to read all the instances, tinyMCE.get() returns dinamic IDs, for example:

{
0:B,
1:B,
2:B,
3:B,
4:B,
ui-tinymce-1500378570765:B,
ui-tinymce-1500378570769:B,
ui-tinymce-1500378570772:B,
ui-tinymce-1500378570774:B,
ui-tinymce-1500378570776:B
}

¿Can I define a static ID for editor management? ¿How can I get a editor instance?

Thank you.

Activity

  1. maxenz commented on Oct 20, 2017

    @maxenz

    +1

  2. edurevilla commented on May 12, 2018

    @edurevilla

    Hi, I have the same problem, could you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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