Welcome Guest, Not a member yet? Register   Sign In
Submitting data from ckeditor tags are cut
#1

[eluser]mstdmstd[/eluser]
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();
                    }
                }
            });
        });
it work but submitting the form the html tags are cut when submitting data to database
In config file I set value
Code:
$config['global_xss_filtering'] = false;
but result was the same. How to fix it ?
If theere is something better of ckeditor for CI project? ckeditor is power and easy...


Messages In This Thread
Submitting data from ckeditor tags are cut - by El Forum - 08-29-2014, 07:49 AM
Submitting data from ckeditor tags are cut - by El Forum - 08-29-2014, 08:01 AM
Submitting data from ckeditor tags are cut - by El Forum - 08-29-2014, 08:10 AM
Submitting data from ckeditor tags are cut - by El Forum - 08-29-2014, 04:08 PM
Submitting data from ckeditor tags are cut - by El Forum - 08-29-2014, 11:34 PM
Submitting data from ckeditor tags are cut - by El Forum - 08-30-2014, 12:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB