Simon Huber
17a36726fa
Fields EditTemplate: Correct positioning of dropdown ( #4687 )
...
* Add wrapper div to fields EditTemplate
* Add classes
* remove obsolete span
* Update base.tid
2020-06-11 12:18:31 +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
18151cc193
Make "type" input look consistent with "fields" input ( #4358 )
...
* add class tc-edit-texteditor to type field, trim ...
... whitespace, make look consistent
* define width 20% for type input field
* add second nbsp; for consistency with type input
2020-01-30 15:39:38 +00:00
Simon Huber
1cf2d0799d
Fix field-name input ( #4322 )
2019-10-14 14:54:47 +01:00
Simon Huber
3c365a2567
EditTemplate optimizations ( #4104 )
...
#4093 and #4100 are bundled in this PR
* qualified state-tiddlers for the tags input and fieldname + fieldvalue inputs
* newTagName, newFieldNameTiddler and newFieldValueTiddler variables defined in EditTemplate (all qualified through `qualify` macro)
* save-tiddler-actions macro in the EditTemplate (reused by the save-tiddler button)
* enter (configurable) in the fieldvalue field adds the field and sets focus to the next fieldname input
Edit:
* storyview="pop" for fields list
2019-10-14 14:31:57 +01:00
Simon Huber
45def4def4
Fix focus in fields editTemplate ( #4321 )
...
the focus was set to the wrong field
2019-10-14 13:57:45 +01:00
Simon Huber
bfa3ddd077
Add two missing tooltips: add-tag button and add-field button ( #4306 )
...
* add tooltip to field add button
* Update EditTemplate.multids
* Update EditTemplate.multids
* add tooltip to tag-picker add button
2019-10-12 14:10:06 +01:00
Simon Huber
66b68f4a58
Allow configuration of default focus field of new tiddlers ( #4238 )
...
* add editFocus attribute to edit widget
* add focus condition to title editTemplate
* add focus condition to body-editor editTemplate
* add focus attribute to type editTemplate
* add focus attribute to fields editTemplate
* add focus attribute to tag-picker
* add $:/config/AutoFocus tiddler
... default focus is title
* Update Basics.tid
* Update ControlPanel.multids
* Create minifocusswitcher.tid
* Update minifocusswitcher.tid
* Update Basics.tid
* Update body-editor.tid
2019-10-12 12:04:10 +01:00
Simon Huber
00fb4190f2
Fix whitespace around fields inputs (II) ( #4240 )
2019-09-09 14:17:32 +01:00
Simon Huber
1873785ef6
Fix whitespace around field inputs ( #4227 )
2019-09-02 18:07:45 +01:00
Simon Huber
4ef9ccbab9
Fix bug with wikitext in fieldnames #4218
2019-08-30 10:44:23 +01:00
Simon Huber
62a7fa4203
Pop storyview for fields list in EditTemplate ( #4148 )
2019-08-02 15:05:30 +01:00
Simon Huber
638eb53429
Add tabindex attributes to edit templates ( #3758 )
...
* add tabindex attribute to editor-body edit-template
* add tabindex attr to fields edit-template
* add tabIndex variable to tags edit-template
* add tabindex attr to title edit-template
* add tabindex attr to type edit-template
* add tabindex attr to canonical-uri input
* add tabindex attr (as variable tabIndex) to tag-picker macro
2019-03-02 19:04:27 +01:00
Jermolene
a83cd3f984
Change logic of tv-hide-missing-links to tv-show-missing-links
...
See https://github.com/Jermolene/TiddlyWiki5/pull/3530#issuecomment-441368922
2018-11-24 15:53:39 +00:00
BurningTreeC
3f91d5b3a1
Add tv-override-missing-links to fix links to missing tiddlers ( #3530 )
...
* add tv-override-missing-links variable
this lets us set `tv-override-missing-links` true so that we can fix edge cases like the `Filter` dropdown in the `Advanced Search` when `enable missing links` is unchecked in the `Settings` tab of the Control Panel
* add tv-override-missing-links to filter dropdown
* add tv-override-missing-links to type dropdown
* add tv-override-missing-links to fieldname dropd
* add tv-override-missing-links to TagManager(icons)
* undo tv-override-missing-links TagManager
not needed here
* Update link.js
* Update dropdown.tid
* Update fields.tid
* Update type.tid
* Update dropdown.tid
* Update link.js
* simplify all together
* add tv-hide-missing-links to pagetemplate
* do we need to refresh here...
... if the variable gets set on top of the pagetemplate?
2018-11-24 13:36:48 +00:00
Tobias Beer
f26bcb273b
Fix new field value handling in edit template ( #3048 )
...
prevents variables in the value from being replaced when adding a new field
2018-04-24 22:03:59 +01:00
Tobias Beer
d038e0bc1b
Filter titles in new fieldname popup by entered string ( #2585 )
2016-10-08 12:18:19 +01:00
Jermolene
31ebbb2d7d
Add translatable strings for type dropdown
2015-07-01 15:58:49 +01:00
Jeremy Ruston
062aa03c5a
Merge pull request #1849 from Infurnoape/master
...
Update fields.tid
2015-07-01 15:40:25 +01:00
Andrew J Harrison
7ad15bc248
Update fields.tid
...
Add a new field drop down
2015-06-29 10:45:41 -07:00
Jermolene
3e1b84064a
Improved fix for illegal field name problem
...
Better fix for the problem identified in 9b4b9d4
2015-05-18 22:16:04 +01:00
Jermolene
5a6249894d
Fix problem with field names containing special characters
...
The characters `> / ' " =` were causing problems.
Thanks @ericshulman
2015-05-18 19:29:10 +01:00
Jermolene
f3ed9bf7e4
Fix problem with double quotes in new field value
...
Fixes #1634
2015-04-03 09:06:57 +01:00
Jermolene
2689e2861b
Revert to using fieldmangler for adding fields
...
In 5.1.5 we switched to using `<$action-setfield>` instead of
`<$fieldmangler>`. The problem was that in the process we lost the
validation of field names, making it possible to create fields with
illegal names
Fixes #1186
2014-12-04 09:39:14 +00:00
Jermolene
09a3f94d79
Accessibility fixes
...
Fixes for accessibility issues raised here:
https://groups.google.com/d/topic/tiddlywiki/C6lSabtpdEI/discussion
2014-11-07 21:15:21 +00:00
Jermolene
92f69d44bf
Use action-deletefield widget in edit template fields editor
...
On the way to deprecating the field mangler widget
2014-11-06 18:32:11 +00:00
Jermolene
da1f9f7d22
Add input box for new field value to edit template
2014-11-06 18:24:33 +00:00
Jermolene
2f69ea362c
Rename "tw-*" messages to "tm-*"
2014-08-28 21:43:44 +01:00
Jermolene
1814d502a4
Convert more "tw-*" classes to "tc-*"
2014-08-28 18:47:21 +01:00
Jermolene
d0cbd34bf9
Rename "btn-invisible" class to "tc-btn-invisible"
...
Part of #764
2014-08-28 17:28:32 +01:00
Jermolene
be8c753f28
Fix formatting of edit fields
2014-08-10 09:13:56 +01:00
Jermolene
d357e1706c
Allow visible edit fields to be configured
...
Create a tiddler “$:/config/EditTemplateFields/Visibility/fieldname”
with the text “hide” to hide a particular field
2014-08-01 17:03:53 +01:00
nameanyone
157ca0c8aa
Rename $:/temp/NewFieldName to $:/temp/newfieldname
...
As per "Naming of System Tiddlers"
2014-05-15 22:54:46 -07:00
Jermolene
f08c4aa525
Arrange fields alphabetically in the edit template
2014-04-09 11:31:27 +01:00
Jermolene
597b8ca4b1
Ensure fieldnames are not wikified
...
`__proto__` was being wikified into underlined text
2014-04-06 22:49:59 +01:00
Jermolene
b7f674c51a
First pass at refactoring filter execution
...
This is the beginning of addressing #523 .
2014-04-03 20:49:16 +01:00
Jermolene
4ee277f41b
Fix some missing translateables
2014-02-21 14:27:49 +00:00
Jermolene
e051eb7d90
Making more things translateable
...
Now we’re done with the text that lives in tiddlers, and we’ll need to
get on with the text that is embedded in code modules.
2014-02-16 09:46:43 +00:00
Jermolene
dbd63e6fe7
Move some system tiddlers into the right name space
...
The tiddlers temporarily used for adding new fields and tags should be
in the $:/temp namespace so that they don’t dirty the store
2014-02-06 22:20:58 +00:00
Stephan Hradek
46892371cb
fixed issue#232
2013-12-28 17:46:53 +01:00
Jermolene
7658789971
Style tweaks for the edit template
2013-11-18 09:00:00 +00:00
Jermolene
da4cdf2d3b
Refactor edit template to be driven by $:/tags/EditTemplate
tag
2013-11-15 22:55:32 +00:00