mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-16 06:44:50 +00:00
Updates to framed.js in the light of PRs that have been merged since this
This commit is contained in:
parent
5723a7fbc0
commit
ed27574c81
@ -119,13 +119,11 @@ FramedEngine.prototype.copyStyles = function() {
|
|||||||
this.domNode.style.display = "block";
|
this.domNode.style.display = "block";
|
||||||
this.domNode.style.width = "100%";
|
this.domNode.style.width = "100%";
|
||||||
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.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";
|
||||||
// Ensure we don't force text direction to LTR
|
// Ensure we don't force text direction to LTR
|
||||||
this.domNode.style.removeProperty("direction");
|
this.domNode.style.removeProperty("direction");
|
||||||
|
this.domNode.style.removeProperty("unicodeBidi");
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user