| @@ -69,20 +69,8 @@ | ||
| 69 | 69 | public function get_keywords() { |
| 70 | 70 | return [ 'html', 'code', 'embed', 'script' ]; |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | - protected function is_dynamic_content(): bool { | |
| 74 | - return false; | |
| 75 | - } | |
| 76 | - | |
| 77 | - public function show_in_panel() { | |
| 78 | - return User::is_current_user_can_use_custom_html(); | |
| 79 | - } | |
| 80 | - | |
| 81 | - public function has_widget_inner_wrapper(): bool { | |
| 82 | - return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' ); | |
| 83 | - } | |
| 84 | - | |
| 85 | 73 | /** |
| 86 | 74 | * Register HTML widget controls. |
| 87 | 75 | * |
| 88 | 76 | * Adds different input fields to allow the user to change and customize the widget settings. |
| @@ -107,9 +95,8 @@ | ||
| 107 | 95 | 'placeholder' => esc_html__( 'Enter your code', 'elementor' ), |
| 108 | 96 | 'dynamic' => [ |
| 109 | 97 | 'active' => true, |
| 110 | 98 | ], |
| 111 | - 'is_editable' => User::is_current_user_can_use_custom_html(), | |
| 112 | 99 | ] |
| 113 | 100 | ); |
| 114 | 101 | |
| 115 | 102 | $this->end_controls_section(); |