Replied to the thread Redactor keyboard shortcuts not working for 'headings'.PostNothing in the console, it doesn't even seem seem to register.
Posted the thread Redactor keyboard shortcuts not working for 'headings'.ThreadIt seems like the standard Redactor 'heading' keyboard shorcuts do not work i.e. `cmd + alt + 1` for heading 1, etc.
Other keyboard shortcuts work. I tried this on Windows in Browserstack to…
Hmmm I suppose it could just be a span instead of a div. No other elements on the page are spans at that particular level in the DOM.
Feels a bit fragile, but good back up if nothing else materialises
Thanks for the suggestion.
I have a feeling it's…
I thought of that at first, but the whole nth-of-type is a bit of a misnomer; it would need to be more like an index of the block type.
Nth of type would give me something like this:
- block a (1) (nth-of-type: 1)
- block b (1) (nth-of-type: 2)
Is it possible to get the index number of the block type? For example, if I had 3 different blocks (a, b, and c), and the blocks were output on a page like this:
- block a (1)
- block b (1)
- block a (2)
- block c (1)
- block b (2)
- block b (3)