Opened 14 years ago

Closed 14 years ago

#5369 closed Bug (invalid)

editor addCss only works on first pass

Reported by: Robert Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:


In order to recreate the bug I used the divreplace example. After the line to replace the dive I add "editor.addCss("body{background-color:red;}");"

On the first div the css is added. On the subsequent editors on the other divs it no longer works.

The bug was produced in Firefox 3.5.8 and IE 6, 7, & 8

Change History (1)

comment:1 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Resolution: invalid
Status: newclosed

The docs already state that you must use it before the editor is loaded, it has no effect after that. The first time works before the load takes longer and so the line is executed just in time.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy