Thank you for the information. It turns out the conflict comes from Handlebars.js, not Foundation. It’s required on every page that loads the TinyMCE editor.
To fix the issue:
– In the Dashboard go to -> Plugins -> Editor
– From the dropdown menu “Select plugin to edit” choose FP Foundation Assistant and click the Select button
– From the list of ‘Plugin Files’ on the right choose fp-foundation-assistant/includes/class-fp-foundation-assistant.php
– In the editor replace the following code on lines 601-604:
$plugin_id = get_current_screen()->id;
wp_register_script( $this->_token . '-hadnlebars-admin', esc_url( $this->assets_url ) . 'handlebars/handlebars-v4.0.5.js', array( 'jquery' ), '4.0.5', true );
wp_enqueue_script( $this->_token . '-hadnlebars-admin' );
with this:
$plugin_id = get_current_screen()->id;
$plugin_base = get_current_screen()->base;
if ( $plugin_base == 'post') {
wp_register_script( $this->_token . '-hadnlebars-admin', esc_url( $this->assets_url ) . 'handlebars/handlebars-v4.0.5.js', array( 'jquery' ), '4.0.5', true );
wp_enqueue_script( $this->_token . '-hadnlebars-admin' );
}
I’ll release the fixed version next week.
Please, tell me if this fixes the problem.