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

  1. hundenarr
  2. JCE Editor
  3. Wednesday, 07 October 2020
Dear JCE Editor Team,
I am trying to add a script code into an article. In JCE code preview and it is working, but when I am switching back to "Editor" tab and back to JCE code preview, some parts of the code is removed.
JCE Editor modifications made in an attempt to save code:
Joomla Filtering - Set to No Filtering for the user group
'Editor Parameters' - 'Cleanup and Output' Setting - I set the Validate HTML setting to - No
'Advanced' Settings - 'Allow Javascript', 'Allow CSS' and 'Allow PHP' to - Yes
'Plugin Parameters' - 'media support settings' - 'Allow IFrames' to Yes

Even if I only open an article in editor tab view without switching to code preview, parts of the script are removed after saving text changes. Any hint, what can be doneto prevent this?
I add screenshots of the sourcecode before switching to the Editor tab, and what it looks like after switching back to the Code tab.
Attachments (2)
Accepted Answer Pending Moderation
The <daa-wgt> tag is not valid HTML and is an empty tag, which is why it is removed.

Please try JCE Pro 2.8.19 Beta 6 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

This includes a new system of Code Blocks that allow script tags and custom XML (like your <daa-wgt> tags) to be edited directly in the editor.

You will need to enable Allow Javascript and Allow Custom XML in Editor Profiles -> Editor Parameters -> Advanced.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. JCE Editor
  3. # 1
Accepted Answer Pending Moderation
Hi Ryan,
I installed JCE Pro 2.8.19 Beta 8 and tested it.
It worked, when I added the script in code preview, then switch back to editor tab view and saved the changes then.
Strangely it worked not, when I added the script and saved changes directly in code preview, In this case parts of the script get still removed after saving text changes.
  1. more than a month ago
  2. JCE Editor
  3. # 2
Accepted Answer Pending Moderation
Just because you're not paranoid doesn't mean everybody isn't out to get you.
  1. more than a month ago
  2. JCE Editor
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!