trsteel88 / TrsteelCkeditorBundle

Symfony2 bundle for easy integration of the CKEditor WYSIWYG
97 stars 58 forks source link

'Save' button on disabled ckeditor field #83

Closed SOunalli closed 10 years ago

SOunalli commented 10 years ago

The Save button in Toolbar groups shoud be disabled too when the field is disabled, because if we click on it it save all the form (and it can be disabled or have disabled field) so it will save an invalid form.

disabled ckeditor

trsteel88 commented 10 years ago

I am not quite sure what you mean here.

Are you referring to the text area being disabled? eg, ?

If so, this would be related to ckeditor rather than this bundle

SOunalli commented 10 years ago

yes that's it when the text area is desabled (on my FormType)

$builder->add('description', 'ckeditor', array( 'required' => false, 'attr' => array('rows' => 6, 'cols' => 60), 'disabled' => true ));

trsteel88 commented 10 years ago

That is an issue with the ckeditor library, not this bundle.