Empêcher WordPress de saccager votre mise en page d’article

L’éditeur de texte TinyMCE utilisé par WordPress est très bien mais comme après avoir écrit un article WordPress applique certaines modifications impactant la mise en page, il y a pas mal de trucs que l’on n’arrive pas à faire comme insérer plusieurs lignes blanches successives par exemple.

C’est pour cela que quand Weblog tools collection a parlé de TrustWorthy XHTML je me suis précipité pour l’essayer et voir si certaines limites (ou caractéristiques) de TinyMCE ne pouvaient pas être ainsi dépassées.

Bon eh bien ce n’est pas très probant :

  • D’abord le plugin « add this » que j’utilise normalement ici cesse de fonctionner dès que j’active.
  • Le plugin a plein d’options mais ne testant toutes les combinaisons possibles, je n’ai pas réussi à forcer et à conserver une suite de saut de ligne ( code </br).

Je n’ai même pas réussi à insérer du code adsense dans un billet sans qu’il soit reformaté. C’est peut-être à ça que sert ce plugin mais alors je crois que je n’en aurais pas vraiment l’utilité (pour adsense, il y a l’excellent adsense-deluxe qui fait encore bien mieux)
En fait, on peut dire que je n’ai pas compris à quoi servait ce plugin ni à le faire fonctionner d’ailleurs). Si vous voyez des usages qui m’auraient échappés, n’hésitez pas à laisser un petit commentaire

Le plugin se pilote depuis votre le menu TrustWothy XHTML de l’onglet options et depuis la gestion des utilisateurs si vous l’avez autorisé.

Traduction des options du plugin :

  • default limited subset of XHTML : revient à ne pas utiliser le plugin et à laisser le formatage de WordPress fonctionner normalement.
  • Transitional XHTML : permet d’utiliser certaine baslises interdites normalment comme <div> et <embed>. Change <b> vers <strong> et <i> vers <em>.
  • HTML : Les balises HTML valides ne sont pas retirées. Les balises non valides seront supprimées, les balises non fermées seront fermées et les balises mal imbriquées seront corrigées.
  • Disable post subit change : ceci arrête le reformatage des articles après qu’ils aient été publié (? pas bien compris à partir de quand on considérait qu’un article était « soumis »).
  • Anything goes : empêche absolument tous les reformatages. TinyMCE, l’éditeur « riche » est shunté et ne reste plus qu’un éditeur en mode code. N’utilisez cette option qu’à vos risques et péril, vous risquez de faire planter l’affichage de vos pages et articles…

Override User role : quand un rôle est coché (éditeur, auteur ou contributeur), on ne peut pas gérer profil par profil les options du plugin.

Trackbacks Commentaires
  • Annie dit :

    lors d’une recherche d’un nouveau thème j’ai eu l’heureuse idée d’aller voir le forum Fr et v’là t’y pas que je découvre qu’ils offrent des liens sur des sites de traducteurs. Donc merci.
    sur l’éditeur, combien de fois j’ai essayé sans succès croyant que c’était moi qui ne savais pas m’y prendre… quant aux extensions qui n’apportent rien, ça aussi je connais.

  • Let’s see how things work with that other cultural pattern of Columbus Breaking the Egg,

    which is in the form of a story that has become part of the thinking pattern of our Western

    This is based on a popular story about Christopher Columbus. Columbus challenged some

    Spanish noblemen to make an egg stand on its end with no support. It was too difficult a

    task for them, and none of the nobles could do it. So Columbus simply tapped one end of the

    egg on the table, which allowed the egg to stand upright on its own crushed parts. So the

    task seemed hard, but was actually very easy to do, which is the essence of this cultural


  • lecastor dit :

    One student wanted to write about learning to get dates by talking with girls. Said like

    that, there was no sense of newness to it. But when he learned about the Columbus Breaking

    the Egg cultural pattern, he came up with this for his essay:

    I used to think getting a date was hard. I got turned down all the time. Like other guys, I

    thought girls wanted to date only athletes, big achievers, rich guys, or really good looking

    guys. But then I learned that a lot of girls like guys they can talk with – just talk with!

    How easy! Now I never get turned down for a date!

  • Many cultural patterns of newness exist ‘out there’ for us to piggyback on, both for

    generating new ideas and as pre-existing formats for conveying our strong positive or strong

    negative ideas.
    Can you think of any others from your own experiences?
    Here are a few more cultural patterns you can plug your strong negative and strong positive

    experiences and views into in order to create and convey newness:

    David versus Goliath—–Little guy unexpectedly beats big guy.

  • apume dit :

    5. Finally, is your fireplace active or is it almost never used? If you are using an

    electrical fireplace or one that is inactive the whole year round, you need not invest

    in fire-resistant rugs which are generally expensive. Untreated rugs are much cheaper.

    On the other hand, if your fireplace is frequently used, you can do well in buying a

    rug that is totally fire-resistant; more so if you don’t have a fireplace screen.

    Invest in a hearth rug that ensures safety in the highest possible level.

  • You already know about membership sites to get in on the best property auctions. You even know how to correctly decide what is the value of some of the items put up for personal auction. But do you know where to look for auctions when advertising is not real important to the auction agenda? This is a quick run down of five of the best places to go when you want to find auctions that the general public is not going to find.

  • biboche dit :

    A great place to check on local auctions is the auctioneer himself. You can find most auctioneers online by doing a local search for auctioneers. Some have their own websites but many do not. Then is is a simple matter of calling them and asking them what auctions they are going to be running soon. You can express respect for the auctioneer by telling him what you are looking for and why. Then from his schedule he can tell you when and where you might find what you are looking for. When you come to the auction make a point of saying hello to the auctioneer before the auction starts. He will know he recruited a new buyer to his following and he will probably give you a nod or at least look more in your direction since he brought you on board.

  • check lisible dit :

    Le plugin a plein d’options mais ne testant toutes les combinaisons possibles, je n’ai pas réussi à forcer polo ralph lauren et à conserver une suite de saut de ligne

  • cac40endirect dit :

    Incorporating the printer into your home or office network is as simple as can be. The nearly universal printer setup and simple instructions make the set-up process a dream. The printer functions with marvelous fluidity with most networks and business setups to give a simplistic work environment.
    The Apple LaserWriter 8500 runs on an affordable compatible toner sure to please everyone. The compatible toner capacity is more than fair and ensures that you won’t soon have to replace your compatible toner. Installing and replacing compatible toner is quick and simple. The effortless but attractive design of the printer makes maintenance and care a fast and painless chore.

  • domibusiness dit :

    The aluminum, uni-body construction of the casing is something they all seem to like. The multi-tasking Mac OS and overall design of the laptop offers impressive features over some of the other laptops on the market. Many think that the Apple MacBook Pro MB990LL is designed as quite an attractive laptop, compared to other brands and models. Stylish appearance doesn’t impress all consumers, however and it is possible to get more memory, storage and features in other laptops that cost less money in other brands.

  • gabrieldelmas dit :

    The surface of this laptop is glossy, which has pros and cons. It has been noted that you get superior viewing if lighting circumstances are good, but when lighting conditions were normal, the reflection was too much and created glare. The normal sized keyboard has no number pad. The other complaint was regarding the non-removable battery.
    It can’t be denied that other laptops don’t offer the superior Mac OS, which is noted for the multi-tasking abilities. While this model is an improvement over previous aluminum 13″ MacBooks that were launched and the price was reduced by $100, reviews were still mixed, although these were items that some consumers were impressed with.

  • version serveur dit :

    on ne peut pas gérer profil par profil nike free les options du plugin