Problem/Motivation
If you enable a wysiwyg editor on a field with help text, and you have "Smart form descriptions (via Tooltips)" enabled, the help text does not display.
To reproduce:
- Test bootstrap theme on simplytest.me.
- Add and enable the CKEditor module.
- Add help text to the body field on Basic Page.
- Go to the Basic Page edit form.
- Hover your mouse over the body field.
- The tooltip should appear, but it does not.
If you switch to the plain text format, the tooltip will appear.
If you disable the "Smart form descriptions (via Tooltips)", the help text appears below the form element as usual.
Proposed resolution
My ideas for fixing this:
- Make the tooltip appear when it passes over the edge of the #edit-body div.
- Detect that the wysiwyg tool is being used, and display the help text beneath the form element as if Tooltips were turned off.
- Make a note next to the "Smart form descriptions (via Tooltips)" option that wysiwyg editors will block Tooltip display.
- Add a method to turn off Tooltips for specific fields.
Comments
Comment #2
markhalliwell