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
{{ message }}
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
refs TryGhost/Ghost#9724
- add `ember-useragent` package so that we can check the user agent screen for known-incompatible browsers/devices
- show alerts for Edge, mobile browsers, and IE11 when accessing the editor with Koenig enabled
// display a warning if we detect an unsupported browser
25
+
if(this.feature.koenigEditor){
26
+
// IE is definitely not supported and will not work at all in Ghost 2.0
27
+
if(this.userAgent.browser.isIE){
28
+
this.notifications.showAlert(
29
+
htmlSafe('Internet Explorer is not supported in Koenig and will no longer work in Ghost 2.0. Please switch to <a href="https://ghost.org/downloads/" target="_blank" rel="noopener">Ghost Desktop</a> or a recent version of Chrome/Firefox/Safari.'),
30
+
{type: 'info',key: 'koenig.browserSupport'}
31
+
);
32
+
}
33
+
34
+
// edge has known issues
35
+
if(this.userAgent.browser.isEdge){
36
+
this.notifications.showAlert(
37
+
htmlSafe('Microsoft Edge is not currently supported in Koenig. Please switch to <a href="https://ghost.org/downloads/" target="_blank" rel="noopener">Ghost Desktop</a> or a recent version of Chrome/Firefox/Safari.'),
htmlSafe('Mobile editing is not currently supported in Koenig. Please use a desktop browser or <a href="https://ghost.org/downloads/" target="_blank" rel="noopener">Ghost Desktop</a>.'),
0 commit comments