Title: [Plugin: Simple Responsive Images] Visual Editor (TinyMCE) breaks
Last modified: August 20, 2016

---

# [Plugin: Simple Responsive Images] Visual Editor (TinyMCE) breaks

 *  [JochenT](https://wordpress.org/support/users/jochent/)
 * (@jochent)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/)
 * This plugin is a cool idea!
    But it still has a heavy bug. When calling the edit-
   page for posts, pages or custom content types in the admin no text is displayed
   in the visual editor (default TinyMCE). Switching from the visual view to the
   HTML view the text is still there but it is not possible to switch back to the
   visual view. This error still appears after disabling all other plugins as long
   as this plugin is active.
 * [http://wordpress.org/extend/plugins/simple-responsive-images/](http://wordpress.org/extend/plugins/simple-responsive-images/)

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/page/2/?output_format=md)

 *  Plugin Author [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * (@rahe)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597082)
 * hi !
 * Ow… bad bug, do you have the error message ? I cannot reproduce this bug :/
    
   Thank you !
 *  Thread Starter [JochenT](https://wordpress.org/support/users/jochent/)
 * (@jochent)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597202)
 * There are no error messages or any notices in the log file. The problem seems
   to be a Javascript problem.
    After switching the visual editor into HTML mode
   it is not possible any more to switch back to visual mode when editing any other
   posts or pages.
 *  Plugin Author [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * (@rahe)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597223)
 * I have reproduced the issue, i’m on it ! 🙂
 *  [David Radovanovic](https://wordpress.org/support/users/dpaule/)
 * (@dpaule)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597308)
 * Rahe, any news on the Visual Editor issue? It’s happened on a client’s site after
   installing Simple Responsive Images. Also, isn’t it necessary to remove the height
   an width attributes of images already on the site? Via a filter? Thanks.
 *  Plugin Author [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * (@rahe)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597312)
 * Hi,
 * I do not understand why there is an error on the editor :/, i use normal filters…
   
   It is not necessary to remove the heigh/width attributes, the javascript will
   do it :).
 * Rahe
 *  Thread Starter [JochenT](https://wordpress.org/support/users/jochent/)
 * (@jochent)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597313)
 * Hi,
 * I’ve still the problems with the visual editor, too. The last update did not 
   change anything.
 *  [David Radovanovic](https://wordpress.org/support/users/dpaule/)
 * (@dpaule)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597314)
 * Thanks Rahe
 *  [David Radovanovic](https://wordpress.org/support/users/dpaule/)
 * (@dpaule)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597315)
 * BTW – how does your script know which size image to load, via queries?
 * also, I’m still getting img sizes:
 * `<img class="attachment-thumbnail wp-post-image" width="100" height="100" src-
   full="http://www.chefsconsortium.com/wp-content/uploads/2012/03/Lentils1-e1331257854478.
   jpg" src-large="http://www.chefsconsortium.com/wp-content/uploads/2012/03/Lentils1-
   e1331257854478-768x768.jpg" src-medium="http://www.chefsconsortium.com/wp-content/
   uploads/2012/03/Lentils1-e1331257854478-550x195.jpg" src-thumbnail="http://www.
   chefsconsortium.com/wp-content/uploads/2012/03/Lentils1-e1331257854478-100x100.
   jpg" title="Lentils" alt="Lentils" src="http://www.chefsconsortium.com/wp-content/
   uploads/2012/03/Lentils1-e1331257854478-100x100.jpg">`
 * above [strange] syntax is produced using:
 *     ```
       <?php
         $thumbnails = get_posts('numberposts=5&category=613&orderby=date&order=DESC');
         foreach ($thumbnails as $thumbnail) {
           if ( has_post_thumbnail($thumbnail->ID)) {
             echo '<a href="' . get_permalink( $thumbnail->ID ) . '" title="' . esc_attr( $thumbnail->post_title ) . '">';
             echo get_the_post_thumbnail($thumbnail->ID, 'thumbnail');
             echo '</a>';
           }
         }
       ?>
       ```
   
 *  Plugin Author [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * (@rahe)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597316)
 * The javascript will load the smallest image first, then increase if needed to
   the right image size.
    The images will be loaded depending on the plugin configuration.
   I have a filter who generate the image sizes directly on the img generated by
   the post_thumbnail function.
 *  [David Radovanovic](https://wordpress.org/support/users/dpaule/)
 * (@dpaule)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597317)
 * Rahe, Everything is as it should be ABOVE? So, I should not worry about image
   scr size attributes being printed since your script chooses the appropriately
   sized image needed based on screen size? The “Breakpoints” images chosen (in 
   drop-down) should be slightly larger than the breakpoints indicated to the left?
   Thanks for your help!
 *  Plugin Author [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * (@rahe)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597320)
 * Yes you do not have to worry, this is absolutely normal.
    The images associated
   to the breakpoints can be at an size, just specifiy the image size you want to
   display form the previous breakpoint to this breakpoint. Ex : 0px -> 320px =>
   thumbnail, then 320 -> 640 => medium, 640 -> 960 => large etc…
 *  [David Radovanovic](https://wordpress.org/support/users/dpaule/)
 * (@dpaule)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597321)
 * thanks!
 *  [bobdye](https://wordpress.org/support/users/bobdye/)
 * (@bobdye)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597363)
 * Just downloaded the latest version and this is still a problem.
 * Is there any attempt to fix it?
 *  Plugin Author [Nicolas Juen](https://wordpress.org/support/users/rahe/)
 * (@rahe)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597364)
 * i, I do not have te time for updating the plugin in the repository but i have
   updated it in the github :
    [https://github.com/Rahe/Simple-responsive-images](https://github.com/Rahe/Simple-responsive-images)
   Some people have contributed to it so you can use this one
 *  [bobdye](https://wordpress.org/support/users/bobdye/)
 * (@bobdye)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/#post-2597365)
 * That worked. Thank you.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/page/2/?output_format=md)

The topic ‘[Plugin: Simple Responsive Images] Visual Editor (TinyMCE) breaks’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-responsive-images_f9fcfc.svg)
 * [Simple Responsive Images](https://wordpress.org/plugins/simple-responsive-images/)
 * [Support Threads](https://wordpress.org/support/plugin/simple-responsive-images/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-responsive-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-responsive-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-responsive-images/reviews/)

 * 18 replies
 * 6 participants
 * Last reply from: [Damon Cook](https://wordpress.org/support/users/colorful-tones/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-responsive-images-visual-editor-tinymce-breaks/page/2/#post-2597393)
 * Status: not resolved