Fix framed text editor directionality in Firefox

bidi-improvements
Jeremy Ruston 2020-04-07 20:13:00 +01:00
rodzic 371649ebd0
commit a58524611a
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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";
};