Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 General
 Suggestions - NOT QUESTIONS
 Editor modifying code
Author « Topic »  

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 08/14/2018 :  05:16:46  
Hi,

In the html code on this page: yogabliss{DOT}co{DOT}uk{/}products{/}Yoga-Mat-Bags
both CKEditor and Froala strip this line: [red]<label for="post-2" class="read-more-trigger"></label>[/red] when I make any changes.

Just wondering if anyone can see why it might do this and if there is a workaround?

Thanks,

Steve

Vince
Administrator

42766 Posts

Posted - 08/14/2018 :  05:44:46  
Hi Steve
Things are going in the Froala direction now so it's probably best to fix in that and I think the problem is that it is an empty tag. I presume the actual content is defined in the CSS file or something like that but if you look in the incloginfunctions.php file for this...
htmlallowedemptytags
...you should see a list like this...
'textarea','a','ecttab','iframe','object','video','style','script','.fa'
...and just add it in there like this...
'textarea','a','ecttab','iframe','object','video','style','script','.fa','label'
Meanwhile I'll add to the core code here so the next update should have the change.
This will stop Froala stripping the label because it is an empty tag.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 08/14/2018 :  07:00:18  
Hi Vince,

That works fine with Froala, so if you can add the label tag to the next updater I'd really appreciate it.

Many thanks,

Steve

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 08/16/2018 :  00:52:09  
Hi Vince,

Perhaps it would be possible to have access to allowed html tags in Froala via includes?

That way you can add your own as they occur and it would save having to add each to the core code.

Steve

Andy
ECT Moderator

95440 Posts

Posted - 08/16/2018 :  01:04:50  
Hi Steve

Vince is away on a well-earned vacation so I can put this in the Suggestions forum if you like as I'm not sure of the feasibility of adding that function to the includes file.

Andy

Please feel free to review / rate our software

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 08/16/2018 :  01:43:18  
Hi Andy,

Yes maybe you can place this in the suggestions for me.

Thanks,

Steve
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000