TiddlyWiki5/core/modules
Jeremy Ruston 62bb8affa4
Add data attribute support to button and other widgets (#7769)
* Add data attribute support to button widget

* Fix typo

* Refactor ready for making mechanism more generic

* Apply more generic implementation to multiplate widgets

* Refactor to use existing widget.assignAttributes() method

* Fix typo

* Clarify docs

* Update docs

* Update select widget to support style.* attributes

* Remove obsolete comment

* Fixes refresh issues for checkbox and links widgets for data attributes (#7846)

* fix: refresh issues with checkbox and links widgets

* fix: indenting

* Feat: add support for data attributes to Draggable and Droppable widgets (#7845)

* Docs clarification

* docs: add style and data attributes to Draggable and Droppable widget docs (#7850)

* Refactors Select widget to directly create DOM node (#7848)

* fix: refactored SelectWidget to directly create DOM nodes

* fix: refactored SelectWidget to directly create DOM nodes

* fix: improve refresh handling for select widget

* Fixes issues in the PR "Button widget data attributes" (#7852)

* fix: fixed ordered attributes handling and improved tests to catch event attributes

* fix: clean up code from testing

* fix: more tests and refactoring

* fix: use lowercase when checking for event attribute prefix

* fix: use lowercase when checking for event attribute prefix

* fix: changed comment wording

* fix: minor refactoring

* refactor: for brevity

---------

Co-authored-by: Saq Imtiaz <saq.imtiaz@gmail.com>
2023-11-22 20:05:40 +00:00
..
commands Add explodePlugins=yes option to savewikifolder command (#7490) 2023-06-29 15:40:35 +01:00
editor Fix typo in 7d8766d2b9 2023-09-13 18:06:30 +01:00
filterrunprefixes Add a `:then` filter run prefix (#7392) 2023-06-24 18:07:34 +01:00
filters Allow negative indexes in json operators (#7849) 2023-11-21 11:05:13 +00:00
indexers FieldIndexer performance: use `isShadowTiddler` instead of `allTitles` (#7299) 2023-02-27 17:32:20 +00:00
info style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
macros allow unusedtitle macro to use the prefix parameter and fix wiki.generateNewTitle() (#5361) 2021-05-02 19:26:50 +01:00
parsers Fixes Text Parser being impacted by overrides to codeblock widget (#7844) 2023-11-20 08:38:04 +00:00
savers Fix encodebase64 and decodebase64 filters (#7683) 2023-10-18 16:08:56 +01:00
server Feat: decode url-encoded user name in authenticate request header to allow CJK username in header (#7471) 2023-05-22 12:25:51 +01:00
startup Simplify Permalink/Permaview URLs (#7729) 2023-11-21 11:24:17 +00:00
storyviews Revert "Feat: destroy() method for widgets to do custom cleanup (#6699)" 2023-05-18 17:27:05 +01:00
upgraders Introduce JSON parse utility function with error handling (#6401) 2022-02-21 15:29:25 +00:00
utils Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
widgets Add data attribute support to button and other widgets (#7769) 2023-11-22 20:05:40 +00:00
commander.js style(App) eliminate whitespace at the end of code lines (#5735) 2021-05-30 19:20:17 +01:00
config.js Add dollar sign to HTML entities (#7323) 2023-03-03 21:34:30 +00:00
deserializers.js Introduce JSON parse utility function with error handling (#6401) 2022-02-21 15:29:25 +00:00
filters.js Refactor dependency on widget.getVariableInfo 2023-06-11 09:46:05 +01:00
keyboard.js Allow global keyboard shortcuts to override all other shortcuts by providing a special field (#6735) 2022-10-07 17:31:04 +01:00
language.js Make lazy loading message be translateable 2015-09-08 10:41:27 +01:00
pluginswitcher.js Introduce JSON parse utility function with error handling (#6401) 2022-02-21 15:29:25 +00:00
saver-handler.js Fix faulty external-js single-file wiki (#5570) 2021-07-06 15:02:21 +01:00
story.js Fix issues with creation and modification dates 2015-09-11 13:34:01 +01:00
syncer.js Lazy loading a tiddler should trigger a sync 2023-01-03 14:28:48 +00:00
tiddler.js Radio widget should use default if field/index is missing 2022-01-09 17:17:12 +00:00
wiki-bulkops.js Fix renaming a tiddler can result in duplicate tags 2022-01-14 16:57:30 +00:00
wiki.js Change separators to match doc (#7303) 2023-11-21 11:58:12 +00:00