Impossible to set Anchors in TinyMCE
Posted: Sat Mar 12, 2005 12:29 pm
Hi,
I want to put down an empty anchor in one of my CMS pages. In other words, I want to have the following line in the HTML code of the page:
This will then allow me to jump to this particular spot of the page using a link that points to "page.html#anchor_name".
Problem:
In TinyMCE, I cannot create such an empty anchor. If I click the "anchor" button, nothing is inserted. I can, however, mark a portion of text and then click the "anchor" button. This will make an anchor around the marked text:
marked text
which is not what I want.
Worse:
If I go to HTML edit mode and I insert an empty anchor by hand, then TinyMCE thinks that I wanted to add a link, and moves the tag to the end of the text which follows the anchor:
Blabla bla bla blablabla
is transformed into
Blabla bla bla blablabla
Does anyone have a solution to this problem? Is this a TinyMCE bug?
Thanks a lot
E.P.
I want to put down an empty anchor in one of my CMS pages. In other words, I want to have the following line in the HTML code of the page:
This will then allow me to jump to this particular spot of the page using a link that points to "page.html#anchor_name".
Problem:
In TinyMCE, I cannot create such an empty anchor. If I click the "anchor" button, nothing is inserted. I can, however, mark a portion of text and then click the "anchor" button. This will make an anchor around the marked text:
marked text
which is not what I want.
Worse:
If I go to HTML edit mode and I insert an empty anchor by hand, then TinyMCE thinks that I wanted to add a link, and moves the tag to the end of the text which follows the anchor:
Blabla bla bla blablabla
is transformed into
Blabla bla bla blablabla
Does anyone have a solution to this problem? Is this a TinyMCE bug?
Thanks a lot
E.P.