From 3647f29119928898ea6d86d7a10c50486bd0b6a0 Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 8 Jul 2025 16:40:35 -0400 Subject: [PATCH] Fixed issue where editor tabs were not consistently clickable. Fixed issue where plugin was unnecessarily dependent on Gravity Perks. --- gravity-forms/gw-rich-text-html-fields.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gravity-forms/gw-rich-text-html-fields.php b/gravity-forms/gw-rich-text-html-fields.php index 5fafe2e8..4e9b9275 100644 --- a/gravity-forms/gw-rich-text-html-fields.php +++ b/gravity-forms/gw-rich-text-html-fields.php @@ -10,7 +10,6 @@ /* * @todo * 1. Add merge tag selector. - * 2. Add support for inserting images. */ add_action( 'admin_init', function() { @@ -20,7 +19,10 @@ } } ); -add_action( 'gform_field_standard_settings_200', function() { +add_action( 'gform_field_standard_settings', function( $position ) { + if ( $position !== 200 ) { + return; + } ?>
  • @@ -41,6 +43,8 @@