• Since version 3.8 WP editor is generating so many useless empty lines – please fix it. I know that they are not visible if only and only this editor is used, but imagine that some people don’t use it. I accidentally use it if I have to make a change when on the road, and every time I do it I regret – because empty lines are added not only on the change but all over! Now it is so annoying to scroll and scroll and scroll all that empty lines. And the trouble comes when the one has to edit more than one file! Before version 3.8 this problem didn’t exist. I still have some installations with older versions and can confirm that. I tried to setup all my applications to read/write the code as unix/linux lines, my hosting is linux, but no – this doesn’t help at all – although as I said I didn’t have to do that at all prior to version 3.8. Yesterday I spent an hour to fix all my files from this madness and just to test it I did some changes through the WP editor. Guess what?

    And please don’t get me wrong. I am very grateful to have the option to use WP – thank you. I really appreciate all the new things which are introduced, most of them are definitely very helpful, but please don’t brake things that already work perfect, especially the simplest and most used ones.
    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Since version 3.8 WP editor is generating so many useless empty lines – please fix it.

    I’ve not noticed that in any WordPress installation of mine or other 3.8.1 installations. I occasionally make edits from a moving train. ??

    Before version 3.8 this problem didn’t exist.

    Have you considered raising a support topic about this? It sounds like something is interfering with your editor and that may be something others can help identify with you and get fixed.

    Thread Starter design_studio

    (@design_studio)

    Jan Dembowski, thanks for your reply.

    I’ve not noticed that in any WordPress installation of mine or other 3.8.1 installations. I occasionally make edits from a moving train. ??

    While I believe the type of vehicle is not the problem, I also wrote something else in the beginning specifying when this occurs:

    I know that they are not visible if only and only this editor (WP editor) is used …

    So try to download your style.css for example and edit it with different editor than the one integrated in WP. Then upload it back, do an edit in WP editor, save it and check back the file in your offline editor. I believe you will see the difference.

    Unfortunately for me this brings more “troubles” than it helps, because imagine I have to go and make changes to 20 WP installations – I’ll definitely won’t go and login in all of them and do the changes one by one. I prefer to edit files offline and when I press the Save button the files are automatically ftp/uploaded where they have to be!
    And also imagine I am writing notes for certain changes on a row 2500 from 7000 lines and when I go back and search for that specific change on row 2500 its not there but on the row 3800 for example because of that empty lines. If I edit a single file ones in a week, I can live with that, but…
    And trust me I didn’t publish my post simply because I am not happy. I tried this on different hosting providers, different servers, full working WP installations with all plugins and modifications, only stock WP installations and the result is the same.

    I also believe my post is in the right section – feedback.

    Scott Fennell

    (@scofennellgmailcom)

    I’m pretty sure this has nothing to do with core or 3.8.x specifically. I’ve noticed this in the past, but never used the editor enough to become annoyed with it.

    Are you sure it’s not related to a specific browser you’re running while on the road, or maybe did you activate a new plugin recently? I have some faint memory in the back of my mind that I used to see this issue happen after having activated a caching plugin AND/OR while using a really old version of IE. That was a few years ago though.

    Thread Starter design_studio

    (@design_studio)

    Scott Fennell, Thanks for your answer as well.
    I am not using only one browser, usually switch between Opera, Firefox, Chrome. I only use IE for testing purposes. As I said I tried various installs before doing the post and in all of them this happened. About the caching plugin – I really like the idea but not how all of them work. Installed 3 to test so far and they are all gone a long time ago. I suppose I still don’t need one so desperately.
    I can’t really say is exactly from the 3.8 core, this thing just started to appear since I updated/started using WP 3.8. I knew that it won’t be long before 3.8.1 to appear and thought that this is some funny error, but the empty lines are there and it is very annoying. The lines are somehow excluded from the WP editor when the file is used there, but they appear in the offline editor. And although I remove them, and ftp the file, next time I use the WP editor and modify something, the empty lines are there (in offline editor.)

    …after having activated a caching plugin AND/OR while using a really old version of IE…

    I believe that what I wrote is being misunderstood – I don’t see the empty lines in the online WP editor itself, they appear in files only if I used the WP editor to save a change and after that use the files in offline editor!!!!

    I also have described how this can be checked:

    So try to download your style.css for example and edit it with different editor than the one integrated in WP. Then upload it back, do an edit in WP editor, save it and check back the file in your offline editor. I believe you will see the difference.

    Here is a quick example. I write my code in editor like notepad++ like this:

    @media screen and (min-width: 960px) {
    .site {
    max-width: 1000px;
    max-width: 71.4285rem;
    }
    }
    .ie .site {max-width: 1000px;}
    
    footer[role="contentinfo"] {
    max-width: 1000px;
    max-width: 71.4285rem;
    }

    After that I upload the file on the server and imagine I have to make a quick change like changing the font size. I do it through the WP editor, where the code looks exactly how I wrote it, I save it and in the WP editor the code still looks exactly how I wrote it.

    But 99% of the time I write the code in editor like notepad++ and the next time when I want to edit my code in notepad++ it looks like this:

    @media screen and (min-width: 960px) {
    
        .site {
    
            max-width: 1000px;
    
            max-width: 71.4285rem;
    
        }
    
    }
    
    .ie .site { max-width: 1000px; }
    
    footer[role="contentinfo"] {
    
        max-width: 1000px;
    
        max-width: 71.4285rem;
    
    }

    As I said it doesn’t affect the site functionality but my user experience when I edit the code in 20 or 50 files. I can’t loose hours to remove all the lines every day every time I do the changes.

    The main trouble is that this lines are counted and as I wrote in my previous post

    And also imagine I am writing notes for certain changes on a row 2500 from 7000 lines and when I go back and search for that specific change on row 2500 its not there but on the row 3800 for example because of that empty lines. If I edit a single file ones in a week, I can live with that, but…

    this makes big difference.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fix WordPress Editor’ is closed to new replies.