1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-01 18:38:02 +00:00

Update factory.js

This commit is contained in:
Simon Huber
2019-07-10 09:54:35 +02:00
committed by GitHub
parent 86286c6fce
commit 8aa6427d67

View File

@@ -248,6 +248,13 @@ function editTextWidgetFactory(toolbarEngine,nonToolbarEngine) {
}
};
/*
Cancel Popups
*/
EditTextWidget.prototype.cancelPopups = function() {
$tw.popup.cancel(0,this.engine.domNode);
};
/*
Handle a dom "keydown" event, which we'll bubble up to our container for the keyboard widgets benefit
*/