Hack particular default editor
-
Hi! first excuse if my english is terrible! i’m Italian, we are the people of english negation, we have a education system famous in the world… 🙂
A greeting and thanks for those who want to help me,
I am not a naive webmasters, chew good xhtml / css! and php enough (it is not enough … apparently)Location:
– All plugins have been disabled (never use them unless necessary, I prefer the solutions code)
– I set a standard theme, to see if the theme was developed (though I started from scratch on white template, I did it for the sake)
– Virtual server linux
– site/blog Still testing locallymy problem:
using the html editor defoult by pasting this code in the form of the article:
<object id=”myId” classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ width=”600″ height=”260″>
<param name=”movie” value=”http://localhost/wordpress/wp-content/uploads/2010/05/dear_john.swf” />
<!–[if !IE]>–>
<object type=”application/x-shockwave-flash” data=”http://localhost/wordpress/wp-content/uploads/2010/05/dear_john.swf” width=”600″ height=”260″>
<!–<![endif]–>
Alternative content
<!–[if !IE]>–>
</object>
<!–<![endif]–>
</object>and using the header:
//disable wptexturize
<?php remove_filter(‘the_content’, ‘wptexturize’); ?>
to avoid trouble of replacing charactershtml output is:
<p>
<object id=”myId” classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ width=”600″ height=”260″>
<param name=”movie” value=”http://localhost/wordpress/wp-content/uploads/2010/05/dear_john.swf” />
<!–[if !IE]>–>
</object>
<object type=”application/x-shockwave-flash” data=”http://localhost/wordpress/wp-content/uploads/2010/05/dear_john.swf” width=”600″ height=”260″>
<!–<![endif]–>
Alternative content
<!–[if !IE]>–>
</object>
<!–<![endif]–>
</p>as you can see the end tag “</ object>” was made shortly after this “<!–[ if! IE ]>–>” while what I needed was that the object were nested one inside the ‘another, to use the validation system with SWFObject 2.0 static system
which serves to validate the flash.
someone tell me why the editor automatically closes the object? before the opening of the second <object> that should be inside?
because the html is not as expected?
All formatting tags like </ p>
I do not bother, I know how to avoid those, but the object tag so do not know why, do research on international sites for a week and am a little disheartened, there seems a big problem, something is bound to the editor that closes a tag I do not know why.
I have already tested other editors, the behavior does not change compared to defoult, so if you have any idea that does not prove one or the other plugins, unless you know something I do not know and I owe you because life hehe I do not know where to turn, and reading skills of many people in this forum hoping for help, well thanks to all. I will not break if not answer, not the type, I just hope someone has an idea and I can help.
see you soon and thanks
The topic ‘Hack particular default editor’ is closed to new replies.