1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/tests
Kevin Ansfield 08edc266d1 🐛 Fix HTML card not launching in edit mode (#647)
* replace `isEditing` observers with `didReceiveAttrs` hook

* 🐛 Fix HTML card not launching in edit mode

closes https://github.com/TryGhost/Ghost/issues/8310
- adds `autofocus=true` attribute to `gh-cm-editor` that will use CodeMirror's built-in autofocus behaviour
- set HTML card's launch mode to `edit` and ensure that the `autofocus` attribute is passed
- refactor `gh-cm-editor` for more robust event handling
- re-work `ch-cm-editor` tests to take into account CMs events not being triggered within a single run-loop and to still work when the browser window isn't focused (should fix the random test failures on Travis and the issues where the CM tests will fail locally)
2017-04-18 19:20:38 +12:00
..
acceptance 💄 replace DownloadCountPoller with gh-download-count 2017-04-17 10:04:53 -04:00
helpers new publish menu and date/time picker (#588) 2017-04-11 14:39:45 +01:00
integration 🐛 Fix HTML card not launching in edit mode (#647) 2017-04-18 19:20:38 +12:00
unit No more icon font: {{inline-svg}} - Part 2 (#642) 2017-04-14 17:22:14 +01:00
.eslintrc.js new publish menu and date/time picker (#588) 2017-04-11 14:39:45 +01:00
index.html Fetch config from endpoint rather than meta tags (#368) 2016-10-28 14:07:50 +01:00
test-helper.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00