If you use CKEditor to edit forms, inserted checkbox, radio and select elements are not editable. This plugin replaces this elements with fakeelements, that you can edit them. The plugin was inspired by a patch [ delete ] Most source is copied [ /delete ] from the bug tracker. Thanx to matti [ delete ] Sorry, don't find it again to thanks the poster [ /delete ].
License
Licensed under the terms of the GPL.
Download
fakeelements_checkbox_radio_select.zip
Installation
1. Extract the archiv and copy the "formchanges" folder to CKEditors "plugins" folder.
2. In the CKEditor configuration file (config.js) add the following code:
config.extraPlugins = 'formchanges';
Re: Fakeelements for checkbox, radio and select
It was me...
https://dev.ckeditor.com/ticket/4056#comment:7
And it would be nice if CKEditor licensing http://ckeditor.com/license would be used in this plugin since my code was provided as patch preview.
Re: Fakeelements for checkbox, radio and select
Re: Fakeelements for checkbox, radio and select
W-O-W. This has still not been fixed in CKeditor?
I built a patch for FCKeditor for this problem: http://dev.ckeditor.com/ticket/703
That was three years ago. Why fix the hidden field problem (which had exactly the same solution), but leave this open as a wontfix??
Re: Fakeelements for checkbox, radio and select
So i think this problem was not being fixed yet on latest CKEditor![8-)](http://b.cksource.com/a/2/img/smilies/icon_cool.gif)
Error
When loading the editor the following error occurs: TypeError: a.addCss is not a function
Does anyone have a solution?
rafaellucini, when properly
rafaellucini, when properly setup CKEditor doesn't cause these kinds of errors. As for the Fakeelements issue, it's a FF bug. Not much we can do here.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Thanks!
Thanks!
any idea or plugin to fix?
Ya, bug Mozilla to fix it! :D
Ya, bug Mozilla to fix it! :D But seriously, if a solution comes up it will most likely be mentioned here.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
thanks a lot!
thanks a lot!
But, now CKeditorinstance.getData() remove the fake elemnts when save :/
Sorry for my english :X
Vertically grouped radio buttons, and radio button array
Hi,
I'd like to have some "array" of radio buttons, like in the following HTML mockup (see radio_array.html_.txt or radio_array.png for a screenshot).
This would be used to imbed or link several types of objects; some can't be imbedded, and some will be imbedded always, but most can be treated either way. Thus, I'd like to have two columns of radio buttons (1st column: link, 2nd column: imbed), and as many rows as I have types. With all of them in the same group, I'd have a one-click-solution.
Can this be done in a plugin dialog? I wouldn't be shocked if onClick functions would need to be created, and it would be sufficient to create a statically configured preset.
As a first step it would be ok to have two groups of radio buttons; but this would introduce the need to dynamically enable/disable radio buttons, and of course I'd like to have the types radio buttons arranged vertically.
Is there a recommended way to arrange radio buttons vertically?
Is it possible to enable/disable radio buttons by value?
Thanks in advance!
Attachments: