Ticket #210 (new defect)

Opened 2 years ago

Last modified 2 years ago

Unable to insert content in new tables in FF > 3.5

Reported by: weswinham Owned by:
Priority: major Milestone: 1.x
Component: editor Version: trunk
Keywords: Cc:

Description

In firefox 3.6+ (tested in 3.6.3 and 3.7a5pre), it's not longer possible to insert content in to newly-created tables. Tables that already exist (aren't created with the table dialog during that session) are fine. If you use the + to add rows/columns once a table is created, you can insert content in those new rows/columns.

It's as if somehow those rows/columns are not initially marked as editable.

Change History

comment:1 Changed 2 years ago by weswinham

So it looks like starting with 3.6, firefox sticks <br _moz_dirty=""> elements inside new td's when you use the built-in new row/column ability. If you manually insert a table in to the DOM (like we do with the table dialog), it must have those (or some other content) in order to be editable by the user.

I implemented a fix for this and refactored the table code a little bit so that I could write a unit test on the new functionality. It's available here:  http://github.com/winhamwr/wymeditor/commit/75d2181d5bda782601d6c45ef082731d457bd2de

comment:2 Changed 2 years ago by weswinham

Note: See TracTickets for help on using tickets.