| @@ -3,9 +3,8 @@ | ||
| 3 | 3 | |
| 4 | 4 | use Elementor\Controls_Stack; |
| 5 | 5 | use Elementor\Core\DynamicTags\Dynamic_CSS; |
| 6 | 6 | use Elementor\Core\Kits\Manager; |
| 7 | -use Elementor\Core\Frontend\Widget_Content_Render_Mode; | |
| 8 | 7 | use Elementor\Element_Base; |
| 9 | 8 | use Elementor\Plugin; |
| 10 | 9 | |
| 11 | 10 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -281,12 +280,8 @@ | ||
| 281 | 280 | * |
| 282 | 281 | * @param Element_Base $element The element. |
| 283 | 282 | */ |
| 284 | 283 | protected function render_styles( Element_Base $element ) { |
| 285 | - if ( Widget_Content_Render_Mode::is( Widget_Content_Render_Mode::MARKDOWN ) ) { | |
| 286 | - return; | |
| 287 | - } | |
| 288 | - | |
| 289 | 284 | /** |
| 290 | 285 | * Before element parse CSS. |
| 291 | 286 | * |
| 292 | 287 | * Fires before the CSS of the element is parsed. |