fix /{localLink:ID}
ensures it set the href to /{localLink:ID} instead of /umbraco/{localLink:ID}
This commit is contained in:
@@ -209,7 +209,7 @@ tinymce.PluginManager.add('umbracolink', function(editor) {
|
||||
|
||||
//if we have an id, it must be a locallink:id
|
||||
if(data.id){
|
||||
href = "{localLink:" + data.id + "}";
|
||||
href = "/{localLink:" + data.id + "}";
|
||||
insertLink();
|
||||
return;
|
||||
}
|
||||
@@ -260,4 +260,4 @@ tinymce.PluginManager.add('umbracolink', function(editor) {
|
||||
context: 'insert',
|
||||
prependToContext: true
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user