mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
✨ 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
4cf9220ef4
commit
f1beff3c03
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue