Jeremy Ruston
2271f6885a
Add focusSelectFromStart/focusSelectFromEnd attributes to <$edit-text> widget ( #7222 )
...
* Initial commit
* WIP
* Align implementation with @yaisog's suggestion
See https://github.com/Jermolene/TiddlyWiki5/pull/7222#issuecomment-1410194593
* Commit missing from 3262b8d77d
Thanks @pmario
* Fix version number
Thanks @yaisog
* Add two examples for text selection (#7286 )
---------
Co-authored-by: yaisog <m@rcuswinter.de>
2023-02-25 18:25:46 +00:00
Saq Imtiaz
b5c81d2721
Provide actionValue variable to actions fired by EditTextWidget ( #6145 )
...
* feat: provide actionValue variable to actions fired by EditTextWidget
* also extend CodeMirror engine to set actionValue variable when invoking actions
2021-10-28 19:15:50 +01:00
jeremy@jermolene.com
2720072b23
Text editor: fix crash when assigning new value to file input controls
...
Fixes #5911
2021-07-30 16:31:42 +01:00
jeremy@jermolene.com
3406b98af6
Add "autocomplete" attribute to <$edit> and <$edit-text> widgets
2020-11-30 18:48:04 +00:00
saqimtiaz
09f7ad84b2
Added disabled attribute to input widgets ( #5014 )
...
* checkbox widget: added disabled attribute
* Range widget: added disabled attribute
* Radio widget: added disabled attribute
* EditText widget: added disabled attribute
2020-11-09 18:28:12 +00:00
Simon Huber
0d2df34c58
Keyboard-driven dropdown inputs ( #4725 )
...
* Add shortcut descriptions to Misc.multids
* Update framed.js
* Update simple.js
* Add inputActions and refreshTitle to factory.js
* Add inputActions and refreshTitle to edit.js
* Update DefaultSearchResultList.tid
* Update search.tid
* Update ShortcutInfo.multids
* Update shortcuts.multids
* Create keyboard-driven-input.tid
* Update tag-picker.tid
* Create keyboard-driven-input_Macro.tid
* Update EditTextWidget.tid
* Update EditWidget.tid
* Update engine.js
* Update base.tid
* Use primaryListFilter, secondaryListFilter, primaryList and secondaryList
* Update tag-picker.tid
* Update search.tid
* Update DefaultSearchResultList.tid
* Update keyboard-driven-input_Macro.tid
* Fix typo udpate -> update
* Update framed.js
2020-07-13 17:42:55 +01:00
Simon Huber
e59f606566
Cancel popups when clicking within an editor ( #4658 )
...
* Add cancelPopups attribute to edit widget
* Add cancelPopups attribute to factory.js
* Cancel popups in editor/simple.js
* Cancel popups on focus in engines/framed.js
* Cancel popups on focus in CodeMirror engine
* Add cancelPopups="yes" to tag-picker
* Add cancelPopups="yes" to sidebar search
* Add cancelPopups="yes" to editor
* Add cancelPopups="yes" to fields EditTemplate
* Update body.tid
* Add cancelPopups="yes" to title EditTemplate
* Add cancelPopups="yes" to type EditTemplate
* Update EditTextWidget.tid
* Update EditWidget.tid
* Add cancelPopups="yes" to menubar plugin search
* Update tag-picker.tid
* Update tags.tid
2020-06-11 11:41:35 +01:00
Simon Huber
39d532a4a0
Revert "Make input fields dismiss their popups when the ... ( #4579 )" ( #4586 )
...
This reverts commit 4efcad46f3
.
2020-04-20 19:26:54 +01:00
Simon Huber
4efcad46f3
Make input fields dismiss their popups when the ... ( #4579 )
...
* Make input fields dismiss their popups when the ...
... fields loose focus (`blur`)
* Update simple.js
2020-04-20 15:49:30 +01:00
Jeremy Ruston
a6f6db40d9
Revert "Fix test for needing to update text editor DOM"
...
This reverts commit a65ec87c53
.
2020-03-15 14:23:10 +00:00
Jeremy Ruston
a65ec87c53
Fix test for needing to update text editor DOM
...
Checking the active element is clumsy, and interferes with debugging. Checking the content is clearer, and avoids the Firefox bug.
Fixes #4472
2020-03-07 14:00:46 +00:00
Simon Huber
d01b781283
Restore previous popup mechanism (no cancelling when focusing inputs) ( #4305 )
...
* remove cancelpopups from factory.js
* remove handleFocusEvent from framed engine
* remove cancelPopups from simple engine
* Update popup.js
2019-10-12 14:08:52 +01:00
Simon Huber
c647b42574
Update simple.js
2019-07-10 09:56:34 +02:00
Simon Huber
f97d18bb6e
Adding optional tabindex attr to simple, framed and cm engines ( #3756 )
...
* add optional tabindex attribute to factory.js
* add changedAttributes.tabindex to refresh mechanic
* add optional tabindex attribute to edit widget
* remove some extra whitespace
* remove some trailing whitespace
* add optional tabindex attribute to simple engine
* add optional tabindex attribute to framed engine
* add optional tabindex attribute to cm engine
2019-02-08 16:11:39 +00:00
Tobias Beer
d4db283d61
Refresh simple editor when empty text, e.g. hitting ENTER ( #2702 )
...
fixes #2592 , missing bit of deleting the field for adding a new tag in
edit-mode
also fix for:
https://groups.google.com/forum/?fromgroups=#!topic/tiddlywiki/L6Z7gSvBWjw
2017-01-09 10:31:40 +00:00
Jermolene
01eb45946c
Fix problem with IE11
...
It turns out that IE11 has a horrible bug whereby setting the
placeholder attribute before setting the text will trigger an input
event:
https://social.msdn.microsoft.com/Forums/ie/en-US/ae4832b0-8eee-4729-b93
3-a9977ea1b583/internet-explorer-input-event-get-fired-when-settingunset
ting-the-placeholder?forum=iewebdevelopment
2016-05-01 18:17:28 +01:00
Jermolene
6dce8d9763
Remove final vestiges of undo/redo buttons
2016-05-01 13:54:16 +01:00
Jermolene
3b49cd17fc
Fixes from @Infurnoape
2016-04-23 17:23:14 +01:00
Jeremy Ruston
2adf09129d
Introduce text editor toolbar ( #2315 )
...
Tada!
2016-04-22 08:36:29 +01:00