You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following on from #2426/#2895 we need to also make the editor work on mobile again.
The mobileCodeMirror shim needs porting across to Ember. For now it can load under the same conditions as it did previously, however there are known bugs with this (see #2570) that can be fixed at the same time if the person doing this has a bright idea.
If not - then it should simply load as a replacement editor if the current device is a touchscreen device.
The text was updated successfully, but these errors were encountered:
closesTryGhost#2957
- add FastClick library to Gruntfile.js
- add touch-editor to client/assets/lib/
- add mobile-specific utils to util/mobile-utils.js
- add codemirror util to set up TouchEditor only if we're really on mobile
- change gh-codemirror from having a default action to a named action. prevents Ember.TextArea firing action on change
- change gh-codemirror `cm.getDoc().getValue()` to `cm.getValue()` for portability
- change codemirror-shortcuts ES6 export/import style
- changed ghostimagepreview.js to check for Ember.touchEditor in addition to Ghost.touchEditor
Following on from #2426/#2895 we need to also make the editor work on mobile again.
The mobileCodeMirror shim needs porting across to Ember. For now it can load under the same conditions as it did previously, however there are known bugs with this (see #2570) that can be fixed at the same time if the person doing this has a bright idea.
If not - then it should simply load as a replacement editor if the current device is a touchscreen device.
The text was updated successfully, but these errors were encountered: