mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 16:42:17 +03:00
a20f4080f6
refs https://github.com/TryGhost/Ghost/issues/9311 - the card selection in `cursorDidChange` would sometimes fail because the selection would be attempted before the newly inserted card had been pushed on to the `componentCards` array. This was reliably triggered by adding a card to a blank header section via the /-menu - scheduling the section `afterRender` ensures that the `willRender` hook has fired and populated the `componentCards` array before the selection occurs |
||
---|---|---|
.. | ||
koenig-card-hr.js | ||
koenig-card-html.js | ||
koenig-card-image.js | ||
koenig-card-markdown.js | ||
koenig-card.js | ||
koenig-editor.js | ||
koenig-plus-menu.js | ||
koenig-slash-menu.js | ||
koenig-toolbar.js |