backdrop-contrib / footnotes

Add automatically numbered footnotes to your content.
GNU General Public License v2.0
2 stars 2 forks source link

footnotes_wysiwyg: Add help text to value field in dialog #19

Closed olafgrabienski closed 5 years ago

olafgrabienski commented 5 years ago

In the CKEditor Insert footnote dialog, there are two fields: Footnote text and Footnote value. While Footnote text is quite self-explanatory, it may not be clear what Footnote value means. I suggest to add some help text to the field.

olafgrabienski commented 5 years ago

Information from the Drupal project page:

You can also use a "value" attribute to a) set the numbering to start from the given value, or b) to set an arbitrary text string as label. Ex:

[fn value="5"]This becomes footnote #5. Subsequent are #6, #7...[/fn] [fn value="*"]This footnote is assigned the label "*"[/fn]

Using value="" you can have multiple references to the same footnote in the text body.

[fn value="5"]This becomes footnote #5.[/fn] [fn value="5"]This is a reference to the same footnote #5, this text itself is discarded.[/fn]

olafgrabienski commented 5 years ago

Help text suggestion:

Leave empty to use automatic numbering. To start numbering from a specific value, enter a number. To use a custom footnote label, enter a text string. Example: *

Test if it's better to display the help text in three lines:

Leave empty to use automatic numbering. To start numbering from a specific value, enter a number. To use a custom footnote label, enter a text string. Example: *

olafgrabienski commented 5 years ago

I'll close this issue and make it part of issue #20 which is about several improvement of the dialog fields.