How to add content with a filter when there’s no content in the editor

As suggested by @Sumit, the problem was in the template: there was a test that prevented the_content() to execute when the content was empty.

<?php if ( $page->post_content && have_posts() ) while ( have_posts() ) : the_post(); ?>
        <?php the_content(); ?>
<?php endwhile ?>