Given a RadEditor with the following HTML currently loaded:
If I copy from DESIGN MODE and paste into any html friendly app (word, visual studio, etc), then what I get out is the following:
Notice the link for the named anchor changed to be the URL of the current window that is open.
This also occurs if I COPY and PASTE from the RadEditor to the same RadEditor.
The editor should not be manipulating the content when I copy and paste from Design mode.
Using Chrome I get the full URL for the EditorWindow instead of just the anchor tag link.
Using Firefox it doesn't set the full URL, instead it just sets the path after the domain.
NOTE: Copy and Paste within HTML mode works fine and it does NOT manipulate the links.
I would expect that if I have a link to an anchor such as "#myAnchor" then it will not be changed when coping that content and pasting it elsewhere.
Likewise if I have a link to an anchor on another page such as "http://cool.com/article.aspx#trees" then I would expect that to also not be manipulated.
This sounds like it may be a bug in the editor. Does anyone have any advice?
<
h1
><
a
name
=
"back-to-top"
></
a
>Our Partners</
h1
>
<
p
>aspicer anchor link <
a
href
=
"#aspicer"
>test</
a
></
p
>
<
p
>aspicer actual anchor <
a
name
=
"aspicer"
>here</
a
></
p
>
If I copy from DESIGN MODE and paste into any html friendly app (word, visual studio, etc), then what I get out is the following:
<
h1
><
a
name
=
"back-to-top"
></
a
></
h1
>
<
div
>
<
h1
>Our Partners</
h1
>
<
p
>aspicer anchor link <
a
href
=
"http://rd.myapp.com/EditorWindow.aspx?did=c178ea59-4252-4dc5-90c1-5c44f283c2bf&;dt=1&m=1&rwndrnd=0.4956730466801673#aspicer"
>test</
a
></
p
>
<
p
>aspicer actual anchor <
a
name
=
"aspicer"
>here</
a
></
p
>
</
div
>
<
p
><
a
name
=
"aspicer"
></
a
></
p
>
Notice the link for the named anchor changed to be the URL of the current window that is open.
This also occurs if I COPY and PASTE from the RadEditor to the same RadEditor.
The editor should not be manipulating the content when I copy and paste from Design mode.
Using Chrome I get the full URL for the EditorWindow instead of just the anchor tag link.
Using Firefox it doesn't set the full URL, instead it just sets the path after the domain.
NOTE: Copy and Paste within HTML mode works fine and it does NOT manipulate the links.
I would expect that if I have a link to an anchor such as "#myAnchor" then it will not be changed when coping that content and pasting it elsewhere.
Likewise if I have a link to an anchor on another page such as "http://cool.com/article.aspx#trees" then I would expect that to also not be manipulated.
This sounds like it may be a bug in the editor. Does anyone have any advice?