This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Below is the small trick to fix conflicts between FieldManager's Autocomplete, Datepicker and RichText_Area with Gutenberg block editor. | |
*/ | |
$( window ).load( function() { | |
// NOTE: This is fix for fieldmanager datepicker and autocomplete. | |
// Ref: https://github.com/alleyinteractive/wordpress-fieldmanager/issues/713 . | |
if ( typeof fm !== "undefined" ) { | |
if ( typeof fm.datepicker !== "undefined" ) { |