Hi,
I have created a widget with hidden input fields in it.
CKEDITOR.plugins.add('contentwidget', {
// content widget code.
requires: 'widget',
icons: 'contentwidget',
init:function(editor){
CKEDITOR.dialog.add( 'testwidget', this.path + 'dialogs/testwidget.js' );
editor.widgets.add( 'testwidget', {
template:
'<div class="test">' +
'<div class="test-title">title</div>' +
'<div class="test-desc">desc</div>' +
'<input id="test" type="hidden" value="" />' +
'</div>',
But the hidden input element is getting converted into fake object, once the widget reloads. I want to avoid hidden input element getting converted into fake object. Is there any way to achieve this ?
If not is there a way to avoid fake objects getting created when the plugin reloads ?
thanks
ashy