Hi,
From what I see you are using a default TinyMCE link plugin for the links, and the issue you described can be reproduced there:
Is it an option for you to use the epi-link plugin instead? It shows the CMS Link modal in that case:
It appears that urlconverter_callback is also executed when using epi-link, so you should be able to continue performing necessary conversions.
Damien,
Thank you for your response!
So it looks like that wasn't the exact issue, but it did lead me to figure out exactly how we were setting those plugins, so I removed our custom code and defined the settings through our .NET project instead, which actually seemed to work! For anyone in the future who has this same issue, here is the new code that doesn't transform the URLs:
public static IServiceCollection ConfigureTinyMce(this IServiceCollection services)
{
services.Configure<TinyMceConfiguration>(config =>
{
config.Default()
.AddPlugin("media wordcount anchor link code table")
.Toolbar("formatselect | epi-personalized-content anchor link numlist bullist indent outdent bold italic underline alignleft aligncenter alignright | image epi-image-editor media code | epi-dnd-processor | removeformat | fullscreen | table | tablerowprops tablecellprops tableinsertrowbefore tableinsertrowafter tabledeleterow tableinsertcolafter tableinsertcolbefore tabledeletecol tablesplitcells tablemergecells")
.AddSetting("convert_urls", false)
.AddSetting("relative_urls", false)
.AddSetting("remove_script_host", true)
.AddSetting("document_base_url", string.Empty);
});
return services;
}
Hey all,
We recently upgraded our .Net solution to CMS 12 which seems to have changed the behaviour of our TinyMce editor and how it transforms internal links.
Our Custom Config:
custom-init.js
Any ideas what could be causing this issue? Have tried quite a few things, including adding the "convert_url":false parameter to our custom config, which did not seem to work.
Thank you!