Commit fb09beb
Chris Hart
Make TinyMCE cellpadding and cellspacing work
Fixes: CNVS-19489
Test plan:
- In TinyMCE, make 2 tables: one with cellpadding
and cellspacing, and one without. Give both
tables a border value, so you can see their
dimensions.
- When you save your content, you should see that
the cellpadding and cellspacing values are now
being respected in published content.
- Note: this commit fixes everything except the use
case where the user creates a table inside a parent
table. Only tables that are direct children of
the .user_content container were possible to
target with this fix.
Change-Id: I28b589f38167549e1a4a046327f08fcaed08a3cc
Reviewed-on: https://gerrit.instructure.com/72715
Tested-by: Jenkins
Reviewed-by: Colleen Palmer <colleen@instructure.com>
Product-Review: Colleen Palmer <colleen@instructure.com>
QA-Review: Myller de Araujo <myller@instructure.com>1 parent 991bc5f commit fb09beb
3 files changed
Lines changed: 18 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
225 | 242 | | |
226 | 243 | | |
227 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 5 | | |
17 | 6 | | |
18 | 7 | | |
| |||
0 commit comments