By the way, I really hate that I have to turn off the visually rich editor in WordPresss in order to be able to past ember and object code.
If I don’t switch it off then the stupid editor stips out all the tags and breaks the site layout with a bunch of gobbledygook (technospeak).
Everytime I want to post something with a youtube or google video in it I have to turn off the visually rich editor, go to the editor, write up the article and insert the code, go back through the article and put in roughly 2 billion <p> and <⁄p> tags, go back and turn the visually rich editor on again, find a typo or some other stupid problem in the post, without thinking go back to the (visually rich) editor to edit the typo or other stupid problem, then publish the post again only to later realize I just did my edit in the visually rich editor and have it stip out or mangle the video embed code, which breaks the site, which means I have to go turn off the visually rich editor again and go to the editor…blah blah blah, hate hate hate, ad nauseum.
Anyway, if anyone knows a way around this WITHOUT having to install yet another plugin (this site has so many plugins and widgets already I’m surprised I have as few problems as I do) let me know.
Now for all the paragraph tags…

2 Comments
Can’t you just hit that little html button on the visual editor to bring up the popup window that lets you edit the raw code? When i’m posting pictures I have to edit the code sometimes and that’s how I do it. I’ve never tried it with video, but I imagine you can type out the rest of your post, then go to edit the code and paste whatever you need in there. I’m gonna have to try that later and see how it works.
Unfortunately, no. If you use the wysiwyg editor it strips out the object and embed code and in addition to breaking the video code also (with this theme anyway) breaks the sites layout because you all the sudden have gibberish text which isn’t inside any elements.
Since I end up posting a lot of videos I have just quit using the wysiwyg editor and use the regular editor with quicktags. The wysiwyg editor actually had a few annoying quirks I disliked anyway (unintelligible differentiation between where to end paragraph tags and where to put line breaks for example), but it’s still a bit annoying that I don’t have the choice.
There is a way to go through and edit the base wordpress files to modify what tags are stripped and which are not but whenever possible I try to avoid using hacks/modifications to the actual php files because whenever an upgrade is released I will have to go back through and redo them all again.
Post a Comment