Preserving SCRIPT tags (and more) in CKEditor

前端 未结 3 1703
渐次进展
渐次进展 2021-01-02 04:17

Is it possible to create a block of code within the CKEditor that will not be touched by the editor itself, and will be maintained in its intended-state until explicitly cha

3条回答
  •  自闭症患者
    2021-01-02 04:50

    The issue is not with the CKEditor. Instead, the issue was with the MVC-Engine running the Site itself. Kohana has a global_xss_filtering within its configuration that is enabled by default. This prevents the submission of script tags, to prevent scripting-attacks on your site. Changing this value to false will permit the submission of

提交回复
热议问题