Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293926

Add block instance delete to inplace dropbutton on block instance

$
0
0

Problem/Motivation

There are the things in the Add blocks page (Block library listing) which are block plugins. Those hold the description and the body. (for custom block, basic block type). Then there are other things on the Blocks admin listing. Those are block instances of those block plugins. The dropdown buttons on the blocks in the UI on the site, in place in the regions, have items in the dropbutton list (there are also items in the dropbutton list on the block admin list). Some of those items deal with the block plugin: edit, delete. Some deal with the block (block instance): configure.

There is no way to delete the block instance. It seems like the delete for the plugin is what deletes the block (instance). This is confusing. And dangerous.

Proposed resolution

Add a 'Delete block'

Remaining tasks

  • Discuss. What are the things on the library listing called? Plugins? Block plugins? What can we call them in the UI? Block library items?
  • Create initial patch to change the dropbutton items.
  • more tasks to come later...

User interface changes

Yes. Adding a action to the dropbutton.

Before screenshot

inplace_dropbutton.png

Proposed after screenshot

delete_block.png

API changes

No API changes.

Related Issues

AttachmentSizeStatusTest resultOperations
inplace_dropbutton.png47.04 KBIgnored: Check issue status.NoneNone
delete_block.png51.08 KBIgnored: Check issue status.NoneNone

Viewing all articles
Browse latest Browse all 293926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>