1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Update readme.tid (#6883)

This commit is contained in:
Guang Li 2022-08-05 22:59:53 +08:00 committed by GitHub
parent 3fd2cfc339
commit 90d6a0f1a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,11 +108,11 @@ The selection tracker triggers an action string whenever the browser text select
The selection tracker works within DOM subtrees that have the following structure:
* The outer wrapper element has the attribute `data-selection-action-title` containing the title of the tiddler containing the action string to be invoked when the selection changes
* The outer wrapper element has the attribute `data-selection-actions-title` containing the title of the tiddler containing the action string to be invoked when the selection changes
* Each child element of the outer element must have a unique `id` attribute to identify it
```
<div data-selection-action-title="{tiddler title}">
<div data-selection-actions-title="{tiddler title}">
<div id="{title}">
Content text
</div>