/* following return values mark fired hints */
if (!strncmp(value, "DONE:", 5)) {
fire_timeout(false);
- /* Change to normal mode only if we are crrently in command mode and
+ /* Change to normal mode only if we are currently in command mode and
* we are not in g-mode hinting. This is required to not switch to
* normal mode when the hinting triggered a click that set focus on
* editable element that lead vimb to switch to input mode. */
<html>
<head>
-<title>iFrame URI change by HSTS (#146)</title>
+<title>Input mode Switching (#112 #237)</title>
<script type="text/javascript">
//<![CDATA[
function setFocus() {
<input type="button" value="Focus Textarea" onclick="document.getElementById('text').focus();"/>
</div>
</form>
+ <p>
+ Also the following element using <code>contenteditable="true"</code>
+ should switch vimb into input mode on click.
+ </p>
+ <div contenteditable="true" style="width:50%;height:3em;border:1px solid #000">
+ Clicking this element using contenteditable="true" should
+ switch vimb into input mode too.
+ </div>
</body>
</html>