I want to display some Hebrew text using Text and TextPath. In plain HTML5 it seems the best way is to set the dir
attribute on the canvas
to rtl
(HTML5 Canvas fillText with Right-to-Left string). How do I do that in Konva?
const canvas = layer.getCanvas()._canvas;
canvas.setAttribute('dir', 'rtl');