if identical footnotes are combined .footnote_plugin_index = first | if not .footnote_index = or in first | in 3-column table diff --git a/css/settings.css b/css/settings.css index 918a7b8..6078fe0 100755 --- a/css/settings.css +++ b/css/settings.css @@ -5,9 +5,9 @@ * Created-Time: 16:21 * Since: 1.0 * - * Version: 2.2.10 + * Version: 2.3.0 * - * Last modified: 2020-12-25T2357+0100 + * Last modified: 2020-12-31T1026+0100 */ @@ -100,11 +100,14 @@ Limited to a number of IDs to not affect all dashboards width: 230px; } +#footnotes_inputfield_reference_container_top_margin, +#footnotes_inputfield_reference_container_bottom_margin, #footnotes_inputfield_backlinks_column_width_scalar, #footnotes_inputfield_backlinks_column_max_width_scalar, #footnotes_inputfield_mouse_over_box_font_size_scalar { width: 85px; } + #footnotes_inputfield_backlinks_column_width_unit, #footnotes_inputfield_backlinks_column_max_width_unit, #footnotes_inputfield_mouse_over_box_font_size_unit { diff --git a/footnotes.php b/footnotes.php index 4bc19f0..9e84d27 100755 --- a/footnotes.php +++ b/footnotes.php @@ -4,12 +4,12 @@ Plugin URI: https://wordpress.org/plugins/footnotes/ Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine. Author: Mark Cheret - Version: 2.2.10 + Version: 2.3.0 Author URI: http://cheret.de/plugins/footnotes-2/ Text Domain: footnotes Domain Path: /languages */ -define( 'FOOTNOTES_VERSION', '2.2.10' ); +define( 'FOOTNOTES_VERSION', '2.3.0' ); /* Copyright 2020 Mark Cheret (email: mark@cheret.de) diff --git a/readme.txt b/readme.txt index 0039ed5..500f32d 100755 --- a/readme.txt +++ b/readme.txt @@ -80,13 +80,24 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** == Changelog == += 2.3.0 = +- Add: optional hard links in referrers and backlinks for AMP compatibility, thanks to @psykonevro and @martinneumannat +- Bugfix: Reference container: convert top padding to margin and make it a setting, thanks to @hamshe +- Bugfix: Referrers and tooltips: disable box shadow to more effectively remove unwanted underline as bottom border, thanks to @klusik +- Bugfix: Dashboard: swap Custom CSS migration Boolean, meaning 'show legacy' instead of 'migration complete', due to storage data structure constraints +- Update: Dashboard: rename 'Priority level' tab as 'Scope and priority', to account for the new alternative depending on widget_text hook activation +- Bugfix: Referrers and tooltips: correct scope of the line height fix to only affect the referrers +- Bugfix: Referrers: extend clickable area to the full line height in sync with current pointer shape +- Bugfix: Referrers: extend scope of the underline inhibition to be more comprehensive and consistent +- Bugfix: Reference container: edits to optional basic responsive page layout style sheet + = 2.2.10 = - Bugfix: Reference container: add option for table borders to revert 2.0.0/2.0.1 change made on user request, thanks to @noobishh - Bugfix: Reference container: add missing container ID in function name in one of the four table row templates - Bugfix: Reference container, tooltips: URL wrap: support also file transfer protocol URLs = 2.2.9 = -- Bugfix: Reference containers, widget_text hook: support for multiple reference containers in a page, thanks to @justbecuz +- Bugfix: Reference container, widget_text hook: support for multiple reference containers in a page, thanks to @justbecuz - Update: Priority levels: set widget_text default to 98 and update its description in the dashboard Priority level tab - Bugfix: Reference container, tooltips: URL wrap: account for RFC 2396 allowed characters in parameter names - Bugfix: Reference container, tooltips: URL wrap: exclude URLs also where the equals sign is preceded by an entity or character reference diff --git a/templates/dashboard/customize-css-migration.html b/templates/dashboard/customize-css-migration.html index 4cc7a94..24c3830 100644 --- a/templates/dashboard/customize-css-migration.html +++ b/templates/dashboard/customize-css-migration.html @@ -8,8 +8,11 @@ | [[css]] |
[[label-migrated]] | -[[migrated]] [[notice-migrated]] | +[[label-show-legacy]] | +[[show-legacy]] [[notice-show-legacy]] |
[[description-show-legacy]]
+.footnote_referrer = enclosing <span> +
.footnote_referrer > a = optional <a> enclosing the <sup>
.footnote_plugin_tooltip_text = inner <sup>, not tooltip -
+
.footnote_tooltip = inner <span>
.footnote_tooltip_continue = nested <span> -
+
.footnotes_reference_container = enclosing <div>
.footnote_container_prepare = label <div>
.footnote_reference_container_label = <span>
.footnote_reference_container_collapse_button = sibling <span> +
.footnotes_table = <table> -
+
.footnotes_plugin_reference_row = <tr>
.footnote_plugin_index_combi = first <td> if identical footnotes are combined
.footnote_plugin_index = first <td> if not
.footnote_index = <a> or <span> in first <td> in 3-column table diff --git a/templates/dashboard/settings-reference-container.html b/templates/dashboard/settings-reference-container.html index 9233ad6..e2769ae 100644 --- a/templates/dashboard/settings-reference-container.html +++ b/templates/dashboard/settings-reference-container.html @@ -12,10 +12,6 @@