Opened 13 years ago
Last modified 13 years ago
#8748 confirmed Bug
Unable to edit text inside <td> elements if there is no preceding block level element — at Initial Version
Reported by: | Phil | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.5.1 |
Keywords: | Cc: |
Description
We allow our clients to use CKEditor's full HTML page feature to edit their e-mail templates.
Most e-mail templates require the use of HTML tables, to comply with outdated e-mail clients (Outlook) for layout. Because of this, we have set our editor to HTML mode.
We have found the following issue from our clients:
When a user has text inside a <td> tag, they are unable to change the color, size etc of the text, unless a preceding block level element exists inside the <td> cell.
We have tested this on our version of CKEditor, the version on the demo page, and the nightly SVN version, and can all replicate this bug.
I've attached a "e-mail template" from Campaign Monitor. To replicate the issue:
- copy the HTML into CKEditor's source feature
- Select the text Heading 1
- Try and change the colour of the text, using the CKEditor text colour selector to red.
- The colour will not change, and many <span> tags are added to the HTML
To prove that you need a block level element at the beginning of the <td>:
- Repeat steps 1 and 2 above
- Add a new line before Heading 1
- Select the Heading 1 text, and attempt to change its color to red. This should now work
This behavior has been tested in FF10, FF9, Chrome, and IE9. But I suspect is an issue across all browsers. From my testing, it is not only <h1> tags that can't be edited without a preceding block level element. It is all text elements, such as <p>, <span> etc.
A sample e-mail template which replicates the issue