1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 14:54:51 +00:00

Fix framed text editor directionality in Firefox

This commit is contained in:
Jeremy Ruston 2020-04-07 20:13:00 +01:00
parent 371649ebd0
commit a58524611a

View File

@ -101,6 +101,7 @@ FramedEngine.prototype.copyStyles = function() {
this.domNode.style.margin = "0"; 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["background-color"] = this.widget.wiki.extractTiddlerDataItem(this.widget.wiki.getTiddlerText("$:/palette"),"tiddler-editor-background");
this.domNode.style.direction = ""; this.domNode.style.direction = "";
this.domNode.style.unicodeBidi = "";
// In Chrome setting -webkit-text-fill-color overrides the placeholder text colour // In Chrome setting -webkit-text-fill-color overrides the placeholder text colour
this.domNode.style["-webkit-text-fill-color"] = "currentcolor"; this.domNode.style["-webkit-text-fill-color"] = "currentcolor";
}; };