Ticket #217 (new defect)
Opened 21 months ago
Changing stylesheets from postInit-callback on multiple instances in (at least) Chrome and Safari
Reported by: | jvdp | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | editor | Version: | |
Keywords: | postinit multiple chrome | Cc: |
Description
When I add 2 instances of wymeditor to a page, both with a postInit-callback that changes css, the second one is unable to apply the css change. In Chrome and Safari, the callback of the 2nd instance seems to be unable to access wym._doc.styleSheets[0] (which is returned as undefined.) Version used is 0.5rc2
I will attach a modified version "07-custom-button.html" from the examples from the 0.5rc2 distribution that will reproduce the bug.
Attachments
Change History
Changed 21 months ago by jvdp
- attachment 07-custom-button.html added
Note: See
TracTickets for help on using
tickets.
Modified version of 'examples/07-custom-button.html'