I'm confused as to why the dnd-caption-wrapper div is always output when dragging an atom into a ckeditor field.
In the code it says this:
// Note: The 'dnd-caption-wrapper' class is used by the CKEditor plugin to
// identify the editable zone and should not be modified by theme overrides.
mee.module, line 559
But why use the caption div to determine the editable zone (I'm guessing this is the zone where you can right-click and hit "edit atom properties") and not the wrapper above that (dnd-atom-wrapper I believe)?
And it does still output that caption-wrapper no matter what. Right now it seems to insert the legend there, but if I do a prerender_alter and set $atom->omit_legend = true it still outputs that div, it's just empty then.
So, I guess why and if it isn't vital is there a way I can get rid of it?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fix-caption-check-2528996-1.patch | 765 bytes | nagy.balint |
Comments
Comment #1
nagy.balint commentedI believe the problem is that the check is not with empty.
Here is a patch to fix that.
Comment #2
nagy.balint commented