When you insert an anchor it adds an image of a little anchor.. when you hit save and publish it saves the blank image tag as source instead of turning the highlighted text in to an anchor..
This is fairly serious annoyance and confuses content edtiors using Google Chrome and other website browsers. Had this problem been addressed. Links to the workitems are broken:
Chris Dunsing suggests (September 27, 2011 @ 08:59) that you comment out the following lines (28 through 30 for me) in /umbraco_client/tinymce3/themes/umbraco/js/anchor.js:
This is the code that, if you are using a webkit browser such as Chrome to edit your page, inserts a blank <img> tag as an anchor, instead of an <a> tag.
This seems to be working fine for me, with no ill effects.
Anchor not working in TinyMCE
When you insert an anchor it adds an image of a little anchor.. when you hit save and publish it saves the blank image tag as source instead of turning the highlighted text in to an anchor..
Did you find a solution ?
yes having the same issue - any solution?
This is fairly serious annoyance and confuses content edtiors using Google Chrome and other website browsers. Had this problem been addressed. Links to the workitems are broken:
http://our.umbraco.org/forum/using/ui-questions/24203-Anchor-changes-into-img-tag
That may be a bug w/the new forum hosting or not.
Question: has the bug when inserting anchor links in Website browsers in TinyMCE in Umbraco been fixed?
30 months have passed since this issue was raised and its still broken as far as I know.
There is a solution on this page:
http://our.umbraco.org/forum/using/ui-questions/15240-TinyMCE-Creates-Invalid-Anchor-Tags
Chris Dunsing suggests (September 27, 2011 @ 08:59) that you comment out the following lines (28 through 30 for me) in /umbraco_client/tinymce3/themes/umbraco/js/anchor.js:
/*if (tinymce.isWebKit)
ed.execCommand('mceInsertContent', 0, ed.dom.createHTML('img', { mce_name: 'a', name: document.forms[0].anchorName.value, 'class': 'mceItemAnchor' }));
else*/
ed.execCommand('mceInsertContent', 0, ed.dom.createHTML('a', {name : document.forms[0].anchorName.value, 'class' : 'mceItemAnchor'}, ''));
This is the code that, if you are using a webkit browser such as Chrome to edit your page, inserts a blank <img> tag as an anchor, instead of an <a> tag.
This seems to be working fine for me, with no ill effects.
is working on a reply...