Browser and Device Compatibility

The Doka Image Editor JavaScript Module works on all modern browsers and devices.

  • Chrome
  • Firefox
  • Edge 79+
  • Safari 13+
  • Opera
  • Chrome for Android
  • Firefox Android
  • iOS Safari 13+
  • Chrome for iOS
  • Firefox iOS

JavaScript Module browser support stats

Safari 11 and 12

Global usage for these browsers is currently at:

Safari 11 0.05%
Safari 12 0.01%

To add support for these browsers we need to polyfill Pointer Events.

We can do this by downloading points.min.js from the repository above and adding it to our page before loading Doka Image Editor.

<!-- Polyfill -->
<script src="points.min.js"></script>

<!-- Doka Image Editor Module -->
<script type="module">
    import * as doka from './doka.js';
</script>

Safari 10 and Edge 18

Global usage for these browsers is currently at:

Safari 10 0.01%
Edge 18 0.23%

These browsers don't fully support JavaScript modules and will require polyfills to function correctly. To make Doka Image Editor work on these browsers you'll need to load the IIFE version or transpile a compatible version yourself.

We'll also need the Polyfills required for Safari 11 and 12.

To support Edge 18 we need to load the following additional polyfills:

  • Symbol.asyncIterator
  • HTMLCanvasElement.prototype.toBlob

Include this Polyfill.io URL in your page to polyfill both the APIs above.

<!-- Polyfills -->
<script src="https://polyfill.io/v3/polyfill.min.js?features=Symbol.asyncIterator%2CHTMLCanvasElement.prototype.toBlob"></script>
<script src="points.min.js"></script>

<!-- Doka Image Editor IIFE build -->
<script src="doka-iife.js"></script>

Internet Explorer 11

Internet Explorer 11 is currently not supported.

Global usage for this browsers is currently at:

Internet Explorer 11 1.12%

We're surveying customer requirements, please let use know if you require compatibility and why.

Doka Image Editor Version 6 does support Internet Explorer 11 and could be offered as a fallback.

Next step

We've checked browser compatibility, and have loaded the required polyfills, it's time to set the available plugins