Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,177
    Plugin Contributions
    124

    Default New CKEditor content stripping

    When you open an EZ Page for editing with CKEditor, if it has an iframe to display video (for example), the Editor simply silently clobbers that block of HTML. If you're not paying attention, as soon as you save you lose your content.

    Curious to see if someone has built a check for conditions like this, or has anyone had success buying the commercial version of CKEditor? The fact that they don't just list a price ("call for a quote!") makes me a bit nervous.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #2
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    270
    Plugin Contributions
    0

    Default Re: New CKEditor content stripping

    It will break content for non-video iframes too.
    For EZ Pages and iframes just use the Plain Text editor.

    Even worse is self hosted (non-iframe) html5 video. Even the plain text editor will break content. Only solution for define pages is to upload the edited file via FTP.
    I'm not sure whether inserted js code will break (just don't remember anymore). I stopped to edit complex define pages e.g. the frontpage a long time ago within zen cart because of these problems.
    Last edited by Shop Suey; 16 Sep 2024 at 07:27 AM.
    My business is GDPR compliant Webhosting and other Web Services.
    Beside that I still have a Zen Cart Shop running for Classic Vespa Spare Parts
    Locations in Germany, Spain and Finland. Other worldwide locations on demand

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,378
    Plugin Contributions
    11

    Default Re: New CKEditor content stripping

    Also, one of the major changes for me is links. Many of our sites use a popup window to add info to product descriptions.

    FYI, if you want to add such to a description with the new CKEditor, you can use something like:

    Code:
    <a href="/images/large/PS-001_LRG.jpg" onclick="window.open(this.href, '', 'resizable=no,status=no,location=no,toolbar=no,menubar=no,fullscreen=no,scrollbars=no,dependent=no,width=420,height=420'); return false;">Small Craft Navigation Aid</a>
    Note that there are lots of options but we currently only set the width and height for a desktop.

 

 

Similar Threads

  1. v151 Firefox 23 / CKEditor / Blocked loading mixed active content
    By swguy in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 16 Sep 2013, 03:47 PM
  2. v139h ez-page stripping/changing html code
    By keneso in forum General Questions
    Replies: 6
    Last Post: 13 Dec 2012, 11:54 AM
  3. New links to new content in Information sidebox
    By thepurpleblob in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Jul 2009, 10:10 PM
  4. Stripping newlines and carriage returns.
    By Crin in forum General Questions
    Replies: 3
    Last Post: 1 Oct 2007, 03:00 PM
  5. Stripping Zen of...... ......... Well.... Everything
    By Turtleman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Feb 2007, 01:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR