• Hi

    I’m using WP-Syntax and writing code such as:

    <pre lang="php">
    <div id="foo">
    <?php
      function foo() {
        echo "Hello World!\\n";
      }
    ?>
    </div>
    </pre>

    but when I switch to Visual View and back to Html View in my editor there is only:

    <pre lang="php">
    <div id="foo">
    </div>
    </pre>

    The php code is deleted

Viewing 1 replies (of 1 total)
  • Thread Starter aneuryzma

    (@aneuryzma)

    same thing happen with Exec-PHP plugin…

    if I use these plugins, then I can’t switch to WYSWYG view.

    Is it correct ?

    thanks

Viewing 1 replies (of 1 total)
  • The topic ‘WP-Syntax plugin: php scripts disappear when I switch to WYSWYG’ is closed to new replies.