how to prevent tinymce from stripping the 'style' attribute from input element?

前端 未结 4 1237
陌清茗
陌清茗 2020-12-18 04:25

I have been reading the official docs and blog posts and SO for hours, certain somewhere the answer would be posted already.. but no luck.

It seems that no amount

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-18 05:01

    As Thariama pointed out, tinymce was not at fault.. but it was my lack of knowing what all CodeIgniter's $config['global_xss_filtering'] = TRUE; was doing. If you find you are experiencing the same issue, here is how I addressed it; please see here: Codeigniter - Disable XSS filtering on a post basis .

提交回复
热议问题