localwiki / localwiki-backend-server

Primary LocalWiki backend server environment
GNU General Public License v2.0
48 stars 16 forks source link

Double-clicking (select all) of caption in FF problem #60

Open philipn opened 9 years ago

philipn commented 9 years ago

From @philipn on November 15, 2012 20:55

Double-clicking to select the full caption in an image on FF (16.0.2 - latest) then writing anything causes the caption text to disappear and the new text to appear as non-caption-styled text.

Copied from original issue: localwiki/localwiki#374

philipn commented 9 years ago

From @mivanov on November 15, 2012 21:4

I think what's happening is the caption span is also getting selected on double-click (only when it's a single word caption though, more words requires a triple-click). Changing the selection here would probably be tricky and too complicated. But I think we can fix this by putting anything typed into an image frame span into the caption, adding one if it's not there.