Skip to content

24 ways to impress your friends

Vote up?

Faust Gertz

@John Faulds:

If they’re using WYSIWYG editors, how do they attach multiple classes without editing the HTML directly?

I used a similar technique a few years back for client using Contribute as their WYSIWYG editor. My solution to the “multiple classes without editing the HTML” problem was to create shared assets with image and caption placeholders for each width and alignment combination.

The user simply

* inserted the shared asset for the desired width and alignment

* replaced the placeholder image

* and either replaced or deleted the caption placeholder.

Here are two examples from the current site:

* Luther Wins Conference Opener

* Luther Defeated at Simpson

This won’t win any semantic awards, but it provides the desired flexibility via a WYSIWYG editor and is better than what the client was doing, which was the floating tables.