Opened 16 years ago
Last modified 10 years ago
#3140 confirmed Bug
Indent problem with whole table
Reported by: | Garry Yao | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 Beta 2 |
Keywords: | Support | Cc: |
Description (last modified by )
Currently it's been unable to apply indent to the whole table.
- Make the content and selection as below:
^<table border="1" cellpadding="1" cellspacing="1" style="width: 200px;"> <tbody> <tr> <td> <br /> </td> </tr> </tbody> </table>^
- Apply the Indent command;
- Expected Result:
<p style="margin-left: 40px;"> <table border="1" cellpadding="1" cellspacing="1" style="width: 200px;"> <tbody> <tr> <td> <p> </p> </td> </tr> </tbody> </table> </p>
- Actual Result:
<table border="1" cellpadding="1" cellspacing="1" style="width: 200px;"> <tbody> <tr> <td> <p> </p> </td> </tr> </tbody> </table> <p style="margin-left: 40px;"> </p>
Change History (10)
comment:1 Changed 16 years ago by
Description: | modified (diff) |
---|---|
Summary: | Table level operation problem → Indent problem with whole table |
comment:2 Changed 16 years ago by
Milestone: | CKEditor 3.0 → CKEditor 3.x |
---|
comment:3 Changed 16 years ago by
Keywords: | Confirmed added |
---|
comment:4 Changed 15 years ago by
Version: | SVN (FCKeditor) → CKEditor 3.0 Beta 2 |
---|
comment:7 Changed 10 years ago by
This issue is related to #4903.
When selecting every cell in table I would rather expect to indent cells thus perhaps when clicking on table element in element's path we should allow indenting whole table.
I'm not really sure in what other way to allow indenting whole table. Any else has any ideas?
comment:8 Changed 10 years ago by
Perhaps there is a better idea - introducing new plugin with separate toolbar button and context menu option?
Current behaviour could be left as it is and with this plugin user could indent table by simply clicking on it (or selecting it). Plugin would then search for nearest table tag and apply indentation style there.
comment:9 Changed 10 years ago by
Keywords: | Support added |
---|
The ticket makes sense, but the exemplified "expected results" is wrong. You can't have <table> inside <p>. The correct result is the following instead: