Commit 263b422d authored by Siong-Ui Te's avatar Siong-Ui Te

add velthuis scheme for inputting Pali words

parent 50dd9cbd
......@@ -105,6 +105,7 @@ lib_pali:
go get -u github.com/siongui/gopalilib/libfrontend/everyword
go get -u github.com/siongui/gopalilib/libfrontend/treeview
go get -u github.com/siongui/gopalilib/libfrontend/xslt
go get -u github.com/siongui/gopalilib/libfrontend/velthuis
lib_gtmpl:
@echo "\033[92mInstalling Go html/template with gettext support ...\033[0m"
......
......@@ -9,6 +9,7 @@ import (
"github.com/siongui/gopalilib/libfrontend"
"github.com/siongui/gopalilib/libfrontend/everyword"
"github.com/siongui/gopalilib/libfrontend/treeview"
"github.com/siongui/gopalilib/libfrontend/velthuis"
"github.com/siongui/gopalilib/libfrontend/xslt"
)
......@@ -67,6 +68,8 @@ func main() {
xslt.SetupXSLTProcessor(libfrontend.GetXslUrl())
SetupModal()
SetupMobileTreeviewToggle()
// Call velthuis before SetupModalInput (order of keyevent handler matters)
velthuis.BindPaliInputMethodToInputTextElementById("modal-input")
SetupModalInput("#modal-input")
HideIsLoadingWebsite()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment