Viewing 4 replies - 16 through 19 (of 19 total)
  • Plugin Contributor viper007bond

    (@viper007bond)

    Okay, well I don’t want to hear any complaining when TinyMCE mangles your code. ??

    Andrew Ozz’s TinyMCE plugin that he wrote for me may have fixed this in the past but doesn’t work properly under 3.1’s TinyMCE or maybe it’s that the new version of TinyMCE does more “fixing” than the 3.0.x version.

    Either way it’s bad news and I’m not good enough with TinyMCE to fix it.

    Did someone say *gasp* Visual editor (TinyMCE)?!! Breaking out the garlic, guaranteed to keep vampires an everything else away. ??

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    TinyMCE doesn’t mangle my code. I use the [php] tags with Syntax Highlighter and it handles it just fine. Have been using it that way forever.

    Generally speaking, I write my posts as all text in the HTML editor, then switch to Visual and style them the way I want them to appear. Change things to headers, add links, stuff like that. Works fine.

    Plugin Contributor viper007bond

    (@viper007bond)

    It mangles HTML more than anything, possibly only under 3.1.

    Try this for example:

    [php]
    $button = '<input type="submit" name="' . esc_attr( $name ) . '" id="' . esc_attr( $id ) . '" class="' . esc_attr( $class );
    $button	.= '" value="' . esc_attr( $text ) . '" ' . $attributes . ' />';
    [/php]

    TinyMCE will merge it into one line and such. Fun.

    Even more apparent when you switch back and forth between editors (although I think this is partially the TinyMCE fixer plugin that my plugin uses not functioning 100% properly under 3.1).

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘[Plugin: SyntaxHighlighter Evolved] probs wit hthe new 3.0.0. version’ is closed to new replies.