autopair.js
Dennis Hackethal updated discussion ‘autopair.js’.
The ‘About’ section changed as follows:
Issue tracker for the autopairing + typethrough package at https://github.com/dchacke/autopair.js
Issue tracker for the autopairing + typethrough package.
https://github.com/dchacke/autopair.js
https://www.npmjs.com/package/autopair
#4030·Dennis HackethalOP, 11 days agoWhen you wrap selected text, the selection should remain.
A regression (I believe) has broken this feature.
Fixed as of 830711a (1.2.5).
When you wrap selected text, the selection should remain.
A regression (I believe) has broken this feature.
#3975·Dennis HackethalOP, 13 days agoShould not autopair behind a word character.
Steps to reproduce:
- Type 'foo'.
- With the cursor behind the second 'o', hit single quote:
'.- The text now reads
foo''but should only readfoo'.After a non-word character (eg linebreak, period, colon, semicolon etc) though, it should still autopair.
Fixed as of bbcefa8.
Should not autopair behind a word character.
Steps to reproduce:
- Type 'foo'.
- With the cursor behind the second 'o', hit single quote:
'. - The text now reads
foo''but should only readfoo'.
After a non-word character (eg linebreak, period, colon, semicolon etc) though, it should still autopair.
Undo/redo stack should preserve cursor position.
Steps to reproduce:
- Start with empty textarea.
- Type '('.
- Cursor is now inside '(|)'.
- Hit undo.
- Hit redo.
- Cursor is now behind '()|' but should be inside like in step 3.
Issue tracker for the autopairing + typethrough package at https://github.com/dchacke/autopair.js