08-29-2014, 07:49 AM
[eluser]mstdmstd[/eluser]
Hi all,
I want to include ckeditor in my ci 2.2 project, I do it with JS code like
it work but submitting the form the html tags are cut when submitting data to database
In config file I set value
but result was the same. How to fix it ?
If theere is something better of ckeditor for CI project? ckeditor is power and easy...
Hi all,
I want to include ckeditor in my ci 2.2 project, I do it with JS code like
Code:
jQuery(document).ready(function ($) {
CKEDITOR.replace('content_textarea', {
on: {
pluginsLoaded: function (evt) {
var doc = CKEDITOR.document, ed = evt.editor;
if (!ed.getCommand('bold'))
doc.getById('exec-bold').hide();
if (!ed.getCommand('link'))
doc.getById('exec-link').hide();
}
}
});
});
In config file I set value
Code:
$config['global_xss_filtering'] = false;
If theere is something better of ckeditor for CI project? ckeditor is power and easy...