- π·π΄Romania bogdan.dinu
I don't think the proposed solution is ok because it is saving the query and fragment in the uri. That is not compatible with the core link schema or other modules that use the core link schema.
I propose saving the query and fragment in the options base field of the link field as described in the core link schema.
My solution only works with the patch from this issue on linkit_field https://www.drupal.org/project/linkit_field/issues/3349013 π Preserve query parameters and fragments when directly inputting a path. Active
because the linkit widget from linkit doesn't use the node path/alias. - π·π΄Romania bogdan.dinu
The previous patch is incomplete. I appologize!
I uploaded a new one (it is based on the patch from #7). - πΊπΈUnited States mark_fullmer Tucson
My solution only works with the patch from this issue on linkit_field
Just a note that recently β¨ Linkit for Link field Fixed was merged into the 6.0.x branch, so a patch that addresses this for the link field context can build on that foundation.
- πΊπΈUnited States mark_fullmer Tucson
Note that the equivalent issue reported on the 6.x branches for this module has been fixed in π Query fragments or anchors on internal URLs in link fields get lost on re-editing Fixed .
As is practicable, sites should update to 6.x rather than continuing to use 8.x-5.x
- πΊπΈUnited States mark_fullmer Tucson
Update: upon revisiting this now, my analysis in #18 is incorrect. *This* issue describes a different request than was dealt with in π Query fragments or anchors on internal URLs in link fields get lost on re-editing Fixed . Setting this to track the current development branch for Linkit.