The most common use case body field in drupal is long text and summary, with widget Text area with a summary. By default, there is no linkit enable option at admin/structure/types/manage/MyContentType/fields/body
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | linkit_text_with_summary-1912780-2.patch | 689 bytes | askibinski |
| #1 | linkit_text_with_summary-1912780.patch | 676 bytes | Drupa1ish |
Comments
Comment #1
Drupa1ish commentedComment #2
askibinski commentedI think this patch got lost somewhere?
It's not available in 3.1 which is 6 months newer then this patch.
Comment #3
askibinski commentedAlso:
When using a summary field, linkit will throw a js "profile not found" error:
#2115763: Linkit editor button errors out after switching WYSIWYG text format
This is caused by the summary field which is a dynamic element which is part of the textearea element but does need its own id:
Comment #4
askibinski commenteddouble post (drupal.org was down)
Comment #5
askibinski commenteddouble post (drupal.org was down)
Comment #7
anonPushed the patch so the "search" button will appear on Long text and summary fields.
The other issue will be addressed in the other ticket.
Comment #9
askibinski commentedHi anon,
Linkit 3.3 still gives the JS error for summary field, because it lacks the js setting as written in #3.
The other ticket you refer to (#2115763) is not the same problem. I've made a new patch and improved on my patch in #3 which will remove the JS error when you click on the linkit icon in a summary field.
Comment #13
Daemon_Byte commentedsolves the problem for me.
Comment #15
anonThis issue seems to be fixed by #2115763: Linkit editor button errors out after switching WYSIWYG text format
Can someone else confirm this?
Comment #16
anon