Ticket #1231 (closed New Feature: fixed)
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 |
| Keywords: | Cc: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.