Use CSS styles for indent and outdent
|Reported by:||martinkou||Owned by:||martinkou|
|Priority:||Normal||Milestone:||FCKeditor 2.5 Beta|
|Component:||Core : Styles||Version:||SVN (FCKeditor) - Retired|
The current indent/outdent implementation uses built-in browser commands for indentation, which in turn uses <blockquote> or <ul>/<ol> tags to indent or outdent text. Although the behavior is consistent between browsers, this approach produces unnecessary HTML tags.
A better way to implement indenting is by using the margin-left and margin-right CSS properties. They do not introduce extra HTML tags and are not affected by any styles that might be declared with <blockquote> in mind (see #1197).
The new indent/outdent implementation should take into account of right-to-left languages as well.
Change History (9)
comment:1 Changed 9 years ago by martinkou
- Owner set to martinkou
- Status changed from new to assigned