Let’s look at that editor again…

We’ve seen that <embed> works, now let’s check a few other tags, and I’ll tell you why I think this is a great thing…

Let’s try inserting a <div> with a text-align center attribute and a background color:

Should be centered

So far so good!  In older versions of TinyMCE, if you added a <div> tag, it was automatically changed to a <p>aragraph tag in the editor when saved, effectively destroying whatever special layout you were trying to achieve.  The same was true of <embed> tags, which even if they managed to stay, were stripped of all their attributes.

If The guys at WordPress leave this functionality in, I’ll be a lot happier.  for one thing there are about 8 plugins I can kill on my cooking blog, and that would be a wonderful thing!


Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically each day to your feed reader. If you don't have a feed reader, you can always have these articles delivered to your email inbox every day. Click here to sign up.

No comments yet.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>