Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • sorry doodlebee, my “correct invalid XHTML” is off and still the code gets filtered. As I said it is a very serious bug that has been reported all over this forum and there should be a fix on the way – lets hope soon! For the the moment the best fix is one of the following:

    1) Go back to WordPress 2.0.x.

    2) Dump the visual editor.

    2) Make posts and save at once and not re-edit them or WordpRess 2.1 will break your HTML, even if it is valid XHTML.

    I am sure the fix is on the way as such a basic feature cannot be so faulty as it is. I have read the fix ticket and I hope a patch shows up.

    I am using admin mode and still my HTML embedding code gets filtered. Hell, even when I paste VALID XHTML code like this: <object type="application/x-shockwave-flash" data="[INSERT VIDEO URL FROM EMBED CODE PROVIDED HERE]" width="400" height="326"><param name="movie" value="[INSERT VIDEO URL FROM EMBED CODE PROVIDED HERE]" /><param name="FlashVars" value="playerMode=embedded" /></object>
    It gets broken by the visual editor as soon as I re-edit. I can’t wait to find a patch I can insert in the php to fix the WP code somehow – this is a serious bug with the editor and a recurrent trouble with WP v2.1 published again and again in this forum. Most video plugins are buggy and I just wish WP wouldnt filter my HTML/XHTML code.

    Seems like the same problem mentioned here

    The only way to avoid this bug for now seems to save your code in html mode at once by pushing “save” button. If you use “save and continue editing” or re-edit code on a post it can end up breaking it. Let’s hope some kind of patch shows up soon. I really like the new visual editor, specially after alt+shift+v.

    Thread Starter tec-tec

    (@tec-tec)

    I have just noticed the same sort of problem happening with formatting as in this post, and avoided in the same way:
    https://www.ads-software.com/support/topic/104514?replies=8

    “This will act as a pseudo fix allowing you to apply DIV tags manually but beware as if you try and re-edit the post your DIV tags will be replaced automatically by P tags once more.”

    Thread Starter tec-tec

    (@tec-tec)

    I have just found out a catch to the bug and a way of avoiding this problem: paste the embedding code in the code tab of the editor and do not “save and continue editing”, just “save”, and the embedded code will render ok – just don’t try to re-edit the same post in the code mode or it will screw things up again =)

    Thread Starter tec-tec

    (@tec-tec)

    I have gone thru 4 plugins to embed video with mixed (usually buggy) results until I decided the easiest way to add videos is just copy&paste the embedding code in the post editor – still didn’t expect the WYSIWYG editor would change the <embed> tags by itself. I wish I could be able to use the visual editor but as you suggested maybe the best is to turn it off and do things oldscool until the issues are solved ??

Viewing 6 replies - 1 through 6 (of 6 total)