User agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.3)
Gecko/2008092417 Firefox/3.0.3
Screen info: 1280x1024x32
Description of problem:
I use the 'id' attribute to keep track of some key information in a
document. The code that implements 'forced_root_block' (forceRoots) -
around line 11040, tiny_mce_src.js replaces the 'id' attribute of the first
top-level block with '__mce' without backing up/restoring any existing ID
(line 10162).
At the end of that function the id attribute is removed (line 10241).
I'm not aware of any prohibition against using the id attribute for my own
purposes - all that needs to happen is the old ID if present is backed up
and then restored.
This is only a problem if 'isIE' is false.
Steps to reproduce:
1. In the source document create an in-line element with an id attribute at
the top level.
2. Open the editor on that document.
3. Look at the page source - no id element.
I could fix this myself - but I'm not up to speed on the coding conventions
and so far haven't worked out how to build the 'compressed' JS file that
actually gets run.
Nobody/Anonymous
None
None
Public
|
Date: 2008-11-03 13:12 This bug is corrected in the SVN version for the next release of |
|
Date: 2008-10-29 21:30 I now understand a little more about the core structure and realise |
| Filename | Description | Download |
|---|---|---|
| ForceBlocks.js | Updated version of Force | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-11-03 13:12 | spocke |
| resolution_id | None | 2008-11-03 13:12 | spocke |
| close_date | - | 2008-11-03 13:12 | spocke |
| File Added | 299460: ForceBlocks.js | 2008-10-29 21:30 | peterw8102 |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use