-
TinyMCE in the OptimizePress 2.0 Live Editor is malfunctioning when FV WordPress Flowplayer plugin is activated. The text area in the TinyMCE editor shows nothing and several javascript errors are thrown in the console when you try to use the TinyMCE control:
When you load the editor:
Uncaught TypeError: Cannot read property ‘media’ of nullWhen you click anywhere on the TinyMCE controls:
Uncaught TypeError: Cannot read property ‘body’ of undefinedWhen you exit the editor:
Uncaught TypeError: Cannot read property ‘getRng’ of undefinedAll of these errors are being thrown by the TinyMCE code, however, if I disable the FV WordPress Flowplayer plugin all returns to normal and I can edit text in the OP Live Editor via TinyMCE again.
OP has an option in the support menu to disable JS and CSS for any installed plugins when using the Live Editor. Disabling JS and CSS for FV WordPress Flowplayer for Live Editor via the OP support menu has no effect.
OP also has an option to disable various filters via the “Advanced WP Filter Settings” menu. Disabling the “fv_flowplayer_optimizepress” filter eliminates the problem with Live Editor, but it also has the undesired effect of removing FV Flowplayer from all OP pages.
My environment:
Optimize Press: 2.3.4.3
Wordpress: 4.1.1
FV WordPress Flowplayer: 2.3.12
Browser used: Chrome 41.0.2272.101 mAny insight or assistance you can provide would be much appreciated.