Ticket #5804 (confirmed Bug)

Opened 4 years ago

Last modified 6 weeks ago

Form elements are not editable

Reported by: matti Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Firefox Cc: a.trojan@…, lqixv@…, lanic, ckeditor@…

Description

Checkbox and radiobutton do not get focus or context menu on FF 3.6.3 and are not editable because of this.

Fake element replacement would be feasable to fix this since elements have basically two appearances selected and unselected.

In #4056 I posted form_changes.zip which uses fake elements for this. Allthough changes are dated and should be rewritten I see no harm done in this approach.

Attachments

nid_forms.zip (17.4 KB) - added by matti 20 months ago.
nid_forms uses forms plugin translations and fixes this bug with fake objects. (Requires CKEDITOR.plugins.addExternal('nid_forms', '/path/to/nid_forms/','plugin.js'); config.removePlugins = 'forms'; config.extraPlugins = 'nid_forms';

Change History

comment:1 Changed 4 years ago by fredck

  • Milestone CKEditor 3.x deleted

Milestone CKEditor 3.x deleted

comment:2 Changed 4 years ago by wwalc

  • Status changed from new to confirmed
  • Version changed from SVN (CKEditor) - OLD to 3.0

Confirmed, there is no way to edit the checkbox element in FF 3.6.12. I've checked the older versions of the editor and it looks like it didn't work in 3.0 as well.

comment:3 Changed 4 years ago by Anna

  • Cc a.trojan@… added

The same problem also occurs with the selection field form control.

comment:4 Changed 4 years ago by alfonsoml

  • Cc lqixv@… added

#6846 has been marked as dup

comment:5 Changed 4 years ago by alfonsoml

  • Cc lanic added

#6968 has been marked as dup

comment:6 follow-up: ↓ 8 Changed 3 years ago by wwalc

  • Summary changed from Checkbox and radiobutton not editable on FF to Form elements are not editable

#6314 marked as duplicate (Safar @ Mac, Checkbox, Radio Button, Text Area, Text Field )

comment:7 Changed 3 years ago by datalink

I find out, the right click works, if there is no parent element. Maybe it helps.

comment:8 in reply to: ↑ 6 Changed 3 years ago by matti

  • Keywords Firefox added

Replying to wwalc:

#6314 marked as duplicate (Safar @ Mac, Checkbox, Radio Button, Text Area, Text Field )

Safari 5.0.4 on Win XP works.

Exists on FF 4.0 with current nightly 6638

Is #3069 related?

comment:9 Changed 3 years ago by garry.yao

Bug remains in latest Firefox4.

comment:10 Changed 3 years ago by matti

Replacement should be quite easy to do and this browser bug has existed since FF3 should we wait for browsers to fix this or use fake element replacement on these problem elements? Fake element replacement could be removed when browsers support this correctly.

Only problems would come with selection field form control (replacement would not know its width and contents cannot be seen in wysiwyg).

comment:11 Changed 3 years ago by Kingsquare

  • Cc ckeditor@… added

This problem still exist in Firefox 6.0.

comment:12 Changed 2 years ago by j.swiderski

Problem still exists in Firefox 10.0.2

comment:13 Changed 2 years ago by matti

Is Mac Safari still broken?

Since browser vendors are apparently not going to fix this (example FF3->FF10) is it now safe to assume after 21 months that fake element solution should be made to fix this in CKEditor.

Or you could make some noise in general direction of Mozilla team https://bugzilla.mozilla.org/show_bug.cgi?id=416766 apparently Mozilla has had this problem since Martin Kou's report back in 2008-02-10 20:57:47 PST

comment:14 Changed 2 years ago by j.swiderski

#2294 was marked as duplicate.

comment:15 Changed 2 years ago by j.swiderski

#3069 was marked as duplicate.

comment:16 Changed 2 years ago by tim

Double click to edit doesn't work either (Firefox 13.0.1). Does work in IE and Chrome though

comment:17 Changed 23 months ago by j.swiderski

#7483 was marked as duplicate.

comment:18 Changed 23 months ago by j.swiderski

#680 was marked as duplicate.

comment:19 Changed 23 months ago by j.swiderski

#9318 was marked as duplicate.

comment:20 Changed 20 months ago by matti

Confirmed with FF 17 and CKEditor 4.0 (revision 769d96134b)

Changed 20 months ago by matti

nid_forms uses forms plugin translations and fixes this bug with fake objects. (Requires CKEDITOR.plugins.addExternal('nid_forms', '/path/to/nid_forms/','plugin.js'); config.removePlugins = 'forms'; config.extraPlugins = 'nid_forms';

comment:21 Changed 20 months ago by matti

Should have mentioned that nid_forms.zip is for CKEditor4

comment:22 Changed 16 months ago by j.swiderski

#10223 was marked as duplicate.

comment:23 Changed 10 months ago by matti

Confirmed with FF 23.01 & 24.0 and CKEditor 4.3 beta.

Could the new selection.fake be used here to fix this?

comment:24 Changed 8 months ago by j.swiderski

We will have this issue discussed in the nearest meeting.

Anyway I have checked your plugin and it looks like it might be used a very very good jump-start :)

comment:25 Changed 6 months ago by a.nowodzinski

#11409 was marked as duplicate.

comment:26 Changed 6 weeks ago by matti

Confirmed with Firefox 30.0 and CKEditor 4.4.2 (Full) (revision d888ea2) current nightly.

4 years come on ;)

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy