1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-07 07:50:26 +00:00

Add editDirection to factory.js

This commit is contained in:
Simon Huber 2024-10-20 19:28:20 +02:00 committed by GitHub
parent a0caa0f12d
commit f496d74d39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -187,6 +187,7 @@ function editTextWidgetFactory(toolbarEngine,nonToolbarEngine) {
this.editInputActions = this.getAttribute("inputActions");
this.editRefreshTitle = this.getAttribute("refreshTitle");
this.editAutoComplete = this.getAttribute("autocomplete");
this.editDirection = this.document.getElementsByTagName("html")[0].getAttribute("dir") || "ltr";
this.isDisabled = this.getAttribute("disabled","no");
this.isFileDropEnabled = this.getAttribute("fileDrop","no") === "yes";
// Get the default editor element tag and type