• Resolved Jeff Sherk

    (@jsherk)


    Great plugin! This is the only code formatter I could find that has a button already on the editor tool bar, and that has a box for you to drop the code in! Thanks!

    All the other ones I tried want you to drop your code in the WP editor window first, then select it and put tags around it, but WP kept wiping out the < php ? tags! So way to go on that one!

    The only feature I would like to see implemented is the ability to expand/collapse the display window size if it’s bigger than say 20 lines of code. Then if somebody is reading, they don’t have to scroll past several hundred lines of code to keep reading.

    Thanks again!

    http://wordpress.org/extend/plugins/devformatter/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author GSaraiva

    (@gsaraiva)

    Thank you man.

    I do use of it too, so I always keep on the mind what it has to do to me and that make it easy to about all others developers or programing enthusiasts.

    About your suggestion I’ll see what can be done. I’ve had implemented the possibility of use style attribute, but something is not working right when the Ajax Parse is active.

    Without the option “Use AJAX DevFormatter System” you can use the height limitation like this example below:
    <code lang="css" style="height: 140px">
    Is not too friendly I know, but its a start. Btw, I’ll check a better solution to your suggestion.

    Cheers

    Thread Starter Jeff Sherk

    (@jsherk)

    I also tried changing the Custom CSS (adding height: 140px;) to both .devcodeblock and to .devcodeoverflow but it did not work either.

    Thanks

    Plugin Author GSaraiva

    (@gsaraiva)

    Add the style attr to code tag on the post/page editor.

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Developer Formatter] Add expand/collapse for code display’ is closed to new replies.