Weird CKEDITOR Bug

edited June 2012 in Modules
my code:

$fields['specifications'] = array('type' => 'textarea', 'label' => 'Product Spec','order' => '11');
$fields['options'] = array('type' => 'textarea', 'label' => 'Product Options','order' => '12');

The option ckeditor is set in MY_fuel.php so all text areas will automatically be CKEditor format.

Whenever you create a line break and hit save it returns a

Forbidden
You do not have permission to access this document.

If you leave the line breaks out it works fine.

Any ideas?

Comments

  • edited 12:36PM
    I have not ran into that issue yet (but have many others with CKEditor). Is it browser specific?
  • edited 12:36PM
    No its not browser specific. Without line breaks it works fine...put them in and snap.

    Forbidden
  • edited 12:36PM
    FIXED! The problem seems to come if you name a field in your table to options.

    using $fields['options'] causes the error. Looking at the html source the name='options' value='options' cause a problem.

    I renamed the field to product_options and all seems well.
  • edited 12:36PM
    Strange. Does that problem happen with markItUp!?
  • edited 12:36PM
    Negative, just with CKEDITOR
Sign In or Register to comment.