Support » Plugin: Gutenberg » Current MCE Instance

  • Steve

    (@steveatty)


    When you create a new paragraph in Gutenberg it gives it an ID like MCE_0, MCE_1… etc.

    Is there any easy way of determining which MCE instance (paragraph) that the cursor is currently sitting in?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Marius L. J.

    (@clorith)

    Hiya,

    I seem to recall something like this, but could I ask what the use case is, there may be better approaches for what you are trying to achieve?

    Steve

    (@steveatty)

    Basically I’m trying to work out if its going to be possible to get my plugin to interact with the current MCE instance (which in Gutenberg is one per block) or if I should just give up as I don’t have time to learn a whole new programming language just for one plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Current MCE Instance’ is closed to new replies.