Open yankiara opened 4 years ago
Replicated & reported internally.
Have the same problem currently in a project. That makes the use of Gutenberg blocks with links impossible.
Would prefer absolute paths instead of relative.
This is a pressing concern for me in a major project. Would love to see some attention on this.
Soflyy, this is embarrassing for a product building its reputation on deep Gutenberg integration.
This bug is resolved by adding the following at line 259 of oxygen-gutenberg.js (the config section for TinyMCE):
relative_urls : false,
Soflyy, please fix this!!!!!
This bug is resolved by adding the following at line 259 of oxygen-gutenberg.js (the config section for TinyMCE):
relative_urls : false,
This worked for me. Although this isn't update proof which makes it a PITA.
This bug is resolved by adding the following at line 259 of oxygen-gutenberg.js (the config section for TinyMCE):
relative_urls : false,
This worked for me. Although this isn't update proof which makes it a PITA.
This does not look like a permanent solution. There has to be a wider one addressing this issue along with that one: https://github.com/soflyy/oxygen-bugs-and-features/issues/255
This bug is resolved by adding the following at line 259 of oxygen-gutenberg.js (the config section for TinyMCE):
relative_urls : false,
Seems not to work anymore.
Describe the bug Links inserted in Gutenberg blocks are wrong because they all start with ".." on frontend. Thus, they don't work on pages that are not at root level.
Have you tried all the steps at https://oxygenbuilder.com/documentation/troubleshooting/troubleshooting-guide/? Yes
Are you able to replicate the issue on a Sandbox install at https://oxygenbuilder.com/try? Yes https://oxygen-qgxcp27f72w7k.oxygen-demo.qsandbox.me
To Reproduce Steps to reproduce the behavior:
Expected behavior Links should all start with "/" and should be relative to site root.
What actually happens The links inside the Gutenberg block are wrong because they all start with "../". So they only work on pages at the root level.
Screenshots
Desktop (please complete the following information):