Loading...
 
Skip to main content

Wanted: default class for images added in wiki editors

Status
Open
Subject
Wanted: default class for images added in wiki editors
Version
6.x
Category
  • Feature request
Feature
Article
Blog
WYSIWYG (What You See is What You Get)
Wiki Syntax (text area, parser, external wiki, etc)
Resolution status
New
Rating
(0)
Description

Images that are added using the wiki editor (anyway the normal editor, I didn't check the wysiwyg editor yet) don't have a default class. This is the simple case of no containing box or anything added along with the image. Therefore it isn't possible for them to have a default style such as margin or border unless it is added manually by the page author. Or if it is specified by the stylesheet (.postbody img or .wikitext img, etc.) then all images in those divs get the treatment, including smileys and external link icons, etc.

I suggest adding a default class like "contentimage" to enable a default style. Page authors can always add a second class if needed.

Solution
Modify wikiplugin_img.php, I believe.
Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Please demonstrate your bug on show2.tiki.org
Demonstrate Bug (older Tiki versions)
 Show.tiki.org is currently unavailable

Unable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.

Ticket ID
3565
Created
Sunday 03 October, 2010 03:16:39 GMT-0000
by Gary Cunningham-Lee
LastModif
Sunday 03 October, 2010 03:16:39 GMT-0000