URL for storage file is not saved correctly when added as a link in the TinyMCE editor. #7

Open
opened 10 months ago by craig.oates · 0 comments
Owner

When you add an image to the editor it is saving that image's URL incorrectly. For example, let's say you add https://www.example.com/storage/view/img-111 to the editor. When you go to save the article/page/editors contents, the URL is being saved as ../storage/view/img-111. I don't know why the ../ is being added here.

On top of that, if you edit an article/page entry, the editor will storage the URL as ../../storage/view/img-111. I don't know why it's adding the second ../ when the contents is updated/editted.

When you add an image to the editor it is saving that image's URL incorrectly. For example, let's say you add `https://www.example.com/storage/view/img-111` to the editor. When you go to save the article/page/editors contents, the URL is being saved as `../storage/view/img-111`. I don't know why the `../` is being added here. On top of that, if you edit an article/page entry, the editor will storage the URL as `../../storage/view/img-111`. I don't know why it's adding the second `../` when the contents is updated/editted.
craig.oates added the
bug
label 10 months ago
craig.oates self-assigned this 10 months ago
craig.oates added this to the Site Up-Keep project 10 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.