Json Chrome API IME不工作
我一直在尝试运行google的示例IME,但没有成功。问题是,它甚至没有执行。正如您在下面的代码中看到的,console.log应该至少给我一行反馈,而不是:Json Chrome API IME不工作,json,api,google-chrome,ime,Json,Api,Google Chrome,Ime,我一直在尝试运行google的示例IME,但没有成功。问题是,它甚至没有执行。正如您在下面的代码中看到的,console.log应该至少给我一行反馈,而不是: var context_id = -1; // Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in th
var context_id = -1;
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var ime_api = chrome.input.ime;
var context_id = -1;
console.log("Initializing IME"); //THIS LINE I EXPECT TO SEE, NO MATTER WHAT
这些是我正在使用的文件,如果你想阅读它们:
有什么想法吗?你的操作系统是什么?如果您使用的是Chrome操作系统,要启用输入法:
ctrl
+shift
切换输入法我想对于其他操作系统,也需要类似的“重启chrome”序列。首先,你需要运行chrome操作系统 第二,确保您将语言设置为英语(美国),并选择输入法“测试输入法”。然后重新启动chromebook(或任何计算机)