mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-23 07:26:54 +00:00
Add editDirection to factory.js
This commit is contained in:
parent
a0caa0f12d
commit
f496d74d39
@ -187,6 +187,7 @@ function editTextWidgetFactory(toolbarEngine,nonToolbarEngine) {
|
|||||||
this.editInputActions = this.getAttribute("inputActions");
|
this.editInputActions = this.getAttribute("inputActions");
|
||||||
this.editRefreshTitle = this.getAttribute("refreshTitle");
|
this.editRefreshTitle = this.getAttribute("refreshTitle");
|
||||||
this.editAutoComplete = this.getAttribute("autocomplete");
|
this.editAutoComplete = this.getAttribute("autocomplete");
|
||||||
|
this.editDirection = this.document.getElementsByTagName("html")[0].getAttribute("dir") || "ltr";
|
||||||
this.isDisabled = this.getAttribute("disabled","no");
|
this.isDisabled = this.getAttribute("disabled","no");
|
||||||
this.isFileDropEnabled = this.getAttribute("fileDrop","no") === "yes";
|
this.isFileDropEnabled = this.getAttribute("fileDrop","no") === "yes";
|
||||||
// Get the default editor element tag and type
|
// Get the default editor element tag and type
|
||||||
|
Loading…
Reference in New Issue
Block a user