geonode
geonode copied to clipboard
rich text editor shortens URLs to own instance in a wrong way
Expected Behavior
If I use links for other resources on my instance inside the metadata abstracts rich text editor the links do follow my given URL.
Actual Behavior
The links will get shortened in the wrong way. See this example: https://development.demo.geonode.org/documents/214
Steps to Reproduce the Problem
- create a resource
- use the rich text metadata abstract editor and put in links to other resources (eg documents)
- see how they will get shortened in a wrong way (
documents/
is missing)
Specifications
- GeoNode version: 3.3.1
- Installation method (manual, GeoNode Docker, SPCGeoNode Docker): https://development.demo.geonode.org
- Platform: https://development.demo.geonode.org
- Additional details:
@gannebamm it looks like a bug in Tinymce. Look at the video below. Even if I change the links in source code mode and the source code is reopened they appear truncated.
You are right. The only way I was able to fix it was to fiddle around in the PostgreSQL but than the other fields will not get regenerated like CSW abstract and whatever else there is.
@gannebamm I suspect we will have to investigate if it's a gun in the specific version of TinyMCE.
@giohappy This seems to be the corresponding tinymce issue: https://github.com/tinymce/tinymce/issues/7387#issuecomment-972187770
nice spot @gannebamm we can test the proposed configuration by adding it here