Issue Details (XML | Word | Printable)

Key: XWIKI-400
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Phung Hai Nam
Reporter: Phung Hai Nam
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XWiki Core

Need to find a way to center an image

Created: 27/Oct/06 03:54   Updated: 26/Dec/06 03:34
Component/s: Editor - TinyMCE WYSIWYG
Affects Version/s: 1.0 B1
Fix Version/s: 1.0 B2

keywords: need to find a way to center an image
Date of First Response: 06/Dec/06 16:21
Resolution Date: 26/Dec/06 03:34


 Description  « Hide
you need to find a way to center an image (the text 'center' as the
alignement info could add a <div align='center'> tag).

 All   Comments   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Sergiu Dumitriu added a comment - 06/Dec/06 16:21
The halign macro parameter allows this.

halign=floatleft => the image is floated to the left
halign=left => the image is displayed inside a div, aligned to the left
halign=center => the image is centered
halign=right = > the image is displayed inside a div, aligned to the right
halign=floatright => the image is floated to the right
missing halign => the image is displayed inline.


Sergiu Dumitriu added a comment - 06/Dec/06 16:22
Nam, you should add a toolbar button for this in the wysiwyg editor.

Phung Hai Nam added a comment - 25/Dec/06 08:34
This bug has been fixed !

To align center an image we use Horizontal Alignment option .


Phung Hai Nam added a comment - 26/Dec/06 03:15
Reopen this issue to set the component.

Phung Hai Nam added a comment - 26/Dec/06 03:20
This bug has been fixed !

To align center an image we use Horizontal Alignment option .