Solved

CKEditor breaking asp URL

Posted on 2011-03-08
2
752 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
Comment Utility
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
Comment Utility
Yep - thanks for the tip and sorry it's late!
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Read about why website design really matters in today's demanding market.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

728 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now