Make the Rich Text field save linked entry as relative URL
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
Description
When we link other document I want them to be relative url's instead of absolute url
Steps to reproduce
- Create a Rich text field
- Link other document and it refers to absolute url instead of relative url
Additional info
- Craft version: Craft CMS 2.6.3013
- PHP version:
- Database driver & version:
- Plugins & versions:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior with a Rich Text field by linking another document, then trace the Rich Text field's linked-document URL handling. Done means linked documents are saved as relative URLs rather than absolute URLs; verify the result using the reproduction steps in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- content
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100