From 0c1d0f657810d303152c0bd16a64a30f0c57c595 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Sat, 22 Apr 2023 09:38:09 +0100 Subject: [PATCH] Remove "direction" CSS property from framed version of editor --- core/modules/editor/engines/framed.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/modules/editor/engines/framed.js b/core/modules/editor/engines/framed.js index 948890645..a4cf983b0 100644 --- a/core/modules/editor/engines/framed.js +++ b/core/modules/editor/engines/framed.js @@ -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"); }; /*