Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual URL's in TinyMCE are broken when using multiple languages #3633

Open
MrTango opened this issue Aug 31, 2022 · 5 comments
Open

Manual URL's in TinyMCE are broken when using multiple languages #3633

MrTango opened this issue Aug 31, 2022 · 5 comments

Comments

@MrTango
Copy link
Contributor

MrTango commented Aug 31, 2022

BUG

What I did:

when links are inserted directly as HTML or by using the external link field of Tinymce, the links are broken when more then one language is active. Because the links are missing the language folders.

What version of Plone/ Addons I am using:

Plone 5.2
Plone 6.0.3

@thet
Copy link
Member

thet commented Apr 11, 2023

@MrTango I don't think that #3765 will address this problem.
Can you give more details on this error? Are there any console errors?

@MrTango
Copy link
Contributor Author

MrTango commented Apr 11, 2023

when you insert a link in external link field in tinymce, but the link has actually the same domain, tinymce will convert it to a relative link which does not work when you have language folders

@thet
Copy link
Member

thet commented Apr 11, 2023

That's then a problem with ResolveUIDAndCAptionFilter in plone.outputfilters AFAIK.

@MrTango
Copy link
Contributor Author

MrTango commented Apr 12, 2023

No it is the tinyMCE who changes this to a relative link.
You can check by looking at the html source, after inserting the link.
It will no longer have the full url but the relative link.

@petschki
Copy link
Member

I think this is fixed by plone/mockup#1116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants