✨ Koenig - Support `/image {image url}` slash menu shortcut
refs https://github.com/TryGhost/Ghost/issues/9724 - add `src` param to the `image` card for use in the slash menu - typing `/image http://example.com/image.jpeg` then pressing <kbd>Enter</kbd> will create an image card with the src pre-set
This commit is contained in:
parent
de34b3cdc0
commit
08c5e73b49
|
@ -20,7 +20,8 @@ export const CARD_MENU = [
|
|||
icon: 'koenig/image',
|
||||
matches: ['image', 'img'],
|
||||
type: 'card',
|
||||
replaceArg: 'image'
|
||||
replaceArg: 'image',
|
||||
params: ['src']
|
||||
},
|
||||
{
|
||||
label: 'Markdown',
|
||||
|
|
Loading…
Reference in New Issue