You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- JCE Editor
- JCE EDITOR PRO discards coding.
Support is currently Offline
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Please post your question in the Forum and we will get back to you as soon as we can.
When using JCE Editor PRO I get this issue:
I add a link and select Windows Popup (since I need the scrollbars on mobile) and if I save this in the editor screen it works, but if I save in code-view the code dissapears.
And as you can see JCE also creates 2 "on-click"-sections with windows-popup.
The first "wrapper" I select JCE-popup and this selection saves without issues.
The code:
<div class="yjsg-row_boka">
<div class="yjsg-col-1-3;"><strong>27 Maj,</strong> Tid: 16.00</div>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" class="jcepopup noicon" onclick="return false;" onclick="return false;" data-mediabox="1" data-mediabox-width="750" data-mediabox-height="100%">
<button class="button_green">Boka</button>
</a>
</div>
<div class="yjsg-row_boka">
<div class="yjsg-col-1-3;"><strong>28 Maj,</strong> Tid: 16.00</div>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="window.open(this.href,'','scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-375)+',top=0,width=750');return false;" onclick="window.open(this.href,'','scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-375)+',top=0,width=750');return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_green">Boka</button>
</a>
</div>
<div class="yjsg-row_boka">
<div class="yjsg-col-1-3;"><strong>1 Juni,</strong> Tid: 19.00</div>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="window.open(this.href,'','scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-375)+',top=0,width=750');return false;" onclick="window.open(this.href,'','scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-375)+',top=0,width=750');return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_green">Boka</button>
</a>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="window.open(this.href,'','scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-375)+',top=0,width=750');return false;" onclick="window.open(this.href,'','scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-375)+',top=0,width=750');return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_merdatum">Visa fler</button>
</a>
</div>
This is the result after saving in "code"-mode:
<div class="yjsg-row_boka">
<div class="yjsg-col-1-3;"><strong>27 Maj,</strong> Tid: 16.00</div>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="return false;" onclick="return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_green">Boka</button>
</a>
</div>
<div class="yjsg-row_boka">
<div class="yjsg-col-1-3;"><strong>28 Maj,</strong> Tid: 16.00</div>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="return false;" onclick="return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_green">Boka</button>
</a>
</div>
<div class="yjsg-row_boka">
<div class="yjsg-col-1-3;"><strong>1 Juni,</strong> Tid: 19.00</div>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="return false;" onclick="return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_green">Boka</button>
</a>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="return false;" onclick="return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_merdatum">Visa fler</button>
</a>
</div>
I add a link and select Windows Popup (since I need the scrollbars on mobile) and if I save this in the editor screen it works, but if I save in code-view the code dissapears.
And as you can see JCE also creates 2 "on-click"-sections with windows-popup.
The first "wrapper" I select JCE-popup and this selection saves without issues.
The code:
<div class="yjsg-row_boka">
<div class="yjsg-col-1-3;"><strong>27 Maj,</strong> Tid: 16.00</div>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" class="jcepopup noicon" onclick="return false;" onclick="return false;" data-mediabox="1" data-mediabox-width="750" data-mediabox-height="100%">
<button class="button_green">Boka</button>
</a>
</div>
<div class="yjsg-row_boka">
<div class="yjsg-col-1-3;"><strong>28 Maj,</strong> Tid: 16.00</div>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="window.open(this.href,'','scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-375)+',top=0,width=750');return false;" onclick="window.open(this.href,'','scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-375)+',top=0,width=750');return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_green">Boka</button>
</a>
</div>
<div class="yjsg-row_boka">
<div class="yjsg-col-1-3;"><strong>1 Juni,</strong> Tid: 19.00</div>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="window.open(this.href,'','scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-375)+',top=0,width=750');return false;" onclick="window.open(this.href,'','scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-375)+',top=0,width=750');return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_green">Boka</button>
</a>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="window.open(this.href,'','scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-375)+',top=0,width=750');return false;" onclick="window.open(this.href,'','scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-375)+',top=0,width=750');return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_merdatum">Visa fler</button>
</a>
</div>
This is the result after saving in "code"-mode:
<div class="yjsg-row_boka">
<div class="yjsg-col-1-3;"><strong>27 Maj,</strong> Tid: 16.00</div>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="return false;" onclick="return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_green">Boka</button>
</a>
</div>
<div class="yjsg-row_boka">
<div class="yjsg-col-1-3;"><strong>28 Maj,</strong> Tid: 16.00</div>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="return false;" onclick="return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_green">Boka</button>
</a>
</div>
<div class="yjsg-row_boka">
<div class="yjsg-col-1-3;"><strong>1 Juni,</strong> Tid: 19.00</div>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="return false;" onclick="return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_green">Boka</button>
</a>
</div>
<div class="wrapper">
<a href="http://www.rojteatern.nu/biljett/" target="_blank" rel="noopener noreferrer" onclick="return false;" onclick="return false;" data-mediabox-height="" data-mediabox-width="750">
<button class="button_merdatum">Visa fler</button>
</a>
</div>
Please try JCE Pro 2.6.14 RC7 - https://www.joomlacontenteditor.net/downloads/editor/item/jce-pro-2614-dev
Just because you're not paranoid doesn't mean everybody isn't out to get you.
more than a month ago
·
#92014
Hi Ryan,
It seems as if the RC7-code did the trick! both the duplicate "on-click" and the discarded code was solved!
It seems as if the RC7-code did the trick! both the duplicate "on-click" and the discarded code was solved!
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!