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

Strpping out HTML code by J_EDITOR ?

10 years 4 months ago #208 by 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 Log in or Create an account to join the conversation.

10 years 4 months ago #210 by 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 Log in or Create an account to join the conversation.

10 years 4 months ago #217 by 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 Log in or Create an account to join the conversation.

10 years 4 months ago #218 by 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 Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum

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.