1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-18 08:15:15 +00:00

Fix text editor for Internet Explorer

By switching from text events to execCommand.
This commit is contained in:
Jermolene
2016-04-30 14:36:53 +01:00
parent 3bd5d49933
commit 1515fd42ed
2 changed files with 16 additions and 20 deletions

View File

@@ -27,6 +27,7 @@ exports.startup = function() {
// Minimal browser detection
if($tw.browser) {
$tw.browser.isIE = (/msie|trident/i.test(navigator.userAgent));
$tw.browser.isFirefox = !!document.mozFullScreenEnabled;
}
// Platform detection
$tw.platform = {};