| @@ -8,8 +8,9 @@ | ||
| 8 | 8 | use Elementor\Core\Settings\Page\Model; |
| 9 | 9 | |
| 10 | 10 | use Elementor\Plugin as ElementorPlugin; |
| 11 | 11 | use Elementor\TemplateLibrary\Source_Local as ElementorLocal; |
| 12 | +use Templately\Core\Importer\Utils\Utils; | |
| 12 | 13 | |
| 13 | 14 | class Elementor extends ElementorLocal { |
| 14 | 15 | /** |
| 15 | 16 | * Get template data. |
| @@ -20,8 +21,9 @@ | ||
| 20 | 21 | * |
| 21 | 22 | * @return array Remote Template data. |
| 22 | 23 | */ |
| 23 | 24 | public function get_data( array $args ) { |
| 25 | + Utils::add_gd_editor_filter(); | |
| 24 | 26 | ElementorPlugin::$instance->editor->set_edit_mode( true ); |
| 25 | 27 | |
| 26 | 28 | $args['content'] = $this->replace_elements_ids( $args['content'] ); |
| 27 | 29 | $args['content'] = $this->process_export_import_content( $args['content'], 'on_import' ); |