× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Strpping out HTML code by J_EDITOR ?

10 年 3 个月 前 #208 angotsai
Strpping out HTML code by J_EDITOR ? was created by angotsai
Hi , 
       I created a field (J_EDITOR) by Component Creator and the field always stripped out HTML code when I saved . 
I make sure my article editor that don't strip out HTML code , only Component Creator does. And I used the TINYMCE editor. 
Is that bug ???  

Please 登录注册一个帐号 to join the conversation.

10 年 3 个月 前 #210 Daniel
Replied by Daniel on topic Strpping out HTML code by J_EDITOR ?
Check what filter is applied to this field.
After installation you can find it in components/com_yourcomponent/models/forms/yourformname.xml

Please 登录注册一个帐号 to join the conversation.

10 年 3 个月 前 #217 angotsai
Replied by angotsai on topic Strpping out HTML code by J_EDITOR ?
I cannot find the components/com_yourcomponent/models/forms/yourformname.xml , 
I can find the administrator/components/com_yourcomponent/models/forms/yourformname.xml , 

I only edit the field on back-end . 
It does not show any "filter" on the field for XML.
 <field name="desc" type="editor"                
            label="COM_COURSE_TEACHER_FORM_LBL_COURSE_TEACHER_FORM_DESC"
            description="COM_COURSE_TEACHER_FORM_DESC_COURSE_TEACHER_FORM_DESC" 
            cols="100"
            rows="8" /> 
Please help , thanks.

Please 登录注册一个帐号 to join the conversation.

10 年 3 个月 前 #218 angotsai
Replied by angotsai on topic Strpping out HTML code by J_EDITOR ?
I know how to do it ~

add the code  it will be done. 
filter=\"raw\"
thanks your tip. 
The following user(s) said Thank You: Elia, Unity

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.052秒
核心: Kunena 论坛

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.