Hello, i have one problem with CKeditor.
In my table i have one field tupo_somos(type TEXT) and When the textarea code is like this:
<p>just one line</p>
the record save and updates just fine. But when I add another line - resulting in following code:
<p>just one line</p> <p>another line</p>
nothing happens.
My Controller is:
public function tienda(){ try{ $crud = new grocery_CRUD(); $crud->set_theme('datatables'); $crud->set_table('tupo'); $crud->set_subject('Tienda'); $crud->display_as('tupo_somos','¿Quiénes Somos?'); $crud->display_as('tupo_somos1','Foto 1 - ¿Quiénes Somos? (280 x 395 px)'); $crud->display_as('tupo_somos2','Foto 2 - ¿Quiénes Somos? (280 x 395 px)'); $crud->set_field_upload('tupo_somos1','assets/uploads/tienda/'); $crud->set_field_upload('tupo_somos2','assets/uploads/tienda/'); $crud->columns('tupo_somos1','tupo_somos2'); $crud->unset_delete(); $crud->unset_add(); $crud->unset_read(); $output = $crud->render(); $data=array(); $data['titulo']='Nuestra Tienda'; $output->data=$data; $this->_example_output($output); }catch(Exception $e){ show_error($e->getMessage().' --- '.$e->getTraceAsString()); } }