I noticed that the widget doesn't work with the linkit module.
So I made a patch that extracted some common code to a trait and made a widget class that extends from the linkit widget.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 3158782-10.patch | 15.15 KB | tessa bakker |
| #10 | interdiff-8-10.txt | 5.49 KB | tessa bakker |
| #8 | 3158782-8.patch | 13.57 KB | tessa bakker |
| #8 | interdiff-4-8.txt | 3.36 KB | tessa bakker |
| #4 | 3158782-4.patch | 13.44 KB | spadxiii |
Comments
Comment #2
spadxiii commentedComment #3
spadxiii commentedI seem to have forgotten to add the newly created files to the patch.. oops! :)
Comment #4
spadxiii commentedAdded the patch for the 2.x branch.
Note that the patch in #3 is for the 8.x-1.x branch.
Comment #5
tessa bakkerNew patch for Linkit Widget support, not the module, but the latest patch in #2712951: Linkit for Link field
The module 'Linkit Widget' no longer works correctly with the current version of Linkit.
A patch is in development to add widget support for link fields to Linkit, this patch is up-2-date with all the latest Linkit features.
As you can see in the interdiff, the Title weight alter has been removed, this is because Linkit has the option to prefill the title, based on the entity label of the selected url (checkbox in form display settings of the widget).
Also the alteration for title weight is not related or needed to make link fields work with Micon and can create unwanted results for other modules.
Comment #7
tessa bakkerFixed summary info for widget.
Comment #8
tessa bakkerPatch with code style fixes.
Added complete interdiff of 4 and 8.
Comment #10
tessa bakker- Fixed Code style issue
- Moved plugin to separate module to set dependency on Linkit
Comment #11
tessa bakkerComment #15
jacobbell84 commentedLooks good, thank you!
Comment #16
jacobbell84 commentedComment #18
anybodySadly this seems broken with linkit 5 / 6 (Drupal 9): #3273973: Make Micon Linkit Widget compatible with Linkit:^5 || ^6
Comment #19
anybody