Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28921, comment 1


Ignore:
Timestamp:
07/16/2014 05:53:23 PM (11 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28921, comment 1

    initial v1  
    1 Ah, I see where this is coming from: if the "media" is not loaded the wpview plugin returns early and doesn't expose any methods. We can check if `editor.plugins.wpview.getView` exists but probably better to have a `noop()` for it.
     1Ah, I see where this is coming from: if the `window.wp.mce` is not loaded the wpview plugin returns early and doesn't expose any methods. We can check if `editor.plugins.wpview.getView` exists but probably better to have a `noop()` for it.