WordPress.org

Ready to get started?Download WordPress

Forums

2.8 Great Update! Syntax highlighing, not so great (7 posts)

  1. parrothead
    Member
    Posted 5 years ago #

    Upgraded to 2.8 today! Everything is great. None of my plugins broke, everything is groovy, except...

    How do I turn off the syntax highlighting and auto formatting in the appearance editor? This is a code editor. I don't need my hand held. Syntax highlight is great, not auto indent and quote completion.

    How do h311 do I turn it off??

  2. parrothead
    Member
    Posted 5 years ago #

    Please accept my apologies for my last post.

    I know the editor project is of value to a lot of folks, and many people like it as evidenced by posts in this forum. Unfortunately, for me it was like buying a new car and having the cruise moved from the steering wheel to its own stick below the wheel. It will just take some getting used to.

    I'm using WordPress as a CMS and haven't found any better. WordPress is a great thing. I always find myself modifying things and WordPress has been the best for easy configurations and code additions.

    I hope in future versions I'll be able to turn off the highlighting feature. I do that to all my text editors, its not a WordPress thing.

  3. lelandf
    Member
    Posted 5 years ago #

    I'm also wondering if it's possible to disable the syntax highlighting features.

    I don't really mind the actual syntax highlighting, it's just the auto-completion and indenting features that I would rather not have.

    Could it be possible to do this with a plugin or what?

  4. lelandf
    Member
    Posted 5 years ago #

    Okay, figured it out. All you need to do is go to your theme editor, click the "Screen Options" tab at the top right, and click "Disable syntax highlighting" and that's it.

    I also wrote a blog post on how to do it here, with an accompanying video.

  5. sahdow
    Member
    Posted 5 years ago #

    It's not working on all of my blogs. On the newer clean install it seems to work fine, but on some every time I click the turn off link, it reloads the page with the default item for the editor (ie Theme - style).

    Then when I click on the page I want to edit the dumb thing gets loaded again... Anyone else having this problem?

  6. sahdow
    Member
    Posted 5 years ago #

    Doh! clear cache and reboot fixes problem

  7. mobileforesight
    Member
    Posted 5 years ago #

    I have a similar problem. Compared to WordPress 2.7.1 you have added a new function in WordPress 2.8 for the Dashboard panel: Appearance-> Editor.

    In WP 2.7.1 the code in the editor was just a plain text file. In 2.8, a JavaScript (I believe) for syntax higlighting has been added. When I go to that page and click to edit on the rather large Header.PHP file for my theme Atahualpa, the browser freezes for more than a minute before the JavaScript is done loading and sometimes the browser crashes completely. That problem I can live with but the total disaster is that the script also randomly refuses to accept my edits.

    This is a strong indication that the syntax macro is badly coded and inefficient.

    I STRONGLY RECOMMEND THAT WORDPRESS MAKES THIS MACRO AN OPTION IN WP 2.8.1 AND HAVE IT DEACTIVATED AS DEFAULT, ALLOWING THE USERS TO TURN IT ON INSTEAD.

    (In that way, the acute problem is solved, and the macro can be improved without time pressure.)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.