Currently it is difficult to edit inline boxes which are empty, we should display some level of 'empty text' if the box is empty and the user has the privileges to edit the box.
Will work on a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1394064-allow-inline-editing-of-empty-boxes-3.patch | 1.45 KB | tirdadc |
| #1 | 1394064-allow-inline-editing-of-empty-boxes.patch | 1.33 KB | jec006 |
Comments
Comment #1
jec006 commentedHere is a patch which will add some text to the box if it is empty and the person has edit access.
Comment #2
jec006 commentedComment #3
tirdadc commentedThere is logic in Context to deal with empty blocks (context_reaction_block.inc and in context.module), but it's not triggered correctly for empty boxes.
I've slightly altered the patch above to check the box title too (not just the content) and to render the empty text like the message from Context when you have empty blocks.
Comment #4
tirdadc commentedCommitted the latest patch.