"I must be missing something here, but if you highlight "Click here" and click the "Insert/edit link" button, then choose a page in your tree, it should create the correct link regardless. No need to manually construct the href.."
ok, I believe I found the problem... couple possible issues...
umbracoEditor controls has some hardcoded TinyMCE properites that appear you cannot overwrite in the /tinyMCE/tinyMCE.cs class file per TinyMCE docs these properties set to true may cause problems... when you try to override these properties via the tinyMCE.config file in the custom config section (as a config entry, i.e. <config key="remove_script_host">false</config>), the properties get appended to the original setting in the above class, so it would render as "remove_script_host: true,false"...
I also located some old logic Niels placed in the same class that removes the domain if it's the same as the CMS domain and commented this out...
I've made the following changes, recompiled the umbraco.editorControls.dll and the domains appear to be saving and publishing correctly now...
absolute URLs are stripped out in anchored text (in editor)
it look like if you have a URL set as a link within the same domain of the site the absolute path gets stripped out in the anchored text, i.e.
<a href="http://www.mysite.com/about.aspx">http://www.mysite.com/about.aspx</a>;
is saved as:
<a href="http://www.mysite.com/about.aspx">/about.aspx</a>
Hey John,
Are you liking to the current site? If so you can link to the node, and not the node name using the toolbar in the Rich Text Editor.
Rich
Rich - yes I'm linking to the current site... how do I link to the node? I'm using the insert/edit link popup...
also if I even include an unlinked absolute address as text, i.e. http://www.mysite.com/about.aspx - this gets edited to /about.aspx as text...
seems like there must be a way to turn this off in TinyMCE or HTMLTidy or whatever is editing the content before it's saved...
From another post:
"I must be missing something here, but if you highlight "Click here" and click the "Insert/edit link" button, then choose a page in your tree, it should create the correct link regardless. No need to manually construct the href.."
Is that what you're doing?
Rich
Rich - I'll show up with snapshots:
ok, I believe I found the problem... couple possible issues...
umbracoEditor controls has some hardcoded TinyMCE properites that appear you cannot overwrite in the /tinyMCE/tinyMCE.cs class file per TinyMCE docs these properties set to true may cause problems... when you try to override these properties via the tinyMCE.config file in the custom config section (as a config entry, i.e. <config key="remove_script_host">false</config>), the properties get appended to the original setting in the above class, so it would render as "remove_script_host: true,false"...
I also located some old logic Niels placed in the same class that removes the domain if it's the same as the CMS domain and commented this out...
I've made the following changes, recompiled the umbraco.editorControls.dll and the domains appear to be saving and publishing correctly now...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.