-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 2.0 #559
Comments
Love the idea of plain js! |
In terms of plain js, do you mean you'd just traverse and manipulate the DOM using some modern browser baseline? Or would you split out the project into plain javascript objects (like a lib) and then have bindings to jquery or react? Even if you didn't tackle the bindings bits, having a library would make creating a |
Hi @squarism! I was actually thinking to build it as a library that can be used just like that... then I, with help, could build adapters for other libraries. |
Good Day ! ! ! I'm trying to use your library in a React but I'm having some difficulty in using the example as reference because it uses gives a Jquery example do you have React Examples ? |
I am planning on rewriting this plugin in plain JS or React. The following list are changes that are being planned. Please feel free to comment:
Remove
beforeVisible
orvisible
callback to position it.position
option - see above.customLayout
option; Thelayout
option will accept the custom layout instead.'{accept} {space} {cancel}'
row from every language layout - we'll use theaddRow
method to add these instead (described below).Change/Fix
Improved deadkey support. Allow various input methods:
'
+a
becomesá
) - only if a key is active? - see Deadkeys (combos) don't work properly. #79.Better support, demo and documentation for use with Codemirror - see Question: possible to use with codemirror, ace, etc? #306 & Codemirror and keyboard #551.
Better support, demo and documentation for use with Ace editor - see Question: possible to use with codemirror, ace, etc? #306.
Better support, demo and documentation for plugins like select2, chosen, selectator and selectize.js - see problem with select2 boxes #349 & keyboard special Key to call "chosen" with jquey data #464.
Find a way to override the
Alt
key in Windows to allow switching keysets.Use
tabindex
properly when switching inputs - see Option to keep select, checkboxes, .. in taborder #472.Set
display
option to allow modifying the text of any key - see Replace label on key #555.Split keyboard layouts, similar to the extender extension, but add to different containers like a split physical keyboard.
Expand keyaction definitions. Possible syntax:
Add internal methods to change key/keyactions to auto-suggest characters (e.g. suggest Pinyin characters based on input - see pinyin support? #322).
Rename
tabNavigation
totabBehavior
and give it 3 options (see Pressing Tab button inserts indentation in textarea. How to prevent it? #692):Add
Support for contenteditable elements - see Bind to DOM elements other than textarea and input. #208 & Keyboard not working with editable tables (contenteditable="true") #540.
Support for input masks - new, or integrate an existing masker? see bad conflict with maskedinput #89 & Input Mask Integration #201.
Allow initialization on the document & use a delegated binding on input/textarea - see Can it initialise globally? #558.
Better support, demo and documentation for use with Mathquill - see Mathquill for input area #423.
Wrap each row with a div to support row styling (e.g. row spacing).
Physical keyboard shortcuts?
Add layout & language selector to keyboard popup - see language pull down inside keyboard and dynamically loading script #110, Set language #355 & Can you add a keyboard layout change feature like this one? #532:
Add a customizable tool bar:
Add a key:
Allows adding a key or action key to any layout without having to copy/paste a current layout and making it "custom".
Possible syntax:
Add a row:
Allows adding a row of keys to any layout without having to copy/paste a current layout and making it "custom".
Possible syntax:
Replace a row
Allows replacing an existing row of keys in any layout without having to copy/paste a current layout and making it "custom".
Similar to javascript
.replace()
and allow using regular expressions to match a row.Possible syntax:
Remove a button from a defined layout
tab: false
orignore: ['tab', 'lock']
The text was updated successfully, but these errors were encountered: