Remove "direction" CSS property from framed version of editor

This commit is contained in:
jeremy@jermolene.com 2023-04-22 09:38:09 +01:00
parent 98af893443
commit 0c1d0f6578
1 changed files with 2 additions and 0 deletions

View File

@ -118,6 +118,8 @@ FramedEngine.prototype.copyStyles = function() {
this.domNode.style.margin = "0";
// In Chrome setting -webkit-text-fill-color overrides the placeholder text colour
this.domNode.style["-webkit-text-fill-color"] = "currentcolor";
// Ensure we don't force text direction to LTR
this.domNode.style.removeProperty("direction");
};
/*