From a58524611a60b4637e8cd0eef72156c3b833df08 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 7 Apr 2020 20:13:00 +0100 Subject: [PATCH] Fix framed text editor directionality in Firefox --- core/modules/editor/engines/framed.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/modules/editor/engines/framed.js b/core/modules/editor/engines/framed.js index d5a77d9dd..924e5f9ae 100644 --- a/core/modules/editor/engines/framed.js +++ b/core/modules/editor/engines/framed.js @@ -101,6 +101,7 @@ FramedEngine.prototype.copyStyles = function() { this.domNode.style.margin = "0"; this.domNode.style["background-color"] = this.widget.wiki.extractTiddlerDataItem(this.widget.wiki.getTiddlerText("$:/palette"),"tiddler-editor-background"); this.domNode.style.direction = ""; + this.domNode.style.unicodeBidi = ""; // In Chrome setting -webkit-text-fill-color overrides the placeholder text colour this.domNode.style["-webkit-text-fill-color"] = "currentcolor"; };