Solved

CKEditor breaking asp URL

Posted on 2011-03-08
2
755 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

822 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