Solved

CKEditor breaking asp URL

Posted on 2011-03-08
2
757 Views
Last Modified: 2012-05-11
Really hoping someone can help on this...

We've just installed the new CKeditor and are managing some asp code with it, but upon hitting 'source' and saving it seems to break the code and adds 'cke_protected' in URLs which now dont work.

This is the asp we've set up to manage via the editor:

<div class="stdAdTemplate Advert" id="Ad[AdPosition]">

    <ul class="tabs">
        <li class="aboutustab active">
            About Us</li>
        <li class="maptab">
            <a href="&lt;!--{cke_protected}{C}%3C!%2D%2DFullAdURL%2D%2D%3E--&gt;#map">Map</a></li>
        <li class="featurestab">
            <a href="&lt;!--{cke_protected}{C}%3C!%2D%2DFullAdURL%2D%2D%3E--&gt;#features">Features</a></li>
        <li class="openingtimestab">
            <a href="&lt;!--{cke_protected}{C}%3C!%2D%2DFullAdURL%2D%2D%3E--&gt;#open">Opening Hours</a></li>
        <li class="voucherstab">
            <a href="&lt;!--{cke_protected}{C}%3C!%2D%2DFullAdURL%2D%2D%3E--&gt;#voucher">Vouchers</a></li>
    </ul>
    <div class="tab aboutus">
        [SummaryText]
        <div class="fulllink">
<!--FullAdLink-->       </div>
    </div>
    <div class="tab map">
        &nbsp;</div>
    <div class="tab features">
<!--BulletPoints1--><!--BulletPoints2-->        <div class="clear">
            &nbsp;</div>
    </div>
    <div class="tab openingtimes">
        [OpeningTimes]</div>
    <div class="tab vouchers">
        &nbsp;</div>
</div>

As mentioned, when switching to 'source' in the editor, it breaks the code somehow, for example this URL or one of the anchors is now not working: http://www.inside-guides.co.uk/brentwood/hotels-and-accommodation/%3C!--%7Bcke_protected%7D%7BC%7D%3C!--FullAdURL--%3E--%3E#features

These anchors (e.g. Features) are used for these adverts: http://www.inside-guides.co.uk/brentwood/hotels-and-accommodation/hotels-and-guest-houses.html

Many thanks if you can help...
0
Comment
Question by:UName10
2 Comments
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
ID: 35074195
Hi, this appears to be a bug, and there have been patches that may fix it.  You may need to use a stable version:
http://dev.ckeditor.com/ticket/4880

Regards,

Rob.
0
 

Author Closing Comment

by:UName10
ID: 35377419
Yep - thanks for the tip and sorry it's late!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question