tomusborne / generateblocks

GenerateBlocks is a small collection of lightweight WordPress blocks that can accomplish nearly anything.
https://generateblocks.com
194 stars 19 forks source link

Keyboard shortcut not workinh for GB heading block #1091

Closed danstramer closed 11 months ago

danstramer commented 1 year ago

Description

The core editor has a set of keyboard shotcuts. one of them is Shift + Alt + 1-6 to convert a paragraph block into a heading of level 1-6. This shortcut does not work when in the block preferences the core heading block is disabled, since we want to use only the GB heading block.

Steps for testing

  1. Add a paragraph
  2. Disable the core heading block
  3. Click the keyboard shortcut to convert into a heading block Shift + Alt + 1-6 - nothing happens
  4. Enable back the core heading block
  5. Click the keyboard shortcut - the paragraph is converted

References:

image


diggeddy commented 11 months ago

The shortcuts are tied to the core Paragraph and Heading blocks, and this behaviour cannot be changed.

Can't fix.

danstramer commented 11 months ago

Thanks for your reply