| @@ -77,12 +77,8 @@ | ||
| 77 | 77 | public function show_in_panel() { |
| 78 | 78 | return User::is_current_user_can_use_custom_html(); |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | - public function has_widget_inner_wrapper(): bool { | |
| 82 | - return ! Plugin::$instance->experiments->is_feature_active( 'e_optimized_markup' ); | |
| 83 | - } | |
| 84 | - | |
| 85 | 81 | /** |
| 86 | 82 | * Register HTML widget controls. |
| 87 | 83 | * |
| 88 | 84 | * Adds different input fields to allow the user to change and customize the widget settings. |
| @@ -138,15 +134,6 @@ | ||
| 138 | 134 | protected function content_template() { |
| 139 | 135 | ?> |
| 140 | 136 | {{{ settings.html }}} |
| 141 | 137 | <?php |
| 142 | - } | |
| 143 | - | |
| 144 | - public function render_markdown(): string { | |
| 145 | - $settings = $this->get_settings_for_display(); | |
| 146 | - $html = $settings['html'] ?? ''; | |
| 147 | - if ( empty( $html ) ) { | |
| 148 | - return ''; | |
| 149 | - } | |
| 150 | - return \Elementor\Modules\MarkdownRender\Html_To_Markdown::convert( $html ); | |
| 151 | 138 | } |
| 152 | 139 | } |