mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
Reverted insertion of blank paragraph when selecting unsplash/gif image
refs e419e4e99f
- the behaviour wasn't desirable in all cases, reverting to the previous behaviour of selecting the card after image selection
This commit is contained in:
parent
024b27c8dd
commit
ba532aa815
@ -252,8 +252,10 @@ export default Component.extend({
|
||||
// create undo snapshot when selecting an image
|
||||
this.editor.run(() => {
|
||||
saveCard(payload, false);
|
||||
this.addParagraphAfterCard({scrollIntoView: true});
|
||||
});
|
||||
this.deselectCard();
|
||||
this.selectCard();
|
||||
this.scrollToCard();
|
||||
},
|
||||
|
||||
closeImageSelector(reselectParagraph = true) {
|
||||
|
Loading…
Reference in New Issue
Block a user