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

[eluser]ivantcholakov[/eluser]
Also, see this page http://ckeditor.com/ckeditor_4.3_beta/sa...ering.html

The configuration option config.allowedContent is interesting, set it to true. See their example there:

Code:
CKEDITOR.replace( textarea_id, {
allowedContent: true
} );

Edit: If it works, then you need to decide what tags are to be allowed and to enumerate them.

But... this is javascript implemented protection that is easy to be bypassed. I prefer to set config.allowedContent to true and then to apply my filter as a form validation rule, a server-side filter. Have a look at http://htmlpurifier.org/


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