image attachment class problem
-
We are new to this CKEditor plugin as of 3.6.2.4, having used Dean’s plugin before that. CKEditor for WordPress is much easier to use, but it has an annoying quirk that, amazingly, went unfixed in the latest version.
The problem is that the class attribute on an uploaded image gets modified with every save, until you eventually get something that looks like this –
<p>[caption id="attachment_183" align="alignleft" width="100" caption="Rope swings"]<img src=”/wp-content/uploads/2012/03/camp-colman1-100×100.jpg” alt=”Rope swings” title=”Rope swings” class=”size-thumbnail wp-image-183 wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft wp-caption alignleft” height=”100″ width=”100″ />[/caption]</p>
… and hey, how come this plugin won’t let us see or edit the caption in visual mode?
- The topic ‘image attachment class problem’ is closed to new replies.