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:
parent
371649ebd0
commit
a58524611a
@ -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";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user