?
Solved

CKEditor breaking asp URL

Posted on 2011-03-08
2
Medium Priority
?
774 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 65

Accepted Solution

by:
RobSampson earned 1000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
The viewer will learn how to count occurrences of each item in an array.
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…
Suggested Courses

777 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